llvm/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 Removed a bunch of unnecessary target_link_libraries. 2010-09-28 22:39:14 +00:00
InstCombine.h Make the demanded bits/elements optimizations preserve debug line information. 2011-05-19 01:20:42 +00:00
InstCombineAddSub.cpp add is always integer, thanks to Frits for noticing this. 2011-02-17 20:55:29 +00:00
InstCombineAndOrXor.cpp We require threse bits to be zero, too. 2011-04-28 21:38:51 +00:00
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 Balance parentheses. 2011-04-29 08:41:23 +00:00
InstCombineSimplifyDemanded.cpp Renamed llvm.x86.sse42.crc32 intrinsics; crc64 doesn't exist. 2011-05-26 23:13:19 +00:00
InstCombineVectorOps.cpp Instcombile optimization: extractelement(cast) -> cast(extractelement) 2011-03-31 22:57:29 +00:00
InstCombineWorklist.h InstCombine: We know the number of items initially added to the worklist map, reserve space early to avoid rehashing. 2011-03-05 16:43:46 +00:00
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 make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00