Searched refs:Src0Idx (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Target/AMDGPU/ |
D | SIShrinkInstructions.cpp | 138 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); in foldImmediates() local 139 MachineOperand &Src0 = MI.getOperand(Src0Idx); in foldImmediates() 144 TII->isLiteralConstant(Src0, TII->getOpSize(MI, Src0Idx))) in foldImmediates()
|
D | SIInstrInfo.cpp | 952 int Src0Idx = in commuteInstructionImpl() local 954 MachineOperand &Src0 = MI.getOperand(Src0Idx); in commuteInstructionImpl() 961 if ((OpIdx0 != static_cast<unsigned>(Src0Idx) || in commuteInstructionImpl() 964 OpIdx1 != static_cast<unsigned>(Src0Idx))) in commuteInstructionImpl() 1037 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in findCommutedOpIndices() local 1038 if (Src0Idx == -1) in findCommutedOpIndices() 1044 if (!MI.getOperand(Src0Idx).isReg()) in findCommutedOpIndices() 1066 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices() 1652 int Src0Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src0); in verifyInstruction() local 1726 const int OpIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in verifyInstruction() [all …]
|