aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFold.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix isEliminableCastPair to work correctly in the presence of pointersDuncan Sands2012-10-301-1/+5
* Enable some additional constant folding for PPCDoubleDouble.Ulrich Weigand2012-10-301-17/+3
* Move TargetData to DataLayout.Micah Villmow2012-10-081-1/+1
* Remove tabs.Bill Wendling2012-07-191-2/+2
* Reapply r155682, making constant folding more consistent, with a fix to workDan Gohman2012-04-271-28/+37
* Revert r155682, "Use ConstantExpr::getExtractElement when constant-folding ve...NAKAMURA Takumi2012-04-271-37/+28
* Use ConstantExpr::getExtractElement when constant-folding vectorsDan Gohman2012-04-271-28/+37
* ConstantFoldSelectInstruction swapped the operands of the select.Nadav Rotem2012-04-241-1/+1
* Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner2012-02-061-16/+0
* 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