Searched refs:OperandIdx (Results 1 – 5 of 5) sorted by relevance
90 int OperandIdx = TII->getOperandIdx(BI->getOpcode(), AMDGPU::OpName::write); in getPreviousVector() local91 if (OperandIdx > -1 && BI->getOperand(OperandIdx).getImm() == 0) in getPreviousVector()140 int OperandIdx = TII->getOperandIdx(MI->getOpcode(), Ops[i]); in substitutePV() local141 if (OperandIdx < 0) in substitutePV()143 unsigned Src = MI->getOperand(OperandIdx).getReg(); in substitutePV()146 MI->getOperand(OperandIdx).setReg(It->second); in substitutePV()
2193 int OperandIdx[] = { in PostISelFolding() local2224 if (OperandIdx[i] < 0) in PostISelFolding()2226 SDValue &Src = Ops[OperandIdx[i] - 1]; in PostISelFolding()2230 int SelIdx = TII->getSelIdx(Opcode, OperandIdx[i]); in PostISelFolding()2259 int OperandIdx[] = { in PostISelFolding() local2275 if (OperandIdx[i] < 0) in PostISelFolding()2277 SDValue &Src = Ops[OperandIdx[i] - 1]; in PostISelFolding()2282 int SelIdx = TII->getSelIdx(Opcode, OperandIdx[i]); in PostISelFolding()
170 int getOperandCycle(unsigned ItinClassIndx, unsigned OperandIdx) const { in getOperandCycle() argument176 if ((FirstIdx + OperandIdx) >= LastIdx) in getOperandCycle()179 return (int)OperandCycles[FirstIdx + OperandIdx]; in getOperandCycle()
339 static void printOperand(raw_ostream &OS, uint8_t Opcode, unsigned OperandIdx, in printOperand() argument342 assert(OperandIdx < 2); in printOperand()343 OperandType Type = OpTypes[Opcode][OperandIdx]; in printOperand()347 OS << " Unsupported " << (OperandIdx ? "second" : "first") << " operand to"; in printOperand()
4099 unsigned OperandIdx) { in canCauseUndefinedBehavior() argument4102 if (OperandIdx != 1) in canCauseUndefinedBehavior()