summaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAge
* Fix a crasher trying to fold each element in a comparison between two vectorsNick Lewycky2010-01-21
* Move remaining stuff to the isInteger predicate.Benjamin Kramer2010-01-05
* Convert a ton of simple integer type equality tests to the new predicate.Benjamin Kramer2010-01-05
* Aggressively flip compare constant expressions where appropriate; constantEli Friedman2009-12-17
* Previously, all operands to Constant were themselves constant.Chris Lattner2009-10-28
* Teach vm core to more aggressively fold 'trunc' constantexprs,Chris Lattner2009-10-17
* strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner2009-10-05
* Peer through zext and sext to eliminate them when it is safe to do so.Nick Lewycky2009-09-20
* Fold 'icmp eq (icmp), true' into an xor(icmp).Nick Lewycky2009-09-20
* Correct the comment; this applies to fcmp too.Nick Lewycky2009-09-20
* Remove tab, again.Nick Lewycky2009-09-20
* Teach the constant folder how to not a cmpinst.Nick Lewycky2009-09-20
* Try turning icmp(bitcast(x), bitcast(y)) into icmp(bitcast(bitcast(x)), y) inNick Lewycky2009-09-20
* Remove tabs I added.Nick Lewycky2009-09-20
* Clean up the usage of evaluateICmpRelation's return value.Nick Lewycky2009-09-20
* Remove dead store by taking a guess at what Chris meant. I wasn't able toNick Lewycky2009-09-20
* Delete dead code. sext and zext can not turn integers into pointers. Further,Nick Lewycky2009-09-20
* Value* were never meant to be const. Removing constness from the constantNick Lewycky2009-09-20
* Teach the constant folder how to handle a few simple i1 cases.Nick Lewycky2009-09-20
* Fix an accidental inversion of the inbounds flag.Dan Gohman2009-09-15
* fix PR4963: folding insertvalue would sometimes turn a packed struct intoChris Lattner2009-09-15
* Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword andDan Gohman2009-09-11
* Factor out the code for checking that all indices in a getelementptr areDan Gohman2009-09-10
* Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman2009-09-03
* Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman2009-09-03
* Cleanup whitespace and indentation.Dan Gohman2009-08-29
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-13
* Simplify this code, and use an in-bounds GEP.Dan Gohman2009-08-12
* Privatize the StructType table, which unfortunately involves routing contexts...Owen Anderson2009-08-05
* Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson2009-07-31
* Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson2009-07-31
* Move more code back to 2.5 APIs.Owen Anderson2009-07-30
* Move types back to the 2.5 API.Owen Anderson2009-07-29
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-29
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-28
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-28
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-27
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-27
* Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson2009-07-24
* Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson2009-07-21
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-14
* Inline EvalVectorOp in order to get rid of passing-pointer-to-static-methods ...Owen Anderson2009-07-13
* Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson2009-07-13
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-11
* Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky2009-07-08
* Expand this test to handle more cases (remainder and shifts) of zero.Nick Lewycky2009-06-21
* implement PR4424: 0/x is always 0 for integer division.Chris Lattner2009-06-21
* Revert r73790, and replace it with a significantly less ugly solution. Rathe...Owen Anderson2009-06-20
* Fix a serious bug that would cause deadlock during abstract type refinement. ...Owen Anderson2009-06-19
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-15