aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InstructionSimplify.cpp
AgeCommit message (Expand)Author
2013-04-08InstructionSimplify.cpp: Fix a ligature, "fi", to get rid of utf8 in comment.NAKAMURA Takumi
2013-02-07Identify and simplify idempotent intrinsics. Test case included.Michael Ilseman
2013-02-01InstSimplify: stripAndComputeConstantOffsets can be called with vectors of po...Benjamin Kramer
2013-02-01Add a comment explaining an unavailable optimization.Dan Gohman
2013-02-01Rewrite instsimplify's handling if icmp on pointer values to remove theDan Gohman
2013-01-31An alloca can be equal to an argument. It can't *alias* an alloca, but it couldDan Gohman
2013-01-31Change stripAndComputeConstantOffsets to accept a NULL DataLayout pointerDan Gohman
2013-01-31Add a comment.Dan Gohman
2013-01-31Minor code simplification.Dan Gohman
2013-01-31stripAndComputeConstantOffsets is only called on pointers; check thisDan Gohman
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-28Nuke some dead code that snuck in some how. I thought I had alreadyChandler Carruth
2012-12-28Teach instsimplify to use the constant folder where appropriate forChandler Carruth
2012-12-28Add entry points to instsimplify for simplifying calls. The entry pointsChandler Carruth
2012-12-13Rename isPowerOfTwo to isKnownToBeAPowerOfTwo.Rafael Espindola
2012-12-12The TargetData is not used for the isPowerOfTwo determination. It has neverRafael Espindola
2012-12-12Have SimplifyBinOp call the new FAdd/FSub/FMul helpers, with fast-math flags offMichael Ilseman
2012-12-12Added a slew of SimplifyInstruction floating-point optimizations, many of whi...Michael Ilseman
2012-12-11Holding my nose and moving the accumulation routine to GEPOperatorChandler Carruth
2012-12-09Reorganize FastMathFlags to be a wrapper around unsigned, and streamline some...Michael Ilseman
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-27Fast-math optimization: fold multiply by zeroMichael Ilseman
2012-11-16Make this easier to understand, as suggested by Chandler.Duncan Sands
2012-11-16InstructionSimplify should be able to simplify A+B==B+A to 'true'Duncan Sands
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-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-08-07Fix PR13412, a nasty miscompile due to the interleavedChandler Carruth
2012-05-17Remove extraneous ';'.Bill Wendling
2012-03-28Revert r153521 as it's causing large regressions on the nightly testers.Chad Rosier
2012-03-27Reapply r153423; the original commit was fine. The failing test, distray, had Chad Rosier
2012-03-26Revert r153423 as this is causing failures on our internal nightly testers.Chad Rosier
2012-03-26Use the new range metadata in computeMaskedBits and add a new optimization toRafael Espindola
2012-03-25Teach instsimplify how to simplify comparisons of pointers which areChandler Carruth
2012-03-25Switch the pointer-difference simplification logic to only work withChandler Carruth
2012-03-24Try to harden the recursive simplification still further. This is againChandler Carruth
2012-03-24Don't add the instruction about to be RAUW'ed and erased to theChandler Carruth
2012-03-24Refactor the interface to recursively simplifying instructions to be tadChandler Carruth
2012-03-21Teach instsimplify to gracefully degrade in the presence of instructionsChandler Carruth
2012-03-15Type sizes and fields offsets inside structs are unsigned. This is a highlyDuncan Sands
2012-03-13Generalize the "trunc(ptrtoint(x)) - trunc(ptrtoint(y)) ->Duncan Sands
2012-03-13Uniformize the InstructionSimplify interface by ensuring that all routinesDuncan Sands
2012-03-13Fix regression from r151466: an we can't replace uses of an instruction reach...Eli Friedman