Lines Matching refs:OpIdx
1054 int MachineInstr::findInlineAsmFlagIdx(unsigned OpIdx, in findInlineAsmFlagIdx() argument
1057 assert(OpIdx < getNumOperands() && "OpIdx out of range"); in findInlineAsmFlagIdx()
1060 if (OpIdx < InlineAsm::MIOp_FirstOperand) in findInlineAsmFlagIdx()
1072 if (i + NumOps > OpIdx) { in findInlineAsmFlagIdx()
1083 MachineInstr::getRegClassConstraint(unsigned OpIdx, in getRegClassConstraint() argument
1092 return TII->getRegClass(getDesc(), OpIdx, TRI, MF); in getRegClassConstraint()
1094 if (!getOperand(OpIdx).isReg()) in getRegClassConstraint()
1099 if (getOperand(OpIdx).isUse() && isRegTiedToDefOperand(OpIdx, &DefIdx)) in getRegClassConstraint()
1100 OpIdx = DefIdx; in getRegClassConstraint()
1103 int FlagIdx = findInlineAsmFlagIdx(OpIdx); in getRegClassConstraint()
1137 unsigned OpIdx, unsigned Reg, const TargetRegisterClass *CurRC, in getRegClassConstraintEffectForVRegImpl() argument
1141 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffectForVRegImpl()
1145 return getRegClassConstraintEffect(OpIdx, CurRC, TII, TRI); in getRegClassConstraintEffectForVRegImpl()
1149 unsigned OpIdx, const TargetRegisterClass *CurRC, in getRegClassConstraintEffect() argument
1151 const TargetRegisterClass *OpRC = getRegClassConstraint(OpIdx, TII, TRI); in getRegClassConstraintEffect()
1152 const MachineOperand &MO = getOperand(OpIdx); in getRegClassConstraintEffect()
1316 unsigned MachineInstr::findTiedOperandIdx(unsigned OpIdx) const { in findTiedOperandIdx()
1317 const MachineOperand &MO = getOperand(OpIdx); in findTiedOperandIdx()
1332 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
1351 if (OpIdx > i && OpIdx < i + NumOps) in findTiedOperandIdx()
1362 return OpIdx - Delta; in findTiedOperandIdx()
1366 return OpIdx + Delta; in findTiedOperandIdx()
1845 unsigned OpIdx = DeadOps.back(); in addRegisterKilled() local
1846 if (getOperand(OpIdx).isImplicit()) in addRegisterKilled()
1847 RemoveOperand(OpIdx); in addRegisterKilled()
1849 getOperand(OpIdx).setIsKill(false); in addRegisterKilled()
1909 unsigned OpIdx = DeadOps.back(); in addRegisterDead() local
1910 if (getOperand(OpIdx).isImplicit()) in addRegisterDead()
1911 RemoveOperand(OpIdx); in addRegisterDead()
1913 getOperand(OpIdx).setIsDead(false); in addRegisterDead()