Lines Matching refs:SrcIdx
126 unsigned SrcIdx, unsigned DstIdx,
856 unsigned SrcIdx, unsigned DstIdx, unsigned Dist,
860 unsigned regB = mi->getOperand(SrcIdx).getReg();
882 if (SrcIdx == SrcOp1)
884 else if (SrcIdx == SrcOp2)
1082 for (unsigned SrcIdx = 0; SrcIdx < NumOps; ++SrcIdx) {
1084 if (!mi->isRegTiedToDefOperand(SrcIdx, &DstIdx))
1093 assert(mi->getOperand(SrcIdx).isReg() &&
1094 mi->getOperand(SrcIdx).getReg() &&
1095 mi->getOperand(SrcIdx).isUse() &&
1098 unsigned regB = mi->getOperand(SrcIdx).getReg();
1099 TiedOperands[regB].push_back(std::make_pair(SrcIdx, DstIdx));
1111 unsigned SrcIdx = TiedPairs[0].first;
1115 if (mi->getOperand(SrcIdx).getReg() ==
1119 if (TryInstructionTransform(mi, nmi, mbbi, SrcIdx, DstIdx, Dist,
1130 unsigned SrcIdx = TiedPairs[tpi].first;
1139 regB = mi->getOperand(SrcIdx).getReg();
1189 MachineOperand &MO = mi->getOperand(SrcIdx);