Lines Matching defs:CmpInstr
2377 bool PPCInstrInfo::optimizeCompareInstr(MachineInstr &CmpInstr, Register SrcReg,
2384 int OpC = CmpInstr.getOpcode();
2385 Register CRReg = CmpInstr.getOperand(0).getReg();
2460 MachineBasicBlock::iterator I = CmpInstr;
2463 for (MachineBasicBlock::iterator EL = CmpInstr.getParent()->end(); I != EL;
2492 else if (MI->getParent() != CmpInstr.getParent())
2538 CmpInstr.getOperand(2).setImm(0);
2544 // Get ready to iterate backward from CmpInstr.
2545 MachineBasicBlock::iterator E = MI, B = CmpInstr.getParent()->begin();
2551 if (&*I != &CmpInstr && (Instr.modifiesRegister(PPC::CR0, TRI) ||
2560 // Check whether CmpInstr can be made redundant by the current instruction.
2614 // operands to OperandsToUpdate. If it is safe to remove CmpInstr, the
2665 CmpInstr.eraseFromParent();