Home
last modified time | relevance | path

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

/external/llvm/lib/Target/R600/
DSIShrinkInstructions.cpp136 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); in foldImmediates() local
137 MachineOperand &Src0 = MI.getOperand(Src0Idx); in foldImmediates()
142 TII->isLiteralConstant(Src0, TII->getOpSize(MI, Src0Idx))) in foldImmediates()
DSIInstrInfo.cpp760 int Src0Idx = AMDGPU::getNamedOperandIdx(MI->getOpcode(), in commuteInstruction() local
762 assert(Src0Idx != -1 && "Should always have src0 operand"); in commuteInstruction()
764 MachineOperand &Src0 = MI->getOperand(Src0Idx); in commuteInstruction()
777 (!isOperandLegal(MI, Src0Idx, &Src1) || in commuteInstruction()
838 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in findCommutedOpIndices() local
839 if (Src0Idx == -1) in findCommutedOpIndices()
844 if (!MI->getOperand(Src0Idx).isReg()) in findCommutedOpIndices()
860 SrcOpIdx1 = Src0Idx; in findCommutedOpIndices()
1260 int Src0Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src0); in verifyInstruction() local
1333 const int OpIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in verifyInstruction()
[all …]