llvm/lib/Transforms/Scalar
Chris Lattner 5d1704ddbf implement PR4895, by making FoldOpIntoPhi handle select conditions
that are phi nodes.  Also tighten up FoldOpIntoPhi to treat constantexpr
operands to phis just like other variables, avoiding moving constantexpr
computations around.

Patch by Daniel Dunbar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82913 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-27 19:57:57 +00:00
..
ADCE.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
BasicBlockPlacement.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
CMakeLists.txt Update CMake. 2009-09-17 00:06:48 +00:00
CodeGenLICM.cpp Nick pointed out that DominanceFrontier and DominanceTree are preserved 2009-09-21 17:54:42 +00:00
CodeGenPrepare.cpp Preserve ProfileInfo during CodeGenPrepare. 2009-09-16 09:26:52 +00:00
CondPropagate.cpp Remove some not-really-used variables, as warned 2009-09-06 12:41:19 +00:00
ConstantProp.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
DCE.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
DeadStoreElimination.cpp fix PR4815: some cases where DeleteDeadInstruction can delete 2009-09-02 06:31:02 +00:00
GVN.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
GVNPRE.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
IndVarSimplify.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
InstructionCombining.cpp implement PR4895, by making FoldOpIntoPhi handle select conditions 2009-09-27 19:57:57 +00:00
JumpThreading.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
LICM.cpp Grab an LLVM Context from an instruction that exists rather than one 2009-09-27 16:10:30 +00:00
LoopDeletion.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
LoopIndexSplit.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
LoopRotation.cpp Tell ScalarEvolution to forget everything it knows about a loop before 2009-09-27 15:37:03 +00:00
LoopStrengthReduce.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
LoopUnroll.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
LoopUnswitch.cpp Reflow comment. 2009-09-09 17:57:16 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
MemCpyOptimizer.cpp When extending a memset range past the front, set the alignment of the 2009-09-14 23:39:10 +00:00
PredicateSimplifier.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
Reassociate.cpp Enhance transform passes so that they apply the same tranforms to malloc calls as to MallocInst. 2009-09-18 22:35:49 +00:00
Reg2Mem.cpp clean up this code a bit. 2009-09-02 06:15:37 +00:00
Scalar.cpp add a bunch more passes to the C bindings (PR3734), patch by 2009-03-06 16:52:18 +00:00
ScalarReplAggregates.cpp Add more newlines to make up for the ones removed from the end of instructions. 2009-09-15 07:08:25 +00:00
SCCP.cpp Constant propagating byval pointer is safe if function is readonly. 2009-09-24 18:33:42 +00:00
SimplifyCFGPass.cpp back out my recent commit (r80858), it seems to break self-hosting buildbot's stage 2 configure 2009-09-03 02:02:59 +00:00
SimplifyHalfPowrLibCalls.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
SimplifyLibCalls.cpp Fix SimplifyLibCalls to transfer attributes from callees rather than 2009-09-26 18:10:13 +00:00
TailDuplication.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
TailRecursionElimination.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00