aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PeepholeOptimizer.cpp
AgeCommit message (Expand)AuthorFilesLines
2014-10-15Avoid caching the MachineFunction, we don't use it outside ofEric Christopher1-9/+7
2014-10-14[AAarch64] Optimize CSINC-branch sequenceGerolf Hoflehner1-0/+12
2014-10-14Instead of the TargetMachine cache the MachineFunctionEric Christopher1-14/+13
2014-08-21[PeepholeOptimizer] Enable the advanced copy optimization by default.Quentin Colombet1-1/+1
2014-08-21[PeepholeOptimizer] Update the kill flags when extending the live-range of theQuentin Colombet1-1/+5
2014-08-21[PeepholeOptimizer] Take advantage of the isInsertSubreg property in theQuentin Colombet1-32/+15
2014-08-20[PeepholeOptimizer] Take advantage of the isExtractSubreg property in theQuentin Colombet1-24/+12
2014-08-20[PeepholeOptimizer] Refactor the advanced copy optimization to take advantage ofQuentin Colombet1-169/+607
2014-08-11PeepholeOptimizer: make parameter ref to SmallPtrSetImplHans Wennborg1-2/+2
2014-08-11Re-commit "Increase the size of this SmallVector in PeepholeOptimizer." (r215...Hans Wennborg1-3/+3
2014-08-11Revert "Increase the size of this SmallVector in PeepholeOptimizer." (r215340)Hans Wennborg1-1/+1
2014-08-11Increase the size of this SmallVector in PeepholeOptimizer.Hans Wennborg1-1/+1
2014-08-04Remove the TargetMachine forwards for TargetSubtargetInfo basedEric Christopher1-5/+8
2014-07-01[PeepholeOptimzer] Fix a typo in a comment.Quentin Colombet1-1/+1
2014-07-01[PeepholeOptimizer] Advanced rewriting of copies to avoid cross register banksQuentin Colombet1-13/+368
2014-04-22[Modules] Remove potential ODR violations by sinking the DEBUG_TYPEChandler Carruth1-1/+2
2014-04-14[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-6/+6
2014-04-03[CodeGen] Fix peephole optimizer bug introduced in r205481. Fixes PR19318.Lang Hames1-9/+11
2014-04-02[CodeGen] Teach the peephole optimizer to remember (and exploit) all foldingLang Hames1-35/+44
2014-03-31Disable each MachineFunctionPass for 'optnone' functions, unless thatPaul Robinson1-0/+3
2014-03-17Switch a number of loops in lib/CodeGen over to range-based for-loops, now thatOwen Anderson1-13/+6
2014-03-13Phase 2 of the great MachineRegisterInfo cleanup. This time, we're changingOwen Anderson1-7/+7
2014-03-13Fix for http://llvm.org/bugs/show_bug.cgi?id=18590Ekaterina Romanova1-3/+11
2014-03-07[C++11] Add 'override' keyword to virtual methods that override their base cl...Craig Topper1-2/+2
2014-03-07Replace PROLOG_LABEL with a new CFI_INSTRUCTION.Rafael Espindola1-1/+1
2013-09-13[Peephole] Rewrite copies to avoid cross register banks copies.Quentin Colombet1-84/+166
2012-12-17Add debug prints for when optimizeLoadInstr folds a load.Craig Topper1-0/+6
2012-12-11Add comment for load foldingJoel Jones1-0/+5
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-5/+5
2012-10-15Make sure we iterate over newly created instructions. Fixes pr13625. Testcase toRafael Espindola1-0/+5
2012-08-17Use standard pattern for iterate+erase.Jakob Stoklund Olesen1-9/+2
2012-08-16Add an MCID::Select flag and TII hooks for optimizing selects.Jakob Stoklund Olesen1-16/+27
2012-08-02X86 Peephole: fold loads to the source register operand if possible.Manman Ren1-14/+15
2012-08-02X86 Peephole: fold loads to the source register operand if possible.Manman Ren1-0/+57
2012-07-29Revert r160920 and r160919 due to dragonegg and clang selfhost failureManman Ren1-22/+0
2012-07-28X86 Peephole: fold loads to the source register operand if possible.Manman Ren1-0/+22
2012-06-29Add SrcReg2 to analyzeCompare and optimizeCompareInstr to handle CompareManman Ren1-4/+5
2012-06-19Implement PPCInstrInfo::isCoalescableExtInstr().Jakob Stoklund Olesen1-3/+19
2012-06-19Style: Don't reuse variables for multiple purposes.Jakob Stoklund Olesen1-8/+7
2012-06-06Revert r157755.Manman Ren1-1/+0
2012-05-31X86: replace SUB with CMP if possibleManman Ren1-0/+1
2012-05-20Constrain regclasses in PeepholeOptimizer.Jakob Stoklund Olesen1-1/+10
2012-05-11ARM: peephole optimization to remove cmp instructionManman Ren1-0/+9
2012-05-10Revert: 156550 "ARM: peephole optimization to remove cmp instruction"Manman Ren1-9/+0
2012-05-10ARM: peephole optimization to remove cmp instructionManman Ren1-0/+9
2012-05-01Tidy up. Naming conventions.Jim Grosbach1-16/+16
2012-02-25Make the peephole optimizer clear kill flags on a vreg if it's about to add newLang Hames1-0/+4
2012-02-25Fixed typo.Lang Hames1-1/+1
2012-02-08Codegen pass definition cleanup. No functionality.Andrew Trick1-4/+1
2012-02-08whitespaceAndrew Trick1-7/+7