llvm-mirror/lib/VMCore
Dan Gohman 4af3f9b57d Allocate the basic types inside the LLVMContextImpl instance,
rather than separately with new. Move the members above the
TypeMap members to avoid destruction order issues. This fixes
a leak of these objects, and eliminates an extra level of
indirection in Type::getInt32Ty and friends.

llvm-svn: 79997
2009-08-25 16:00:35 +00:00
..
AsmWriter.cpp eliminate the std::ostream form of WriteAsOperand and update clients. 2009-08-23 05:17:37 +00:00
Attributes.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
AutoUpgrade.cpp Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. 2009-08-25 05:24:07 +00:00
BasicBlock.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
CMakeLists.txt Update CMakeLists. 2009-08-04 23:02:53 +00:00
ConstantFold.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ConstantFold.h Make LLVMContext and LLVMContextImpl classes instead of structs. 2009-08-11 17:45:13 +00:00
Constants.cpp switch a couple things off std::ostream 2009-08-23 04:02:03 +00:00
ConstantsContext.h remove some DOUTs 2009-08-23 04:44:11 +00:00
Core.cpp Expose creating constant ints and floats from strings in llvm-c. 2009-08-16 23:36:46 +00:00
Dominators.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
Function.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
Globals.cpp Move types back to the 2.5 API. 2009-07-29 22:17:13 +00:00
InlineAsm.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
Instruction.cpp Replace isTrapping with a new, similar method called 2009-07-17 04:28:42 +00:00
Instructions.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
IntrinsicInst.cpp
LeakDetector.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
LeaksContext.h switch from std::ostream to raw ostream, fix file header. 2009-08-23 03:56:06 +00:00
LLVMContext.cpp Actually privatize a IntegerTypes, and fix a few bugs exposed by this. 2009-08-13 23:27:32 +00:00
LLVMContextImpl.h Allocate the basic types inside the LLVMContextImpl instance, 2009-08-25 16:00:35 +00:00
Makefile
Mangler.cpp Add prefix only if it is needed. 2009-08-17 23:17:17 +00:00
Metadata.cpp Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. 2009-08-25 05:24:07 +00:00
Module.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ModuleProvider.cpp
Pass.cpp Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
PassManager.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp Allocate the basic types inside the LLVMContextImpl instance, 2009-08-25 16:00:35 +00:00
TypesContext.h remove some DOUTs 2009-08-23 04:44:11 +00:00
TypeSymbolTable.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
Use.cpp
Value.cpp Add a fast path for setName("") on an unnamed value. 2009-08-19 23:37:23 +00:00
ValueSymbolTable.cpp remove some DOUTs 2009-08-23 04:44:11 +00:00
ValueTypes.cpp Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. 2009-08-25 05:24:07 +00:00
Verifier.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00