1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/include/llvm
Justin Lebar c7b51dd8b5 [ADT] static_assert that SmallDenseMap is instantiated with a power-of-two number of inline buckets.
Summary:
If you try to instantiate it with a non-power-of-two buckets, DenseMap
will assert at runtime (!) if we ever outgrow our inline storage.

I believe using a constexpr function inside of a static_assert is safe
now that we've unsupported MSVC 2013 and GCC < 4.8.

Reviewers: bkramer, qcolombet, escha

Subscribers: llvm-commits

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

llvm-svn: 284985
2016-10-24 16:06:53 +00:00
..
ADT [ADT] static_assert that SmallDenseMap is instantiated with a power-of-two number of inline buckets. 2016-10-24 16:06:53 +00:00
Analysis Fix map insertion that is elided in release build. 2016-10-21 23:30:39 +00:00
AsmParser
Bitcode Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
CodeGen Remove LLVM_CONSTEXPR. 2016-10-23 19:39:16 +00:00
Config Split a comment into generic description and note about the specific 2016-10-01 08:05:50 +00:00
DebugInfo [pdb] added support for dumping globals stream 2016-10-21 19:43:19 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
ExecutionEngine Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
IR [AVX-512] Remove masked pmin/pmax intrinsics and autoupgrade to native IR. 2016-10-24 04:04:16 +00:00
IRReader
LibDriver
LineEditor
Linker [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
LTO Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
MC [MC] Fix Various End Of Line Comment checkings 2016-10-24 14:35:29 +00:00
Object [Object] Replace TimeValue with std::chrono 2016-10-24 13:38:27 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes [PM] Significantly refactor the pass pipeline parsing to be easier to 2016-08-03 03:21:41 +00:00
ProfileData Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
Support AArch64 ILP32 relocations for assembly and ELF 2016-10-24 13:37:13 +00:00
TableGen
Target [Target] remove TargetRecip class; 2nd try 2016-10-20 16:55:45 +00:00
Transforms Revert 284971. 2016-10-24 14:52:04 +00:00
CMakeLists.txt
InitializePasses.h [StripGCRelocates] New pass to remove gc.relocates added by RS4GC 2016-10-21 18:43:16 +00:00
LinkAllIR.h Remove unused #includes of TimeValue.h. NFC. 2016-10-24 14:00:26 +00:00
LinkAllPasses.h Conditionally eliminate library calls where the result value is not used 2016-10-18 21:36:27 +00:00
module.modulemap [modules] Re-enable some previously excluded files. 2016-09-13 14:41:35 +00:00
module.modulemap.build
Pass.h Use StringRef in Pass/PassManager APIs (NFC) 2016-10-01 02:56:57 +00:00
PassAnalysisSupport.h
PassInfo.h Use StringRef in Pass Info/Support API (NFC) 2016-10-01 04:03:30 +00:00
PassRegistry.h
PassSupport.h Use StringRef in Pass Info/Support API (NFC) 2016-10-01 04:03:30 +00:00