aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* When constant folding GEP expressions, keep the address space information of ...Nadav Rotem2012-07-301-3/+19
* When folding a load from a global constant, if the load started in the middleDuncan Sands2012-07-251-5/+8
* Reapply r155682, making constant folding more consistent, with a fix to workDan Gohman2012-04-271-7/+20
* Revert r155682, "Use ConstantExpr::getExtractElement when constant-folding ve...NAKAMURA Takumi2012-04-271-14/+4
* Use ConstantExpr::getExtractElement when constant-folding vectorsDan Gohman2012-04-271-4/+14
* Fix a crash on valid (if UB) bitcode that is produced for some globalChandler Carruth2012-04-241-3/+11
* Convert assert(0) to llvm_unreachableCraig Topper2012-02-071-2/+2
* Remove some dead code and tidy things up now that vectors use ConstantDataVectorChris Lattner2012-02-061-18/+14
* reapply the patches reverted in r149470 that reenable ConstantDataArray,Chris Lattner2012-02-051-3/+3
* Revert Chris' commits up to r149348 that started causing VMCoreTests unit tes...Argyrios Kyrtzidis2012-02-011-3/+3
* Change ConstantArray::get to form a ConstantDataArray when possible,Chris Lattner2012-01-311-3/+3
* Add r149110 back with a fix for when the vector and the int have the sameRafael Espindola2012-01-271-0/+38
* Revert r149110 and add a testcase that was crashing since that revision.Rafael Espindola2012-01-271-38/+0
* enhance constant folding to be able to constant fold bitcast of Chris Lattner2012-01-271-0/+38
* progress making the world safe to ConstantDataVector. WhileChris Lattner2012-01-261-39/+45
* use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner2012-01-251-73/+24
* Use the right method to get the # elements in a CDS.Chris Lattner2012-01-251-2/+2
* Split the interesting bits of ConstantFoldLoadThroughGEPConstantExprChris Lattner2012-01-241-43/+56
* More dead code removal (using -Wunreachable-code)David Blaikie2012-01-201-2/+0
* Switch llvm.cttz and llvm.ctlz to accept a second i1 parameter whichChandler Carruth2011-12-121-4/+8
* Add support for vectors of pointers.Nadav Rotem2011-12-051-1/+2
* Add support for constant folding the pow intrinsic.Chad Rosier2011-12-031-3/+6
* Abuse of mass replace isn't warranted even when the build is failing. ThanksChad Rosier2011-12-011-25/+29
* Fix build by not assuming TLI is guaranteed. Will have to track down cases whereChad Rosier2011-12-011-24/+23
* Prevent library calls from being folded if -fno-builtin has been specified.Chad Rosier2011-12-011-23/+24
* Propagate TargetLibraryInfo throughout ConstantFolding.cpp and Chad Rosier2011-12-011-26/+35
* Fixes following the CR by Chris and Duncan:Nadav Rotem2011-08-291-6/+0
* Bitcasts are transitive. Bitcast-Bitcast-X becomes Bitcast-X.Nadav Rotem2011-08-281-0/+6
* Implement Constant::isAllOnesValue(). Fix ConstantFolding to use the new api.Nadav Rotem2011-08-241-10/+7
* Revert "Address Duncan's CR request:"Eric Christopher2011-08-231-4/+9
* Address Duncan's CR request:Nadav Rotem2011-08-231-9/+4
* Add constant folding support for bitcasts of splat vectors to integers.Nadav Rotem2011-08-201-2/+10
* Convert GetElementPtrInst to use ArrayRef.Jay Foad2011-07-251-2/+1
* Convert ConstantExpr::getGetElementPtr andJay Foad2011-07-211-4/+3
* Convert TargetData::getIndexedOffset to use ArrayRef.Jay Foad2011-07-191-7/+5
* Use ArrayRef in ConstantFoldInstOperands and ConstantFoldCall.Jay Foad2011-07-191-22/+21
* land David Blaikie's patch to de-constify Type, with a few tweaks.Chris Lattner2011-07-181-31/+31
* Convert InsertValueInst and ExtractValueInst APIs to use ArrayRef.Jay Foad2011-07-131-2/+2
* Revert "revert 133714"Rafael Espindola2011-06-231-2/+1
* revert 133714Dylan Noblesmith2011-06-231-1/+2
* 133713 broke the build, revert it.Rafael Espindola2011-06-231-2/+1
* Support: make floating-exception header privateDylan Noblesmith2011-06-231-1/+2
* Revamp the "ConstantStruct::get" methods. Previously, these were scatteredChris Lattner2011-06-201-1/+1
* implement PR9315, constant folding exp2 in terms of pow (since hosts withoutChris Lattner2011-05-221-1/+7
* Don't include Operator.h from InstrTypes.h.Jay Foad2011-04-111-0/+1
* Constant folding support for calls to umul.with.overflow(), basically identic...Frits van Bommel2011-03-271-3/+8
* convert ConstantVector::get to use ArrayRef.Chris Lattner2011-02-151-2/+2
* revert my ConstantVector patch, it seems to have made the llvm-gccChris Lattner2011-02-141-2/+2
* Switch ConstantVector::get to use ArrayRef instead of a pointer+sizeChris Lattner2011-02-141-2/+2
* Simplify test, as suggested by Chris.Anders Carlsson2011-02-061-6/+2