Home
last modified time | relevance | path

Searched refs:Src0Idx (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp147 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); in foldImmediates() local
148 MachineOperand &Src0 = MI.getOperand(Src0Idx); in foldImmediates()
153 TII->isLiteralConstant(Src0, TII->getOpSize(MI, Src0Idx))) in foldImmediates()
DSIInstrInfo.cpp896 int Src0Idx = AMDGPU::getNamedOperandIdx(MI->getOpcode(), in commuteInstructionImpl() local
898 MachineOperand &Src0 = MI->getOperand(Src0Idx); in commuteInstructionImpl()
905 if ((OpIdx0 != static_cast<unsigned>(Src0Idx) || in commuteInstructionImpl()
908 OpIdx1 != static_cast<unsigned>(Src0Idx))) in commuteInstructionImpl()
982 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in findCommutedOpIndices() local
983 if (Src0Idx == -1) in findCommutedOpIndices()
989 if (!MI->getOperand(Src0Idx).isReg()) in findCommutedOpIndices()
1011 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
1455 int Src0Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src0); in verifyInstruction() local
1528 const int OpIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in verifyInstruction()
[all …]