aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert last patch. ConstantInt isn't quite ready for signlessness.Reid Spencer2006-12-181-2/+4
* Remove the last use of getUnsignedVersion and getSignedVersion from VMCore.Reid Spencer2006-12-181-4/+2
* Replace inferred getCast(V,Ty) calls with more strict variants.Reid Spencer2006-12-121-5/+4
* Fix constant folding of FP->int due to cut & paste error in last commit.Reid Spencer2006-12-111-2/+3
* Implement correct constant folding of bitcast. This implementsChris Lattner2006-12-111-15/+33
* fix typoChris Lattner2006-12-111-1/+1
* Fix constant folding to deal with external weak global values.Reid Spencer2006-12-061-14/+22
* Can't make these fail now with just BitCast. Previous failures must haveReid Spencer2006-12-051-2/+2
* Remove the last inferred casts from VMCore.Reid Spencer2006-12-051-10/+7