aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix ConstantFoldShuffleVectorInstruction to properly handle the caseChris Lattner2012-01-301-3/+5
* continue making the world safe for ConstantDataVector. At this point,Chris Lattner2012-01-271-28/+38
* unbreak test/Bitcode/shuffle.ll.Chris Lattner2012-01-261-0/+3
* simplify by using ShuffleVectorInst::getMaskValue.Chris Lattner2012-01-261-10/+8
* eliminate the Constant::getVectorElements method. There are better (andChris Lattner2012-01-261-10/+10
* Continue improving support for ConstantDataAggregate, and use theChris Lattner2012-01-261-358/+91
* More dead code removal (using -Wunreachable-code)David Blaikie2012-01-201-2/+2
* Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands2012-01-111-1/+2
* The powers that be have decided that LLVM IR should now support 16-bitDan Gohman2011-12-171-1/+2
* Make constant folding for GEPs a bit more aggressive.Eli Friedman2011-12-151-1/+1
* Return undef value (instead of arbitrary) for wrong or undef index inJakub Staszak2011-09-021-4/+4
* ConstantVector returns arbitrary value for the wrong index.Jakub Staszak2011-09-021-0/+4
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-3/+2
* Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad2011-07-211-12/+8
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-17/+12
* Convert ConstantFoldGetElementPtr to use ArrayRef.Jay Foad2011-07-191-24/+21
* Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin2011-07-181-1/+1
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-65/+65
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-22/+18
* don't load element before checking to see if it is valid.Chris Lattner2011-07-091-2/+2
* Land the long talked about "type system rewrite" patch. ThisChris Lattner2011-07-091-1/+1
* Improve constant folding of undef for cmp and select operators.Dan Gohman2011-07-011-2/+7
* Improve constant folding of undef for binary operators.Dan Gohman2011-07-011-4/+24
* Make ConstantVector::get() always take an ArrayRef, never a std::vector.Jay Foad2011-06-221-1/+1
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-3/+3
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
* Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem2011-02-171-2/+1
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-6/+6
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-6/+6
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-6/+6
* Fix a regression from r125393;Nadav Rotem2011-02-131-1/+2
* Fix 9173.Nadav Rotem2011-02-111-0/+40
* Fix 'fcmp one' constant folding. Noticed by inspection.Nick Lewycky2011-01-301-1/+1
* Fix some formatting and upgrade comments from llvm 1.x to 2.x syntax.Nick Lewycky2011-01-301-6/+6
* Add the select optimization recently added to instcombine to constant folding.Nick Lewycky2011-01-291-0/+12
* Add a constant folding of casts from zero to zero. Fixes PR9011!Nick Lewycky2011-01-211-0/+4
* Remove casts between Value** and Constant**, which won't work if aJay Foad2011-01-141-18/+31
* Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands2011-01-141-2/+2
* fix PR8867: a crash handling fp128. Thanks to Nick for the testcase.Chris Lattner2010-12-291-1/+1
* There is no need for isAssociative to take the type as an argument anymore.Duncan Sands2010-12-201-2/+1
* PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad2010-12-071-10/+7
* Remove unneeded zero arrays.Benjamin Kramer2010-12-041-3/+1
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-40/+0
* Constant fold x == undef to undef.Dan Gohman2010-06-281-1/+8
* Use A.append(...) instead of A.insert(A.end(), ...) when A is aDan Gohman2010-06-211-1/+1
* getFoldedOffsetOf no longer does anything special with vector types.Dan Gohman2010-06-051-1/+1
* Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'Nick Lewycky2010-03-041-24/+5
* fix incorrect folding of icmp with undef, PR6481.Chris Lattner2010-03-031-1/+1
* Teach the constant folder about union types.Dan Gohman2010-02-251-0/+34