aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PeepholeOptimizer.cpp
AgeCommit message (Expand)Author
2012-02-25Make the peephole optimizer clear kill flags on a vreg if it's about to add newLang Hames
2012-02-25Fixed typo.Lang Hames
2012-02-08Codegen pass definition cleanup. No functionality.Andrew Trick
2012-02-08whitespaceAndrew Trick
2011-12-07Add bundle aware API for querying instruction properties and switch the codeEvan Cheng
2011-10-13If MI is deleted then remove it from the set. If a new MI is created, it couldNick Lewycky
2011-07-26SrcDef is only written and never read. Remove it.Duncan Sands
2011-06-28- Rename TargetInstrDesc, TargetOperandInfo to MCInstrDesc and MCOperandInfo andEvan Cheng
2011-03-15Add a peephole optimization to optimize pairs of bitcasts. e.g.Evan Cheng
2011-02-15Fix thinko. Cmp can be the first instruction in a MBB.Evan Cheng
2011-02-14Fix PR8854. Track inserted copies to avoid read before write. Sorry, it's har...Evan Cheng
2011-01-10Simplify a bunch of isVirtualRegister() and isPhysicalRegister() logic.Jakob Stoklund Olesen
2011-01-07Do not model all INLINEASM instructions as having unmodelled side effects.Evan Cheng
2011-01-07DBG_VALUE does not have any side effects; it also makes no sense to mark it c...Evan Cheng
2010-11-17Remove ARM isel hacks that fold large immediates into a pair of add, sub, and,Evan Cheng
2010-11-15Code clean up. The peephole pass should be the one updating the instructionEvan Cheng
2010-11-01When we look at instructions to convert to setting the 's' flag, we need to lookBill Wendling
2010-11-01The testcase is now XFAILed. Sorry about the breakage.Bill Wendling
2010-10-31Revert r117876 for now, it's causing more testsuite failures.Eric Christopher
2010-10-31Disable the peephole optimizer until 186.crafty on armv6 is fixed. This is whatBill Wendling
2010-10-19Get rid of static constructors for pass registration. Instead, every pass ex...Owen Anderson
2010-10-18Don't recompute MachineRegisterInfo in the Optimize* method.Bill Wendling
2010-10-12Begin adding static dependence information to passes, which will allow us toOwen Anderson
2010-10-07Now with fewer extraneous semicolons!Owen Anderson
2010-09-21Move the search for the appropriate AND instructionGabor Greif
2010-09-14must not peephole away side effectsGabor Greif
2010-09-11Rename ConvertToSetZeroFlag to something more general.Bill Wendling
2010-09-10No need to recompute the SrcReg and CmpValue.Bill Wendling
2010-09-10Move some of the decision logic for converting an instruction into one that setsBill Wendling
2010-09-10Modify the comparison optimizations in the peephole optimizer to update theBill Wendling
2010-08-27Remove now unneeded command line flag that enables 'optimize compares.'Bill Wendling
2010-08-10Turn optimize compares back on with fix. We needed to test that a machine op wasBill Wendling
2010-08-10Revert r110718; it broke clang-i386-darwin9.Dan Gohman
2010-08-10Turn optimize cmps on by default so that we can get some testing by the nightlyBill Wendling
2010-08-09Merge the OptimizeExts and OptimizeCmps passes into one PeepholeOptimizerBill Wendling