aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
2012-10-24Add some cleanup to the DataLayout changes requested by Chandler.Micah Villmow
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow
2012-10-11Revert 165732 for further review.Micah Villmow
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-09-06Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky
2012-07-30When constant folding GEP expressions, keep the address space information of ...Nadav Rotem
2012-07-25When folding a load from a global constant, if the load started in the middleDuncan Sands
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-24Fix a crash on valid (if UB) bitcode that is produced for some globalChandler Carruth
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