Lines Matching refs:PeepholeOptimizer
123 class PeepholeOptimizer : public MachineFunctionPass { class
131 PeepholeOptimizer() : MachineFunctionPass(ID) { in PeepholeOptimizer() function in __anon2734e12b0111::PeepholeOptimizer
395 char PeepholeOptimizer::ID = 0;
396 char &llvm::PeepholeOptimizerID = PeepholeOptimizer::ID;
397 INITIALIZE_PASS_BEGIN(PeepholeOptimizer, "peephole-opts",
400 INITIALIZE_PASS_END(PeepholeOptimizer, "peephole-opts", in INITIALIZE_PASS_DEPENDENCY()
412 bool PeepholeOptimizer:: in INITIALIZE_PASS_DEPENDENCY()
562 bool PeepholeOptimizer::optimizeCmpInstr(MachineInstr *MI, in optimizeCmpInstr()
583 bool PeepholeOptimizer::optimizeSelect(MachineInstr *MI, in optimizeSelect()
602 bool PeepholeOptimizer::optimizeCondBranch(MachineInstr *MI) { in optimizeCondBranch()
617 bool PeepholeOptimizer::findNextSource(unsigned Reg, unsigned SubReg, in findNextSource()
822 PeepholeOptimizer::RewriteMapTy &RewriteMap, in getNewSource()
875 PeepholeOptimizer::RewriteMapTy &RewriteMap) { in RewriteSource()
930 PeepholeOptimizer::RewriteMapTy &RewriteMap) override { in RewriteSource()
1185 bool PeepholeOptimizer::optimizeCoalescableCopy(MachineInstr *MI) { in optimizeCoalescableCopy()
1246 bool PeepholeOptimizer::optimizeUncoalescableCopy( in optimizeUncoalescableCopy()
1296 bool PeepholeOptimizer::isLoadFoldable( in isLoadFoldable()
1318 bool PeepholeOptimizer::isMoveImmediate(MachineInstr *MI, in isMoveImmediate()
1339 bool PeepholeOptimizer::foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, in foldImmediate()
1378 bool PeepholeOptimizer::foldRedundantCopy( in foldRedundantCopy()
1423 bool PeepholeOptimizer::isNAPhysCopy(unsigned Reg) { in isNAPhysCopy()
1428 bool PeepholeOptimizer::foldRedundantNAPhysCopy( in foldRedundantNAPhysCopy()
1476 bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction()