aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
2012-04-24Merging r155466:Bill Wendling
2012-02-07Convert assert(0) to llvm_unreachableCraig Topper
2012-02-06Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner
2012-02-05reapply the patches reverted in r149470 that reenable ConstantDataArray,Chris Lattner
2012-02-01Revert Chris' commits up to r149348 that started causing VMCoreTests unit tes...Argyrios Kyrtzidis
2012-01-31Change ConstantArray::get to form a ConstantDataArray when possible,Chris Lattner
2012-01-27Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola
2012-01-27Revert r149110 and add a testcase that was crashing since that revision.Rafael Espindola
2012-01-27enhance constant folding to be able to constant fold bitcast of Chris Lattner
2012-01-26progress making the world safe to ConstantDataVector. WhileChris Lattner
2012-01-25use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner
2012-01-25Use the right method to get the # elements in a CDS.Chris Lattner
2012-01-24Split the interesting bits of ConstantFoldLoadThroughGEPConstantExprChris Lattner
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2011-12-12Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-12-03Add support for constant folding the pow intrinsic.Chad Rosier
2011-12-01Abuse of mass replace isn't warranted even when the build is failing. ThanksChad Rosier
2011-12-01Fix build by not assuming TLI is guaranteed. Will have to track down cases whereChad Rosier
2011-12-01Prevent library calls from being folded if -fno-builtin has been specified.Chad Rosier
2011-12-01Propagate TargetLibraryInfo throughout ConstantFolding.cpp and Chad Rosier
2011-08-29Fixes following the CR by Chris and Duncan:Nadav Rotem
2011-08-28Bitcasts are transitive. Bitcast-Bitcast-X becomes Bitcast-X.Nadav Rotem
2011-08-24Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem
2011-08-23Revert "Address Duncan's CR request:"Eric Christopher
2011-08-23Address Duncan's CR request:Nadav Rotem
2011-08-20Add constant folding support for bitcasts of splat vectors to integers.Nadav Rotem
2011-07-25Convert GetElementPtrInst to use ArrayRef.Jay Foad
2011-07-21Convert ConstantExpr::getGetElementPtr andJay Foad
2011-07-19Convert TargetData::getIndexedOffset to use ArrayRef.Jay Foad
2011-07-19Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad
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-06-23Revert "revert 133714"Rafael Espindola
2011-06-23revert 133714Dylan Noblesmith
2011-06-23133713 broke the build, revert it.Rafael Espindola
2011-06-23Support: make floating-exception header privateDylan Noblesmith
2011-06-20Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner
2011-05-22implement PR9315, constant folding exp2 in terms of pow (since hosts withoutChris Lattner
2011-04-11Don't include Operator.h from InstrTypes.h.Jay Foad
2011-03-27Constant folding support for calls to umul.with.overflow(), basically identic...Frits van Bommel
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-06Simplify test, as suggested by Chris.Anders Carlsson
2011-02-06When loading from a constant, fold inttoptr if the integer type and the resul...Anders Carlsson
2011-01-24Give GetUnderlyingObject a TargetData, to keep it in syncDan Gohman
2011-01-16fix PR8983, a broken assertion.Chris Lattner
2011-01-11Teach constant folding to perform conversions from constant floatingChandler Carruth
2011-01-10Cleanup some of the constant folding code to consistently test intrinsicChandler Carruth