aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ConstantFolding.cpp
AgeCommit message (Expand)Author
2013-02-26Constant fold vector bitcasts of halves similarly to how floats and doubles a...Michael Ilseman
2013-02-20Formatting.Chad Rosier
2013-02-14Teach the DataLayout aware constant folder to be much more aggressive towardsNick Lewycky
2013-02-07Conditionalize constant folding of math intrinsics on the availability of an ...Owen Anderson
2013-02-06Signficantly generalize our ability to constant fold floating point intrinsic...Owen Anderson
2013-02-05ConstantFolding: Fix a crash when encoutering a truncating inttoptr.Benjamin Kramer
2013-02-03use GEP::accumulateConstantOffset() to replace custom written code to compute...Nuno Lopes
2013-01-24ConstantFolding: Add a missing folding that leads to a miscompile.Benjamin Kramer
2013-01-23ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not th...Benjamin Kramer
2013-01-23ConstantFolding: Evaluate GEP indices in the index type.Benjamin Kramer
2013-01-22Make APFloat constructor require explicit semantics.Tim Northover
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
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-11-08llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFr...NAKAMURA Takumi
2012-11-05ConstantFolding.cpp: Whitespace.NAKAMURA Takumi
2012-11-01Revert the majority of the next patch in the address space series:Chandler Carruth
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
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