aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Remove no-longer-used variable.Dale Johannesen2007-09-251-3/+2
* Make APFloat->int conversions deterministic even inDale Johannesen2007-09-251-2/+0
* float->int conversion rounds toward 0. Duh.Dale Johannesen2007-09-241-1/+1
* Just use APFloat for const / const. FixesDale Johannesen2007-09-241-17/+0
* Fix dumb regression in constant folding (Regression/C/casts)Dale Johannesen2007-09-201-1/+1
* Fix some long double issues.Dale Johannesen2007-09-191-19/+21
* Partial fix for PR1678: correct some parts of constantDuncan Sands2007-09-191-2/+4
* Revise previous patch per review comments.Dale Johannesen2007-09-121-7/+6
* Add APInt interfaces to APFloat (allows directlyDale Johannesen2007-09-111-13/+8
* Fix a buggy constant folding transformation when handling aliases.Chris Lattner2007-09-101-4/+7
* Next round of APFloat changes.Dale Johannesen2007-09-061-66/+97
* Update GEP constructors to use an iterator interface to fixDavid Greene2007-09-041-3/+5
* Constant fold: getelementptr (i8* inttoptr (i64 1 to i8*), i32 -1)Chris Lattner2007-08-131-1/+23
* Fix a doxygen directive.Reid Spencer2007-08-051-1/+1
* zext(undef) = 0 and sext(undef) = 0, not undef.Chris Lattner2007-07-201-1/+6
* Fix comments about vectors to use the current wording.Dan Gohman2007-07-161-7/+7
* Add a comment to explain a folding transform.Reid Spencer2007-03-261-0/+1
* fold constantexprs more aggressively, fixing PR1265Chris Lattner2007-03-251-2/+17
* Fix constant fold of div by zero and rem by zero to match IEEE 754Reid Spencer2007-03-231-8/+18
* Fix constant folding of fp->int bitcast for vectors.Reid Spencer2007-03-031-2/+2
* Prefer non-virtual calls to ConstantInt::isZero over virtual calls toReid Spencer2007-03-021-6/+6
* Use the APInt versions of the bit-wise conversions of float/double to intReid Spencer2007-03-011-8/+10
* Use a simpler constructor when constructing ConstantInst.Reid Spencer2007-03-011-20/+19
* Pull out the stops.Reid Spencer2007-02-271-4/+2
* Adjust to changes in the APInt interface.Reid Spencer2007-02-271-4/+4
* For PR1205:Reid Spencer2007-02-271-14/+5
* For PR1205:Reid Spencer2007-02-271-102/+135
* ConstantFolding.cpp/h -> ConstantFold.cpp/h to avoid confusion withChris Lattner2007-02-271-1/+1
* Fix Transforms/ConstProp/2007-02-23-sdiv.ll and PR1215Chris Lattner2007-02-241-1/+2
* For PR1195:Reid Spencer2007-02-151-1/+1
* For PR1195:Reid Spencer2007-02-151-33/+33
* Fix Transforms/ConstProp/2007-02-05-BitCast.llChris Lattner2007-02-061-1/+5
* Revise APIs for creating constantexpr GEPs to not require the use of vectors.Chris Lattner2007-01-311-16/+21
* For PR1043:Reid Spencer2007-01-191-6/+1
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-151-7/+7
* Remove a bunch of duplicated code. Among other things, this fixesChris Lattner2007-01-121-93/+50
* For PR1064:Reid Spencer2007-01-121-16/+0
* Implement review feedback for the ConstantBool->ConstantInt merge. ChrisReid Spencer2007-01-121-49/+72
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-4/+4
* For PR1043:Zhou Sheng2007-01-111-172/+168
* Implement better constant folding of unordered FCMP predicates.Reid Spencer2007-01-111-7/+27
* fix typoChris Lattner2007-01-041-1/+1
* fix some bugs handling vectors, avoid host-specific handling of undefined shi...Chris Lattner2007-01-041-5/+15
* Fix a bug in comparison of GEP indices.Reid Spencer2006-12-311-4/+4
* For PR950:Reid Spencer2006-12-311-20/+17
* Cleanup ConstantFoldCompareInstruction:Reid Spencer2006-12-241-134/+201
* Don't overload var names.Reid Spencer2006-12-231-4/+4
* For PR950:Reid Spencer2006-12-231-796/+581
* Clean up ConstantFoldCastInstruction.Reid Spencer2006-12-191-53/+30
* Rewrite ConstantFoldCastInstruction so that it doesn't use any of theReid Spencer2006-12-191-219/+50