llvm-6502/lib/Transforms/Scalar
Chris Lattner 033aaaf451 Add/Sub/Mul are safe to promote here as well. Incrementing a single-bit
bitfield now gives this code:

_plus:
        lwz r2, 0(r3)
        rlwimi r2, r2, 0, 1, 31
        xoris r2, r2, 32768
        stw r2, 0(r3)
        blr

instead of this:

_plus:
        lwz r2, 0(r3)
        srwi r4, r2, 31
        slwi r4, r4, 31
        addis r4, r4, -32768
        rlwimi r2, r4, 0, 0, 0
        stw r2, 0(r3)
        blr

this can obviously still be improved.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28275 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-13 02:16:08 +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 Fix a bug where we didn't realize that vaarg reads memory. This fixes 2005-11-30 19:38:22 +00:00
GCSE.cpp Switch these to using ETForest instead of DominatorSet to compute itself. 2006-01-11 05:10:20 +00:00
IndVarSimplify.cpp
InstructionCombining.cpp Add/Sub/Mul are safe to promote here as well. Incrementing a single-bit 2006-05-13 02:16:08 +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 FunctionPass's cannot do IPO things. 2006-01-14 19:30:35 +00:00
LowerPacked.cpp Lowerpacked and SCCP support for the insertelement operation. 2006-01-17 20:06:55 +00:00
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