llvm-6502/lib/Transforms/Scalar
Chris Lattner 8c8c66a8cd Refactor some code, making it simpler.
When doing the initial pass of constant folding, if we get a constantexpr,
simplify the constant expr like we would do if the constant is folded in the
normal loop.

This fixes the missed-optimization regression in
Transforms/InstCombine/getelementptr.ll last night.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28224 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-11 17:11:52 +00:00
..
ADCE.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
BasicBlockPlacement.cpp
CondPropagate.cpp
ConstantProp.cpp
CorrelatedExprs.cpp Teach cee to propagate through switch statements. This implements 2006-03-19 19:37:24 +00:00
DCE.cpp
DeadStoreElimination.cpp
GCSE.cpp
IndVarSimplify.cpp
InstructionCombining.cpp Refactor some code, making it simpler. 2006-05-11 17:11:52 +00:00
LICM.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
LoopStrengthReduce.cpp Get rid of a signed/unsigned compare warning. 2006-04-12 19:28:15 +00:00
LoopUnroll.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
LoopUnswitch.cpp add the actual cost to the debug info 2006-03-24 07:14:00 +00:00
LowerGC.cpp
LowerPacked.cpp
Makefile
Reassociate.cpp Fix Transforms/Reassociate/2006-04-27-ReassociateVector.ll 2006-04-28 04:14:49 +00:00
Reg2Mem.cpp
ScalarReplAggregates.cpp Fix Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll 2006-04-20 20:48:50 +00:00
SCCP.cpp Add supprot for shufflevector 2006-04-08 01:19:12 +00:00
SimplifyCFG.cpp
TailDuplication.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
TailRecursionElimination.cpp