summaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAge
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-28
* Constant fold x == undef to undef.Dan Gohman2010-06-28
* Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman2010-06-21
* getFoldedOffsetOf no longer does anything special with vector types.Dan Gohman2010-06-05
* Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'Nick Lewycky2010-03-04
* fix incorrect folding of icmp with undef, PR6481.Chris Lattner2010-03-03
* Teach the constant folder about union types.Dan Gohman2010-02-25
* Remove code which assumes it knows how vectors are stored in memory.Dan Gohman2010-02-25
* Canonicalize ConstantInts to the right operand of commutativeDan Gohman2010-02-22
* Use Instruction::isCommutative instead of duplicating it.Dan Gohman2010-02-22
* Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move someDuncan Sands2010-02-16
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-16
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-15
* Add support for a union type in LLVM IR. Patch by Talin!Chris Lattner2010-02-12
* Canonicalize sizeof and alignof on pointer types to a canonicalDan Gohman2010-02-10
* Factor out alignof expression folding into a separate function andDan Gohman2010-02-02
* eliminate a bunch of pointless LLVMContext arguments.Chris Lattner2010-02-01
* Fix typo "of" -> "or" and change the way a line was formatted to fitDuncan Sands2010-02-01
* fix PR6195, a bug constant folding scalar -> vector compares.Chris Lattner2010-02-01
* fix PR6197 - infinite recursion in ipsccp due to block addressesChris Lattner2010-02-01
* Generalize target-independent folding rules for sizeof to handle moreDan Gohman2010-02-01
* Remove the folding ruleDan Gohman2010-01-28
* Remove SCEVAllocSizeExpr and SCEVFieldOffsetExpr, and in their placeDan Gohman2010-01-28
* 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