llvm/lib/VMCore
Chris Lattner b065b06c12 Revamp the "ConstantStruct::get" methods. Previously, these were scattered
all over the place in different styles and variants.  Standardize on two
preferred entrypoints: one that takes a StructType and ArrayRef, and one that
takes StructType and varargs.

In cases where there isn't a struct type convenient, we now add a
ConstantStruct::getAnon method (whose name will make more sense after a few
more patches land).  

It would be "really really nice" if the ConstantStruct::get and 
ConstantVector::get methods didn't make temporary std::vectors.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133412 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-20 04:01:31 +00:00
..
AsmWriter.cpp now that Type::getDescription() is dead, the TypePrinting class can move from Assembly/Writer.h to being 2011-06-18 21:23:04 +00:00
Attributes.cpp Add a new function attribute, nonlazybind, which inhibits lazy-loading 2011-06-15 20:36:13 +00:00
AutoUpgrade.cpp rework the remaining autoupgrade logic to use a StringRef instead of creating a 2011-06-18 18:56:39 +00:00
BasicBlock.cpp Revert r129235 pending a vetting of the EH rewrite. 2011-04-10 23:18:04 +00:00
CMakeLists.txt remove StandardPasses, it has been replaced with PassManagerBuilder 2011-05-22 00:30:45 +00:00
ConstantFold.cpp Revamp the "ConstantStruct::get" methods. Previously, these were scattered 2011-06-20 04:01:31 +00:00
ConstantFold.h
Constants.cpp Revamp the "ConstantStruct::get" methods. Previously, these were scattered 2011-06-20 04:01:31 +00:00
ConstantsContext.h PR9214: Convert ConstantExpr::getIndices() to return an ArrayRef, plus 2011-04-13 15:22:40 +00:00
Core.cpp Revamp the "ConstantStruct::get" methods. Previously, these were scattered 2011-06-20 04:01:31 +00:00
DebugInfoProbe.cpp Clear list of instructions without DebugLoc. 2011-05-23 17:34:18 +00:00
DebugLoc.cpp PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
Dominators.cpp Spruce up the error output. 2011-03-29 04:28:26 +00:00
Function.cpp Fix typo in comment. 2011-06-17 13:36:06 +00:00
Globals.cpp
GVMaterializer.cpp
InlineAsm.cpp Another possible bug. Stopgap until we can autogenerate tables and 2011-06-03 22:09:12 +00:00
Instruction.cpp
Instructions.cpp Now that SrcBits and DestBits always represent the primitive size, rather 2011-05-18 10:59:25 +00:00
IntrinsicInst.cpp
IRBuilder.cpp Add CreateLifetimeStart and CreateLifetimeEnd to the IRBuilder, with plans to 2011-05-21 23:14:36 +00:00
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h eliminate the Type::getDescription() method, using "<<" instead. This 2011-06-18 21:18:23 +00:00
Makefile
Metadata.cpp PR9214: Convert Metadata API to use ArrayRef. 2011-04-21 19:59:31 +00:00
Module.cpp
Pass.cpp
PassManager.cpp Basic PassManager diagnostics. 2011-06-03 00:48:58 +00:00
PassRegistry.cpp Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp fix the varargs version of StructType::get to not require an LLVMContext, making usage 2011-06-18 22:48:56 +00:00
TypesContext.h Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
TypeSymbolTable.cpp eliminate the Type::getDescription() method, using "<<" instead. This 2011-06-18 21:18:23 +00:00
Use.cpp
User.cpp
Value.cpp
ValueSymbolTable.cpp eliminate the Type::getDescription() method, using "<<" instead. This 2011-06-18 21:18:23 +00:00
ValueTypes.cpp
Verifier.cpp Add a minor missing -verify check. Found by inspection. 2011-05-31 20:12:07 +00:00