1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests
Teresa Johnson 6b1749d39a Add interface for querying physical hardware concurrency
Summary:
This will be used by ThinLTO to set the amount of backend
parallelism, which performs better when restricted to the number
of physical cores (on X86 at least, where getHostNumPhysicalCores is
currently defined). If not available this falls back to
thread::hardware_concurrency.

Note I didn't add to the thread class since that is a typedef to
std::thread where available.

Reviewers: mehdi_amini

Subscribers: beanz, llvm-commits, mgorny

Differential Revision: https://reviews.llvm.org/D25585

llvm-svn: 284180
2016-10-14 00:13:59 +00:00
..
ADT Revert "[ADT] Zip range adapter" 2016-10-12 19:54:08 +00:00
Analysis [LCG] Add the necessary functionality to the LazyCallGraph to support inlining. 2016-10-12 07:59:56 +00:00
AsmParser
Bitcode
CodeGen GlobalISel: fix misuse of using declaration in test. 2016-10-06 13:57:31 +00:00
DebugInfo [pdb] Fix unit test compilation. 2016-09-14 23:17:08 +00:00
ExecutionEngine [ORC] Fix the RPC unit test for header changes in r281171. 2016-09-11 19:12:19 +00:00
IR Avoid unnecessary constexpr to appease MSVC 2013 2016-10-11 18:35:13 +00:00
LineEditor
Linker Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
MC Misc improvements to StringTableBuilder. 2016-10-04 22:43:25 +00:00
MI CodeGen: Remove MachineFunctionAnalysis => Enable (Machine)ModulePasses 2016-08-24 01:52:46 +00:00
ObjectYAML
Option
ProfileData [unittests] Remove a redundant test fixture (NFC) 2016-10-13 17:22:44 +00:00
Support Add interface for querying physical hardware concurrency 2016-10-14 00:13:59 +00:00
Target Remove a FIXME that I forgot about. NFC. 2016-10-13 05:28:55 +00:00
Transforms [MSSA] Allow unittests to use BasicAA when building. 2016-10-03 23:12:35 +00:00
CMakeLists.txt Add AArch64 unit tests 2016-10-12 09:00:44 +00:00