Lines Matching refs:Src1Idx

902   int Src1Idx = AMDGPU::getNamedOperandIdx(MI->getOpcode(),  in commuteInstructionImpl()  local
906 OpIdx1 != static_cast<unsigned>(Src1Idx)) && in commuteInstructionImpl()
907 (OpIdx0 != static_cast<unsigned>(Src1Idx) || in commuteInstructionImpl()
911 MachineOperand &Src1 = MI->getOperand(Src1Idx); in commuteInstructionImpl()
923 if (!isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) in commuteInstructionImpl()
992 int Src1Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1); in findCommutedOpIndices() local
993 if (Src1Idx == -1) in findCommutedOpIndices()
996 MachineOperand &Src1 = MI->getOperand(Src1Idx); in findCommutedOpIndices()
1011 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
1456 int Src1Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src1); in verifyInstruction() local
1528 const int OpIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in verifyInstruction()
1559 const MachineOperand &Src1 = MI->getOperand(Src1Idx); in verifyInstruction()
1850 int Src1Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1); in legalizeOperandsVOP2() local
1851 MachineOperand &Src1 = MI->getOperand(Src1Idx); in legalizeOperandsVOP2()
1870 if (isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src1)) in legalizeOperandsVOP2()
1878 legalizeOpWithMove(MI, Src1Idx); in legalizeOperandsVOP2()
1891 !isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) { in legalizeOperandsVOP2()
1892 legalizeOpWithMove(MI, Src1Idx); in legalizeOperandsVOP2()
1898 legalizeOpWithMove(MI, Src1Idx); in legalizeOperandsVOP2()