Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:PeepholeOptimizer

1 //===-- PeepholeOptimizer.cpp - Peephole Optimizations --------------------===//
91 class PeepholeOptimizer : public MachineFunctionPass {
99 PeepholeOptimizer() : MachineFunctionPass(ID) {
130 char PeepholeOptimizer::ID = 0;
131 char &llvm::PeepholeOptimizerID = PeepholeOptimizer::ID;
132 INITIALIZE_PASS_BEGIN(PeepholeOptimizer, "peephole-opts",
135 INITIALIZE_PASS_END(PeepholeOptimizer, "peephole-opts",
147 bool PeepholeOptimizer::
311 bool PeepholeOptimizer::optimizeBitcastInstr(MachineInstr *MI,
377 bool PeepholeOptimizer::optimizeCmpInstr(MachineInstr *MI,
398 bool PeepholeOptimizer::optimizeSelect(MachineInstr *MI) {
417 bool PeepholeOptimizer::isLoadFoldable(MachineInstr *MI,
438 bool PeepholeOptimizer::isMoveImmediate(MachineInstr *MI,
459 bool PeepholeOptimizer::foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB,
481 bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {