llvm-project/llvm/include/llvm
Justin Bogner b2ecee9c31 SelectionDAG: Use correctly sized allocation functions for SDNodes
The placement new calls here were all calling the allocation function
in RecyclingAllocator/Recycler for SDNode, instead of the function for
the specific subclass we were constructing.

Since this particular allocator always overallocates it more or less
worked, but would hide what we're actually doing from any memory
tools. Also, if you tried to change this allocator so something like a
BumpPtrAllocator or MallocAllocator, the compiler would crash horribly
all the time.

Part of llvm.org/PR26808.

llvm-svn: 262500
2016-03-02 19:01:11 +00:00
..
ADT Revert "CodeGen: MachineInstr::getIterator() => getInstrIterator(), NFC" 2016-02-22 20:49:58 +00:00
Analysis [AA] Hoist the logic to reformulate various AA queries in terms of other 2016-03-02 15:56:53 +00:00
AsmParser AsmParser: Save and restore the parsing state for types using SlotMapping. 2015-08-21 21:32:39 +00:00
Bitcode Bitcode reader: replace DecodeChar6() with a lookup table (NFC) 2016-02-10 22:47:48 +00:00
CodeGen SelectionDAG: Use correctly sized allocation functions for SDNodes 2016-03-02 19:01:11 +00:00
Config Remove references to *.h.in files and some autoconf hackery 2016-01-30 04:15:33 +00:00
DebugInfo [DebugInfoPDB] Add source / line number accessors for PDB. 2016-02-18 18:47:29 +00:00
ExecutionEngine [Orc] Add stack-realignment code to the i386 resolver function. 2016-02-21 22:50:26 +00:00
IR [LLVM][AVX512]PSRAWI Change imm8 to int. 2016-03-02 12:05:07 +00:00
IRReader [ThinLTO] Metadata linking for imported functions 2015-12-17 17:14:09 +00:00
LTO [LTO] Fix error reporting from lto_module_create_in_local_context() 2016-03-01 13:13:49 +00:00
LibDriver LibDriver: Replace references to lld-link2 with lld-link. 2015-08-06 19:00:42 +00:00
LineEditor Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Linker Pass a std::unique_ptr to IRMover::move. 2016-02-16 18:50:12 +00:00
MC Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Object [lanai] Add ELF enum value and relocations. 2016-03-01 21:21:42 +00:00
ObjectYAML Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Option Convert Arg, ArgList, and Option to dump() to dbgs() rather than errs(). 2015-12-18 18:55:26 +00:00
Passes [PM] Wire up optimization levels and default pipeline construction APIs 2016-02-28 22:16:03 +00:00
ProfileData Fix some warnings a bit harder/different 2016-03-01 20:41:17 +00:00
Support [lanai] Add ELF enum value and relocations. 2016-03-01 21:21:42 +00:00
TableGen Minor performance tweaks to llvm-tblgen (and a few that might be a good idea) 2016-02-03 19:34:28 +00:00
Target TableGen: Check scheduling models for completeness 2016-03-01 20:03:21 +00:00
Transforms Perform InstructioinCombiningPass before SampleProfile pass. 2016-03-01 22:53:02 +00:00
CMakeLists.txt
InitializePasses.h Introduce DominanceFrontierAnalysis to the new PassManager to compute DominanceFrontier. NFC 2016-02-25 17:54:15 +00:00
LinkAllIR.h
LinkAllPasses.h [AA] Hoist the logic to reformulate various AA queries in terms of other 2016-03-02 15:56:53 +00:00
Pass.h Recommit r256952 "Filtering IR printing for print-after-all/print-before-all" 2016-01-06 22:55:03 +00:00
PassAnalysisSupport.h [PassManager] Tuning Memory Usage of AnalysisUsage 2015-12-08 00:10:56 +00:00
PassInfo.h Reformat partially. 2015-10-05 04:46:30 +00:00
PassRegistry.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
PassSupport.h Support: Clean up TSan annotations. 2015-08-18 22:31:24 +00:00
module.modulemap Fix the LLVM_ENABLE_MODULES build after adding TargetOpcodes.def in r259726. 2016-02-09 01:35:45 +00:00
module.modulemap.build