aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PeepholeOptimizer.cpp
AgeCommit message (Expand)Author
2012-12-17Add debug prints for when optimizeLoadInstr folds a load.Craig Topper
2012-12-11Add comment for load foldingJoel Jones
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-10-15Make sure we iterate over newly created instructions. Fixes pr13625. Testcase toRafael Espindola
2012-08-17Use standard pattern for iterate+erase.Jakob Stoklund Olesen
2012-08-16Add an MCID::Select flag and TII hooks for optimizing selects.Jakob Stoklund Olesen
2012-08-02X86 Peephole: fold loads to the source register operand if possible.Manman Ren
2012-08-02X86 Peephole: fold loads to the source register operand if possible.Manman Ren
2012-07-29Revert r160920 and r160919 due to dragonegg and clang selfhost failureManman Ren
2012-07-28X86 Peephole: fold loads to the source register operand if possible.Manman Ren
2012-06-29Add SrcReg2 to analyzeCompare and optimizeCompareInstr to handle CompareManman Ren
2012-06-19Implement PPCInstrInfo::isCoalescableExtInstr().Jakob Stoklund Olesen
2012-06-19Style: Don't reuse variables for multiple purposes.Jakob Stoklund Olesen
2012-06-06Revert r157755.Manman Ren
2012-05-31X86: replace SUB with CMP if possibleManman Ren
2012-05-20Constrain regclasses in PeepholeOptimizer.Jakob Stoklund Olesen
2012-05-11ARM: peephole optimization to remove cmp instructionManman Ren
2012-05-10Revert: 156550 "ARM: peephole optimization to remove cmp instruction"Manman Ren
2012-05-10ARM: peephole optimization to remove cmp instructionManman Ren
2012-05-01Tidy up. Naming conventions.Jim Grosbach
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