Home
last modified time | relevance | path

Searched refs:ModIdx (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp250 int ModIdx = -1; in tryFoldImmWithOpSel() local
253 ModIdx = AMDGPU::OpName::src0_modifiers; in tryFoldImmWithOpSel()
256 ModIdx = AMDGPU::OpName::src1_modifiers; in tryFoldImmWithOpSel()
259 ModIdx = AMDGPU::OpName::src2_modifiers; in tryFoldImmWithOpSel()
262 assert(ModIdx != -1); in tryFoldImmWithOpSel()
263 ModIdx = AMDGPU::getNamedOperandIdx(Opcode, ModIdx); in tryFoldImmWithOpSel()
264 MachineOperand &Mod = MI->getOperand(ModIdx); in tryFoldImmWithOpSel()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUInstPrinter.cpp777 int ModIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0_modifiers); in printOperand() local
782 (OpNo == 1 && (Desc.TSFlags & SIInstrFlags::DPP) && ModIdx != -1)) && in printOperand()
1338 int ModIdx = AMDGPU::getNamedOperandIdx(Opc, SrcMod); in printPackedModifier() local
1340 (ModIdx != -1) ? MI->getOperand(ModIdx).getImm() : DefaultValue; in printPackedModifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp8500 int ModIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src0_modifiers); in cvtVOP3DstOpSelOnly() local
8501 uint32_t ModVal = Inst.getOperand(ModIdx).getImm(); in cvtVOP3DstOpSelOnly()
8510 Inst.getOperand(ModIdx).setImm(ModVal); in cvtVOP3DstOpSelOnly()
8623 int ModIdx = AMDGPU::getNamedOperandIdx(Opc, ModOps[J]); in cvtVINTERP() local
8624 uint32_t ModVal = Inst.getOperand(ModIdx).getImm(); in cvtVINTERP()
8632 Inst.getOperand(ModIdx).setImm(ModVal); in cvtVINTERP()
8775 int ModIdx = AMDGPU::getNamedOperandIdx(Opc, ModOps[J]); in cvtVOP3P() local
8777 if (ModIdx == -1) in cvtVOP3P()
8803 Inst.getOperand(ModIdx).setImm(Inst.getOperand(ModIdx).getImm() | ModVal); in cvtVOP3P()