- Mar 25, 2007
-
-
Reid Spencer authored
* Convert the last use of a uint64_t that should have been an APInt. * Change ComputeMaskedBits to have a const reference argument for the Mask so that recursions don't cause unneeded temporaries. This causes temps to be needed in other places (where the mask has to change) but this change optimizes for the recursion which is more frequent. * Remove two instances of &ing a Mask with getAllOnesValue. Its not needed any more because APInt is accurate in its bit computations. * Start using the getLowBitsSet and getHighBits set methods on APInt instead of shifting. This makes it more clear in the code what is going on. llvm-svn: 35321
-
Chris Lattner authored
Allow the b/h/w/k constraints to be applied to values that have multiple alternatives, and end up not being registers. llvm-svn: 35320
-
Chris Lattner authored
llvm-svn: 35319
-
Chris Lattner authored
llvm-svn: 35318
-
Chris Lattner authored
llvm-svn: 35317
-
Reid Spencer authored
llvm-svn: 35316
-
Reid Spencer authored
illegal. Instead do the 0 valued construction for the user. This is because the caller may not know (or care to check) that the number of bits set is zero. llvm-svn: 35315
-
Chris Lattner authored
llvm-svn: 35314
-
Reid Spencer authored
they should have used the uint64_t constructor. This avoids causing undefined results via shifts by the word size when the bit width is an exact multiple of the word size. llvm-svn: 35313
-
Reid Spencer authored
already covered by getLowBitsSet (i.e. when loBits==0). Consequently, remove the default value for loBits and reorder the arguments to the more natural loBits, hiBits order. This makes it more clear that this function is for bit groups in the middle of the bit width and not towards one end or the other. llvm-svn: 35312
-
Reid Spencer authored
and getLowBitsSet. llvm-svn: 35311
-
Reid Spencer authored
llvm-svn: 35310
-
Reid Spencer authored
llvm-svn: 35309
-
Reid Spencer authored
llvm-svn: 35308
-
- Mar 24, 2007
-
-
Reid Spencer authored
llvm-svn: 35307
-
Reid Spencer authored
llvm-svn: 35306
-
Reid Spencer authored
modulus. The previous change was a result of incorrect documentation in the LangRef.html. llvm-svn: 35305
-
Reid Spencer authored
bug in the srem implementation. Turns out it was a documentation bug instead. llvm-svn: 35304
-
Reid Spencer authored
divisor! llvm-svn: 35303
-
Reid Spencer authored
the result must follow the sign of the divisor. llvm-svn: 35302
-
Reid Spencer authored
that the sign of the result follows the sign of the divisor. llvm-svn: 35301
-
Reid Spencer authored
1. Group similar methods into doxygen groups 2. Reorganize the groups into a consist flow. 3. Significantly improve the quality of the documentation on several methods 4. Rewrite srem and sdiv to eliminate a copy and improve readability. 5. Eliminate unneeded forward references. llvm-svn: 35300
-
Chris Lattner authored
llvm-svn: 35299
-
Chris Lattner authored
llvm-svn: 35298
-
Zhou Sheng authored
llvm-svn: 35297
-
Chris Lattner authored
llvm-svn: 35296
-
Reid Spencer authored
Convert some calls to ConstantInt::getZExtValue() into getValue() and use APInt facilities in the subsequent computations. llvm-svn: 35294
-
Evan Cheng authored
llvm-svn: 35293
-
Anton Korobeynikov authored
llvm-svn: 35292
-
- Mar 23, 2007
-
-
Bill Wendling authored
llvm-svn: 35291
-
Bill Wendling authored
Add final support to get the QT example to compile. llvm-svn: 35290
-
Evan Cheng authored
llvm-svn: 35289
-
Reid Spencer authored
llvm-svn: 35288
-
Reid Spencer authored
* APIntify visitAdd and visitSelectInst * Remove unused uint64_t versions of utility functions that have been replaced with APInt versions. This completes most of the changes for APIntification of InstCombine. This passes llvm-test and llvm/test/Transforms/InstCombine/APInt. Patch by Zhou Sheng. llvm-svn: 35287
-
Evan Cheng authored
llvm-svn: 35286
-
Reid Spencer authored
types. These tests mimic the integer test cases in the normal InstCombine test suite but use "strange" integer bit widths. Most tests written by Zhou Sheng, a few by me. llvm-svn: 35284
-
Reid Spencer authored
APIntify visitDiv, visitMul and visitRem. Patch by Zhou Sheng. llvm-svn: 35283
-
Chris Lattner authored
llvm-svn: 35282
-
Reid Spencer authored
APIntify several utility functions supporting logical operators and shift operators. Patch by Zhou Sheng. llvm-svn: 35281
-
Dan Gohman authored
argument that don't appear intended as implicit-conversion operators. llvm-svn: 35280
-