Searched refs:Src0Idx (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNDPPCombine.cpp | 292 int Src0Idx = NumOperands; in createDPPInst() local 321 assert(getOperandSize(*DPPInst, Src0Idx, *MRI) == in createDPPInst() 324 OpNum = Src0Idx; in createDPPInst()
|
H A D | SIFoldOperands.cpp | 1215 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in tryConstantFoldOp() local 1216 if (Src0Idx == -1) in tryConstantFoldOp() 1218 MachineOperand *Src0 = getImmOrMaterializedImm(MI->getOperand(Src0Idx)); in tryConstantFoldOp() 1248 MI->getOperand(Src0Idx).ChangeToImmediate(NewImm); in tryConstantFoldOp() 1259 std::swap(Src0Idx, Src1Idx); in tryConstantFoldOp() 1284 MI->removeOperand(Src0Idx); in tryConstantFoldOp()
|
H A D | SIShrinkInstructions.cpp | 93 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::src0); in foldImmediates() local 96 MachineOperand &Src0 = MI.getOperand(Src0Idx); in foldImmediates() 105 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
|
H A D | SIInstrInfo.cpp | 2769 unsigned Src0Idx, in commuteInstructionImpl() argument 2778 if (Src0Idx > Src1Idx) in commuteInstructionImpl() 2779 std::swap(Src0Idx, Src1Idx); in commuteInstructionImpl() 2782 static_cast<int>(Src0Idx) && in commuteInstructionImpl() 2787 MachineOperand &Src0 = MI.getOperand(Src0Idx); in commuteInstructionImpl() 2795 = TargetInstrInfo::commuteInstructionImpl(MI, NewMI, Src0Idx, Src1Idx); in commuteInstructionImpl() 2836 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in findCommutedOpIndices() local 2837 if (Src0Idx == -1) in findCommutedOpIndices() 2844 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices() 3914 int Src0Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), in convertToThreeAddress() local [all …]
|
H A D | SIFixSGPRCopies.cpp | 704 int Src0Idx = in runOnMachineFunction() local 708 MachineOperand &Src0 = MI.getOperand(Src0Idx); in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 4061 const int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in validateMovrels() local 4062 assert(Src0Idx != -1); in validateMovrels() 4065 const MCOperand &Src0 = Inst.getOperand(Src0Idx); in validateMovrels() 4088 const int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0); in validateMAIAccWrite() local 4089 assert(Src0Idx != -1); in validateMAIAccWrite() 4091 const MCOperand &Src0 = Inst.getOperand(Src0Idx); in validateMAIAccWrite() 4495 const int Src0Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src0); in validateSOPLiteral() local 4498 const int OpIndices[] = { Src0Idx, Src1Idx }; in validateSOPLiteral() 4841 int Src0Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::sdst); in validateWaitCnt() local 4842 assert(Src0Idx >= 0 && Inst.getOperand(Src0Idx).isReg()); in validateWaitCnt() [all …]
|