aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
AgeCommit message (Expand)Author
2013-01-02Rename VMCore directory to IR.Chandler Carruth
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-30Fix isEliminableCastPair to work correctly in the presence of pointersDuncan Sands
2012-10-30Enable some additional constant folding for PPCDoubleDouble.Ulrich Weigand
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-07-19Remove tabs.Bill Wendling
2012-04-27Reapply r155682, making constant folding more consistent, with a fix to workDan Gohman
2012-04-27Revert r155682, "Use ConstantExpr::getExtractElement when constant-folding ve...NAKAMURA Takumi
2012-04-27Use ConstantExpr::getExtractElement when constant-folding vectorsDan Gohman
2012-04-24ConstantFoldSelectInstruction swapped the operands of the select.Nadav Rotem
2012-02-06Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner
2012-01-30Fix ConstantFoldShuffleVectorInstruction to properly handle the caseChris Lattner
2012-01-27continue making the world safe for ConstantDataVector. At this point,Chris Lattner
2012-01-26unbreak test/Bitcode/shuffle.ll.Chris Lattner
2012-01-26simplify by using ShuffleVectorInst::getMaskValue.Chris Lattner
2012-01-26eliminate the Constant::getVectorElements method. There are better (andChris Lattner
2012-01-26Continue improving support for ConstantDataAggregate, and use theChris Lattner
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-11Don't try to create a GEP when the pointee type is unsized (such GEPsDuncan Sands
2011-12-17The powers that be have decided that LLVM IR should now support 16-bitDan Gohman
2011-12-15Make constant folding for GEPs a bit more aggressive.Eli Friedman
2011-09-02Return undef value (instead of arbitrary) for wrong or undef index inJakub Staszak
2011-09-02ConstantVector returns arbitrary value for the wrong index.Jakub Staszak
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad
2011-07-21Make better use of ConstantExpr::getGetElementPtr's InBounds parameter.Jay Foad
2011-07-21Convert ConstantExpr::getGetElementPtr andJay Foad
2011-07-19Convert ConstantFoldGetElementPtr to use ArrayRef.Jay Foad
2011-07-18Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent future a...Jeffrey Yasskin
2011-07-18land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner
2011-07-13Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad
2011-07-09don't load element before checking to see if it is valid.Chris Lattner
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-07-01Improve constant folding of undef for cmp and select operators.Dan Gohman
2011-07-01Improve constant folding of undef for binary operators.Dan Gohman
2011-06-22Make ConstantVector::get() always take an ArrayRef, never a std::vector.Jay Foad
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-02-17Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem
2011-02-15convert ConstantVector::get to use ArrayRef.Chris Lattner
2011-02-14revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner
2011-02-14Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner
2011-02-13Fix a regression from r125393;Nadav Rotem
2011-02-11Fix 9173.Nadav Rotem
2011-01-30Fix 'fcmp one' constant folding. Noticed by inspection.Nick Lewycky
2011-01-30Fix some formatting and upgrade comments from llvm 1.x to 2.x syntax.Nick Lewycky
2011-01-29Add the select optimization recently added to instcombine to constant folding.Nick Lewycky
2011-01-21Add a constant folding of casts from zero to zero. Fixes PR9011!Nick Lewycky
2011-01-14Remove casts between Value** and Constant**, which won't work if aJay Foad
2011-01-14Move some shift transforms out of instcombine and into InstructionSimplify.Duncan Sands