llvm-6502/lib/Transforms/Scalar
Chris Lattner 41dc0fcb68 Teach masked value is zero about add and sub, and use MVIZ to
simplify things like (X & 4) >> 1 == 2  --> (X & 4) == 4.

since it is obvious that the shift doesn't remove any bits.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48631 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-21 05:19:58 +00:00
..
ADCE.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
BasicBlockPlacement.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CodeGenPrepare.cpp Remove dead options. 2008-03-19 22:02:26 +00:00
CondPropagate.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ConstantProp.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
DCE.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
DeadStoreElimination.cpp Be more precise when eliminating pointers bue to memcpy's. This allows more 2008-02-04 04:53:00 +00:00
GCSE.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
GVN.cpp Fix a bug in GVN that Duncan noticed, where we potentially need to insert a 2008-03-13 22:07:10 +00:00
GVNPRE.cpp Make Transforms to be 4.3 warnings-clean 2008-02-20 11:26:25 +00:00
IndVarSimplify.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
InstructionCombining.cpp Teach masked value is zero about add and sub, and use MVIZ to 2008-03-21 05:19:58 +00:00
LICM.cpp Use empty() instead of comparing size() with zero. 2008-01-29 13:02:09 +00:00
LoopIndexSplit.cpp If loop header is also loop exiting block then OrigPN is incoming value for B loop header. 2008-02-14 23:18:47 +00:00
LoopRotation.cpp Fix PR2028 2008-02-15 01:24:49 +00:00
LoopStrengthReduce.cpp Remove dead options. 2008-03-19 22:02:26 +00:00
LoopUnroll.cpp Add comment. 2008-03-19 23:05:52 +00:00
LoopUnswitch.cpp Update the block cloner which fixes bugpoint on code using unwind_to (phew!) 2008-03-09 05:24:34 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
PredicateSimplifier.cpp De-tabify. 2008-02-26 10:53:30 +00:00
Reassociate.cpp simplify some code, BreakUpSubtract always returns nonnull now. 2008-02-18 02:18:25 +00:00
Reg2Mem.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Scalar.cpp C and Objective Caml bindings for mem2reg and reg2mem. 2008-03-20 17:16:03 +00:00
ScalarReplAggregates.cpp fix a bug Anders ran into where scalarrepl would crash when promoting 2008-02-29 07:12:06 +00:00
SCCP.cpp Add TODO reminder. 2008-03-11 17:32:05 +00:00
SimplifyCFG.cpp simplify code, no functionality change. 2008-02-14 07:39:01 +00:00
TailDuplication.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
TailRecursionElimination.cpp Become multiple return value aware. 2008-03-11 17:33:32 +00:00