Lines Matching refs:getOperand
131 if (II->getOperand(i).isReg() && in canBeFeederToNewValueJump()
132 (II->getOperand(i).isUse() || II->getOperand(i).isDef())) { in canBeFeederToNewValueJump()
135 unsigned Reg = II->getOperand(i).getReg(); in canBeFeederToNewValueJump()
210 int64_t v = MI->getOperand(2).getImm(); in canCompareBeNewValueJump()
224 cmpReg1 = MI->getOperand(1).getReg(); in canCompareBeNewValueJump()
227 cmpOp2 = MI->getOperand(2).getReg(); in canCompareBeNewValueJump()
406 predReg = MI->getOperand(0).getReg(); in runOnMachineFunction()
435 jmpTarget = MI->getOperand(1).getMBB(); in runOnMachineFunction()
453 MI->getOperand(0).isReg() && in runOnMachineFunction()
454 MI->getOperand(0).getReg() == predReg) { in runOnMachineFunction()
461 isSecondOpReg = MI->getOperand(2).isReg(); in runOnMachineFunction()
473 cmpReg1 = MI->getOperand(1).getReg(); in runOnMachineFunction()
474 if (MI->getOperand(1).isKill()) in runOnMachineFunction()
478 cmpOp2 = MI->getOperand(2).getReg(); in runOnMachineFunction()
479 if (MI->getOperand(2).isKill()) in runOnMachineFunction()
482 cmpOp2 = MI->getOperand(2).getImm(); in runOnMachineFunction()
495 if (MI->getOperand(0).isReg() && in runOnMachineFunction()
496 MI->getOperand(0).isDef() && in runOnMachineFunction()
497 (MI->getOperand(0).getReg() == cmpReg1 || in runOnMachineFunction()
499 MI->getOperand(0).getReg() == (unsigned) cmpOp2))) { in runOnMachineFunction()
501 unsigned feederReg = MI->getOperand(0).getReg(); in runOnMachineFunction()
553 MachineOperand &MO = MI->getOperand(i); in runOnMachineFunction()
560 MachineOperand &localMO = localMI->getOperand(j); in runOnMachineFunction()
623 if (cmpInstr->getOperand(0).isReg() && in runOnMachineFunction()
624 cmpInstr->getOperand(0).isKill()) in runOnMachineFunction()
625 cmpInstr->getOperand(0).setIsKill(false); in runOnMachineFunction()
626 if (cmpInstr->getOperand(1).isReg() && in runOnMachineFunction()
627 cmpInstr->getOperand(1).isKill()) in runOnMachineFunction()
628 cmpInstr->getOperand(1).setIsKill(false); in runOnMachineFunction()