llvm-6502/lib/Transforms/InstCombine
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
..
CMakeLists.txt
InstCombine.h
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp
InstCombineCalls.cpp Revamp the "ConstantStruct::get" methods. Previously, these were scattered 2011-06-20 04:01:31 +00:00
InstCombineCasts.cpp Revert r133285. Causing odd failures on Dragonegg. 2011-06-17 22:08:25 +00:00
InstCombineCompares.cpp InstCombine: Fold A-b == C --> b == A-C if A and C are constants. 2011-06-13 15:24:24 +00:00
InstCombineLoadStoreAlloca.cpp Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. 2011-05-27 00:19:40 +00:00
InstCombineMulDivRem.cpp Reapply 132348 with fixes. rdar://problem/6501862 2011-06-01 16:42:47 +00:00
InstCombinePHI.cpp Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. 2011-05-27 00:19:40 +00:00
InstCombineSelect.cpp ConstantFoldInstOperands doesn't like compares, hand it off to instsimplify instead. 2011-05-28 10:16:58 +00:00
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
InstCombineVectorOps.cpp
InstCombineWorklist.h
InstructionCombining.cpp Final step of instcombine debuginfo; switch a couple more places over to InsertNewInstWith, and use setDebugLoc for the cases which can't be easily handled by the automated mechanisms. 2011-05-27 00:19:40 +00:00
Makefile