aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
2012-04-08Teach InstCombine to nuke a common alloca pattern -- an alloca which hasChandler Carruth
2012-04-04Always compute all the bits in ComputeMaskedBits.Rafael Espindola
2012-03-26153465 was incorrect. In this code we wanted to check that the pointer operan...Nadav Rotem
2012-03-26PR12357: The pointer was used before it was checked.Nadav Rotem
2012-03-26eliminate an unneeded branch, part of PR12357Chris Lattner
2012-03-16Revert r152907.Bill Wendling
2012-03-16The alignment of the pointer part of the store instruction may have anBill Wendling
2012-03-16In InstCombiner::visitOr, make sure we reverse the operand swap used for chec...Eli Friedman
2012-03-15Use an iterator instead of calling .size() on the worklist every time, which ...Bill Wendling
2012-03-11llvm::SwitchInstStepan Dyatkovskiy
2012-03-08Taken into account Duncan's comments for r149481 dated by 2nd Feb 2012:Stepan Dyatkovskiy
2012-02-29Restrict this transformation to equality conditions.Bill Wendling
2012-02-21Fix unsigned off-by-one in comment.Benjamin Kramer
2012-02-21InstCombine: Don't transform a signed icmp of two GEPs into a signed compare ...Benjamin Kramer
2012-02-20InstCombine: Removing the base from the address calculation is only safe when...Benjamin Kramer
2012-02-20InstCombine: When comparing two GEPs that were derived from the same base poi...Benjamin Kramer
2012-02-20InstCombine: Make OptimizePointerDifference more aggressive.Benjamin Kramer
2012-02-13Check against umin while converting fcmp into an icmp.Devang Patel
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-06[unwind removal] We no longer have 'unwind' instructions being generated, soBill Wendling
2012-02-06Make helper static.Benjamin Kramer
2012-02-03Narrow test further. Make bot and test happy.Jim Grosbach
2012-02-03Tidy up. Trailing whitespace.Jim Grosbach
2012-02-03Restrict InstCombine from converting varargs to or from fixed args.Jim Grosbach
2012-02-03Revert "Disable InstCombine unsafe folding bitcasts of calls w/ varargs."Jim Grosbach
2012-02-01SwitchInst refactoring.Stepan Dyatkovskiy
2012-02-01Disable InstCombine unsafe folding bitcasts of calls w/ varargs.Jim Grosbach
2012-01-31enhance logic to support ConstantDataArray.Chris Lattner
2012-01-27continue making the world safe for ConstantDataVector. At this point,Chris Lattner
2012-01-26Continue improving support for ConstantDataAggregate, and use theChris Lattner
2012-01-26some general cleanup, using new methods and tidying up old code.Chris Lattner
2012-01-25use Constant::getAggregateElement to simplify a bunch of code.Chris Lattner
2012-01-25use ConstantVector::getSplat in a few places.Chris Lattner
2012-01-24basic instcombine support for CDS.Chris Lattner
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-20Extend Attributes to 64 bitsKostya Serebryany
2012-01-09Move assert to the right place.Benjamin Kramer
2012-01-09InstCombine: Teach foldLogOpOfMaskedICmpsHelper that sign bit tests are bit t...Benjamin Kramer
2012-01-08Tweak my last commit to be less conservative about uses.Benjamin Kramer
2012-01-08InstCombine: If we have a bit test and a sign test anded/ored together, merge...Benjamin Kramer
2012-01-04Remove pointless asserts.Nick Lewycky
2012-01-04Teach instcombine all sorts of great stuff about shifts that have exact, nuw orNick Lewycky
2011-12-31Make use of the exact bit when optimizing '(X >>exact 3) << 1' to eliminate theNick Lewycky
2011-12-24InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x...Benjamin Kramer
2011-12-24InstCombine: Canonicalize (2^n)-1 - x into (2^n)-1 ^ x iff x is known to be s...Benjamin Kramer
2011-12-17Refactor code used in InstCombine::FoldAndOfICmps to new file.Pete Cooper
2011-12-17The powers that be have decided that LLVM IR should now support 16-bitDan Gohman
2011-12-15Added InstCombine for "select cond, ~cond, x" type patternsPete Cooper
2011-12-12LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar