llvm-6502/lib/Transforms/Scalar
Chris Lattner 003b6200df Implement two xforms:
1. ~(~X | Y) === (X & ~Y)
2. (A|B) & ~(A&B) -> A^B

This allows us to transform  ~(~(a|b) | (a&b)) -> a^b.

This implements PR1510 for scalar values.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37584 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-15 05:58:24 +00:00
..
ADCE.cpp s/llvm::DominatorTreeBase::DomTreeNode/llvm::DomTreeNode/g 2007-06-04 00:32:22 +00:00
BasicBlockPlacement.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
CodeGenPrepare.cpp Sink CmpInst's to their uses to reduce register pressure. 2007-06-12 16:50:17 +00:00
CondPropagate.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
ConstantProp.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
CorrelatedExprs.cpp Use DominatorTree instead of ETForest. 2007-06-07 21:35:27 +00:00
DCE.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
DeadStoreElimination.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
GCSE.cpp Use DominatorTree instead of ETForest. 2007-06-07 18:45:06 +00:00
GVNPRE.cpp Fix test/Transforms/GVNPRE/2007-06-12-PhiTranslate.ll 2007-06-12 22:43:57 +00:00
IndVarSimplify.cpp Inform ScalarEvolutions that we're deleting Values. 2007-06-06 03:51:56 +00:00
InstructionCombining.cpp Implement two xforms: 2007-06-15 05:58:24 +00:00
LICM.cpp Do not require ETForest. Now it is unused by LICM. 2007-06-07 22:21:15 +00:00
LoopRotation.cpp Fix typos. 2007-05-11 21:10:54 +00:00
LoopStrengthReduce.cpp Use DominatorTree instead of ETForest. 2007-06-07 21:42:15 +00:00
LoopUnroll.cpp Correct a few comments. 2007-05-14 14:31:17 +00:00
LoopUnswitch.cpp Avoid non-trivial loop unswitching while optimizing for size. 2007-06-06 00:21:03 +00:00
LowerGC.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
LowerPacked.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
Makefile
PredicateSimplifier.cpp Patches by Chuck Rose to unbreak V Studio builds. 2007-06-04 23:52:59 +00:00
Reassociate.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
Reg2Mem.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
ScalarReplAggregates.cpp Use DominatorTree instead of ETForest. 2007-06-07 21:57:03 +00:00
SCCP.cpp Fix PR1431 2007-05-17 22:10:15 +00:00
SimplifyCFG.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
TailDuplication.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00
TailRecursionElimination.cpp Fix typo in comment. 2007-05-06 13:37:16 +00:00