- Mar 22, 2007
-
-
Dan Gohman authored
llvm-svn: 35265
-
Nick Lewycky authored
Analyze GEPs. If the indices are all zero, transfer whether the pointer is known to be not null through the GEP. Add a few more cases for xor and shift instructions. llvm-svn: 35257
-
Reid Spencer authored
* Fix some indentation and comments in InsertRangeTest * Add an "IsSigned" parameter to AddWithOverflow and make it handle signed additions. Also, APIntify this function so it works with any bitwidth. * For the icmp pred ([us]div %X, C1), C2 transforms, exit early if the div instruction's RHS is zero. * Finally, for icmp pred (sdiv %X, C1), -C2, fix an off-by-one error. The HiBound needs to be incremented in order to get the range test correct. llvm-svn: 35247
-
- Mar 20, 2007
-
-
Dale Johannesen authored
instructions (that would have to be split later) llvm-svn: 35227
-
Jeff Cohen authored
llvm-svn: 35224
-
Devang Patel authored
Use ETForest instead of DominatorSet. llvm-svn: 35221
-
Zhou Sheng authored
llvm-svn: 35211
-
Dale Johannesen authored
llvm-svn: 35197
-
Reid Spencer authored
llvm-svn: 35194
-
- Mar 19, 2007
-
-
Reid Spencer authored
llvm-svn: 35190
-
Reid Spencer authored
Patch by Sheng Zhou. llvm-svn: 35188
-
Reid Spencer authored
Patch by Zhou Sheng. llvm-svn: 35187
-
Reid Spencer authored
llvm-svn: 35186
-
Reid Spencer authored
2. Replace uses of the "isPositive" utility function with APInt::isPositive llvm-svn: 35185
-
Reid Spencer authored
Patch by Sheng Zhou. llvm-svn: 35184
-
Chris Lattner authored
llvm-svn: 35169
-
Chris Lattner authored
implements Transforms/ScalarRepl/memset-aggregate-byte-leader.ll llvm-svn: 35150
-
- Mar 18, 2007
-
-
Nick Lewycky authored
llvm-svn: 35146
-
Chris Lattner authored
Rearrange some code to simplify it now that shifts are binops llvm-svn: 35145
-
Nick Lewycky authored
Add some more micro-optimizations: x * 0 = 0, a - x = a --> x = 0. llvm-svn: 35138
-
- Mar 17, 2007
-
-
Anton Korobeynikov authored
llvm-svn: 35137
-
- Mar 16, 2007
-
-
Nick Lewycky authored
Add new micro-optimizations. Add icmp predicate snuggling. Given %x ULT 4, "icmp ugt %x, 2" becomes "icmp eq %x, 3". This doesn't apply in any non-trivial cases yet due to missing support for NE values in ValueRanges. llvm-svn: 35119
-
- Mar 14, 2007
-
-
Zhou Sheng authored
llvm-svn: 35094
-
Zhou Sheng authored
llvm-svn: 35093
-
- Mar 13, 2007
-
-
Evan Cheng authored
llvm-svn: 35086
-
Chris Lattner authored
Fix PR1244 and Transforms/InstCombine/2007-03-13-CompareMerge.ll llvm-svn: 35082
-
Zhou Sheng authored
"APInt::getAllOnesValue(ShiftAmt).zextOrCopy(BitWidth)", to handle ShiftAmt == BitWidth situation, use zextOrCopy() instead of zext(). llvm-svn: 35080
-
Zhou Sheng authored
1. Ensure VTy, KnownOne and KnownZero have same bitwidth. 2. Make code more efficient. llvm-svn: 35078
-
Evan Cheng authored
llvm-svn: 35072
-
- Mar 12, 2007
-
-
Jeff Cohen authored
can collide with system defined names. Windows defines _BB, for example. llvm-svn: 35066
-
Reid Spencer authored
Patch by Zhou Sheng. llvm-svn: 35064
-
Reid Spencer authored
Patch by Zhou Sheng. llvm-svn: 35063
-
Zhou Sheng authored
llvm-svn: 35062
-
Zhou Sheng authored
1. Replace getSignedMinValue() with getSignBit() for better code readability. 2. Replace APIntOps::shl() with operator<<= for convenience. 3. Make APInt construction more effective. llvm-svn: 35060
-
- Mar 10, 2007
-
-
Nick Lewycky authored
optimization power. llvm-svn: 35058
-
Anton Korobeynikov authored
llvm-svn: 35057
-
Devang Patel authored
llvm-svn: 35053
-
Devang Patel authored
llvm-svn: 35052
-
- Mar 09, 2007
-
-
Devang Patel authored
User from the list of I users. llvm-svn: 35051
-
- Mar 08, 2007
-
-
Zhou Sheng authored
llvm-svn: 35027
-