aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine
AgeCommit message (Expand)Author
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
2011-12-05Add support for vectors of pointers.Nadav Rotem
2011-12-02Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier
2011-12-01Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetDataChad Rosier
2011-12-01Improved fix for abs(val) != 0 to check other similar case. Also fixed style...Pete Cooper
2011-12-01Added instcombine pattern to spot comparing -val or val against 0.Pete Cooper
2011-11-30Whitespace.Chad Rosier
2011-11-29Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable Chad Rosier
2011-11-29build/CMake: Finish removal of add_llvm_library_dependencies.Daniel Dunbar
2011-11-29Zap some completely ridiculous code. There's probably a miscompile here, but...Eli Friedman
2011-11-28Add a missing safety check to ProcessUGT_ADDCST_ADD. Fixes PR11438.Eli Friedman
2011-11-20Refactor code to use new attribute getters on CallSite for NoCapture and ByVal.Nick Lewycky
2011-11-15Remove all remaining uses of Value::getNameStr().Benjamin Kramer
2011-11-07InstCombine now optimizes vector udiv by power of 2 to shiftsPete Cooper
2011-11-03build: Add initial cut at LLVMBuild.txt files.Daniel Dunbar
2011-11-01Make sure we use the right insertion point when instcombine replaces a PHI wi...Eli Friedman
2011-10-21Minor simplification: use ShuffleVectorInst::getMaskValue instead of a more e...Eli Friedman
2011-10-21Extend instcombine's shufflevector simplification to handle more cases where ...Eli Friedman
2011-10-17Add support for the Objective-C personality function to the instructionBill Wendling
2011-10-17Add a routine to swap branch instruction operands, and update anyChandler Carruth
2011-10-05Re-commit 141203, but much more conservative.Jim Grosbach
2011-10-05Revert 141203. InstCombine is looping on unit tests.Jim Grosbach