llvm/lib
Chris Lattner ad44ebfff0 IC: (X & C1) | C2 --> (X | C2) & (C1|C2)
IC: (X ^ C1) | C2 --> (X | C2) ^ (C1&~C2)

We are now guaranteed that all 'or's will be inside of 'and's, and all 'and's
will be inside of 'xor's, if the second operands are constants.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7264 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 18:29:44 +00:00
..
Analysis Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
Archive Merged in autoconf branch. This provides configuration via the autoconf 2003-06-30 21:59:07 +00:00
AsmParser Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Bytecode Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
CodeGen Remove unnecessary casts 2003-07-23 15:17:51 +00:00
ExecutionEngine Remove redundant const qualifier 2003-07-23 15:30:32 +00:00
Linker Fix Bug: Linker/2003-05-15-TypeProblem.ll 2003-05-15 16:30:55 +00:00
Support Simplify code by using ConstantInt::getRawValue instead of checking to see 2003-07-23 15:22:26 +00:00
Target Remove redundant const qualifiers from cast<> expressions 2003-07-23 15:30:06 +00:00
Transforms IC: (X & C1) | C2 --> (X | C2) & (C1|C2) 2003-07-23 18:29:44 +00:00
VMCore Add support for ~ operator on constants 2003-07-23 17:21:17 +00:00
Makefile Merged in autoconf branch. This provides configuration via the autoconf 2003-06-30 21:59:07 +00:00