llvm/lib/VMCore
Chris Lattner 071aade5f0 Document and fix Constant::getVectorElements to return an empty vector
when presented with a constant expr.

If ConstantExpr::getV[IF]Cmp to work when ConstantFoldCompareInstruction
returns an undef or constant expr.  



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53541 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-14 05:10:41 +00:00
..
AsmWriter.cpp Prevent a crash in debug dumps. 2008-06-03 18:14:29 +00:00
AutoUpgrade.cpp Added MemOperands to Atomic operations since Atomics touches memory. 2008-06-25 08:15:39 +00:00
BasicBlock.cpp back out last commit: The .cpp file for a module should include its corresponding header first, even if redundant. 2008-05-27 17:26:02 +00:00
ConstantFold.cpp Fix a case where vector comparison constant folding would cause an 2008-07-10 00:29:28 +00:00
ConstantFold.h Constant folding for insertvalue and extractvalue. 2008-06-03 00:15:20 +00:00
Constants.cpp Document and fix Constant::getVectorElements to return an empty vector 2008-07-14 05:10:41 +00:00
Core.cpp Use Function's arg_size() and size() methods. 2008-06-21 22:06:54 +00:00
Dominators.cpp Move dominator info printer into tool/opt/GraphPrinters.cpp 2008-06-30 17:32:58 +00:00
Function.cpp Add some helpers for manipulating function 2008-07-08 09:41:30 +00:00
Globals.cpp eliminate calls to deprecated Use::init() interface 2008-05-26 21:33:52 +00:00
InlineAsm.cpp Fix PR2267, by allowing indirect outputs to be intermixed 2008-05-22 04:46:38 +00:00
Instruction.cpp Add an insertBefore method for attaching previously unattached instructions, 2008-06-17 18:29:27 +00:00
Instructions.cpp Add some convenience methods for manipulating 2008-07-08 08:38:44 +00:00
IntrinsicInst.cpp Revert my previous check-in that split up MachineModuleInfo. It turns out to 2008-07-03 22:53:42 +00:00
LeakDetector.cpp Add explicit keywords. 2008-07-07 18:00:37 +00:00
Makefile Fix PR2062: Don't build Intrinsics.gen in the source directory. Do it in the 2008-03-25 09:12:48 +00:00
Mangler.cpp - Replace use of std::map<std::string, ..> with StringMap. Replace use of std::map with DenseMap, std::set with SmallPtrSet. This results in minor speed up. 2008-07-10 00:04:23 +00:00
Module.cpp simplify some code to avoid string thrashing. 2008-06-27 21:25:24 +00:00
ModuleProvider.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ParameterAttributes.cpp Various improvements suggested by Duncan 2008-03-13 04:33:03 +00:00
Pass.cpp fix some warnings when assertions are disabled. 2008-06-21 19:47:03 +00:00
PassManager.cpp Consistently put quotes around pass names in debugging output. 2008-07-09 00:50:40 +00:00
SymbolTableListTraitsImpl.h Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Type.cpp Use find instead of lower_bound. 2008-07-11 20:58:19 +00:00
TypeSymbolTable.cpp Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better. 2008-05-15 10:04:30 +00:00
Use.cpp Fix a bunch of 80col violations that arose from the Create API change. Tweak makefile targets to find these better. 2008-05-15 10:04:30 +00:00
Value.cpp fix some warnings when assertions are disabled. 2008-06-21 19:47:03 +00:00
ValueSymbolTable.cpp implement some fixme's by making "autorenaming" in the value symbol table not 2008-06-27 21:26:26 +00:00
ValueTypes.cpp Wrap MVT::ValueType in a struct to get type safety 2008-06-06 12:08:01 +00:00
Verifier.cpp Use const_cast instead of a C-style cast. 2008-06-24 17:47:37 +00:00