aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* strength reduce a ton of type equality tests to check the typeid (ThroughChris Lattner2009-10-051-9/+10
* Peer through zext and sext to eliminate them when it is safe to do so.Nick Lewycky2009-09-201-0/+16
* Fold 'icmp eq (icmp), true' into an xor(icmp).Nick Lewycky2009-09-201-0/+14
* Correct the comment; this applies to fcmp too.Nick Lewycky2009-09-201-1/+1
* Remove tab, again.Nick Lewycky2009-09-201-1/+1
* Teach the constant folder how to not a cmpinst.Nick Lewycky2009-09-201-0/+14
* Try turning icmp(bitcast(x), bitcast(y)) into icmp(bitcast(bitcast(x)), y) inNick Lewycky2009-09-201-0/+10
* Remove tabs I added.Nick Lewycky2009-09-201-8/+8
* Clean up the usage of evaluateICmpRelation's return value.Nick Lewycky2009-09-201-37/+30
* Remove dead store by taking a guess at what Chris meant. I wasn't able toNick Lewycky2009-09-201-2/+1
* Delete dead code. sext and zext can not turn integers into pointers. Further,Nick Lewycky2009-09-201-15/+0
* Value* were never meant to be const. Removing constness from the constantNick Lewycky2009-09-201-163/+132
* Teach the constant folder how to handle a few simple i1 cases.Nick Lewycky2009-09-201-0/+31
* Fix an accidental inversion of the inbounds flag.Dan Gohman2009-09-151-3/+3
* fix PR4963: folding insertvalue would sometimes turn a packed struct intoChris Lattner2009-09-151-20/+24
* Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword andDan Gohman2009-09-111-7/+100
* Factor out the code for checking that all indices in a getelementptr areDan Gohman2009-09-101-0/+8
* Revert 80959. It isn't sufficient to solve the full problem. And itDan Gohman2009-09-031-1/+3
* Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,Dan Gohman2009-09-031-3/+1
* Cleanup whitespace and indentation.Dan Gohman2009-08-291-29/+28
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-46/+46
* Simplify this code, and use an in-bounds GEP.Dan Gohman2009-08-121-5/+7
* Privatize the StructType table, which unfortunately involves routing contexts...Owen Anderson2009-08-051-3/+3
* Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson2009-07-311-58/+58
* Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson2009-07-311-6/+6
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-23/+23
* Move types back to the 2.5 API.Owen Anderson2009-07-291-3/+3
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-44/+44
* Return ConstantVector to 2.5 API.Owen Anderson2009-07-281-26/+26
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-281-3/+3
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-3/+3
* Move ConstantFP construction back to the 2.5-ish API.Owen Anderson2009-07-271-8/+8
* Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson2009-07-241-45/+45
* Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson2009-07-211-6/+6
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-5/+5
* Inline EvalVectorOp in order to get rid of passing-pointer-to-static-methods ...Owen Anderson2009-07-131-38/+132
* Begin the painful process of tearing apart the rat'ss nest that is Constants....Owen Anderson2009-07-131-206/+239
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-5/+6
* Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky2009-07-081-68/+22
* Expand this test to handle more cases (remainder and shifts) of zero.Nick Lewycky2009-06-211-8/+15
* implement PR4424: 0/x is always 0 for integer division.Chris Lattner2009-06-211-0/+7
* Revert r73790, and replace it with a significantly less ugly solution. Rathe...Owen Anderson2009-06-201-60/+51
* Fix a serious bug that would cause deadlock during abstract type refinement. ...Owen Anderson2009-06-191-51/+60
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-151-16/+16
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-041-8/+15
* Apply a patch by Micah Villmow to fix AsmParser to accept vectorDan Gohman2009-03-141-0/+6
* Extension of GEP in constant folder was broken (apparently this codeDaniel Dunbar2009-02-241-1/+1
* Allow the inverse transform x86_fp80 -> i80 (alsoDuncan Sands2009-02-041-9/+4
* Fix PR3468: a crash when constant folding a bitcast ofDuncan Sands2009-02-041-6/+5
* Make special cases (0 inf nan) work for frem.Dale Johannesen2009-01-211-10/+0