aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ConstantFolding.cpp
Commit message (Expand)AuthorAgeFilesLines
* Revert the majority of the next patch in the address space series:Chandler Carruth2012-11-011-7/+5
* Revert the series of commits starting with r166578 which introduced theChandler Carruth2012-11-011-124/+117
* Add some cleanup to the DataLayout changes requested by Chandler.Micah Villmow2012-10-241-2/+1
* Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow2012-10-241-115/+123
* Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow2012-10-151-5/+7
* Revert 165732 for further review.Micah Villmow2012-10-111-7/+5
* Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow2012-10-111-5/+7
* Move TargetData to DataLayout.Micah Villmow2012-10-081-17/+17
* Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky2012-09-061-1/+2
* 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