Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp192 const MCAOperand *OpImm = Inst.getOperand(1); in computeWaitCnt() local
194 assert(OpImm && OpImm->isImm() && "Second operand should be an immediate."); in computeWaitCnt()
208 Expcnt = OpImm->getImm(); in computeWaitCnt()
211 Lgkmcnt = OpImm->getImm(); in computeWaitCnt()
214 Vmcnt = OpImm->getImm(); in computeWaitCnt()
217 Vscnt = OpImm->getImm(); in computeWaitCnt()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreFrameLowering.cpp105 int OpImm = (remaining > MaxImmU16) ? MaxImmU16 : remaining; in IfNeededExtSP() local
106 int Opcode = isImmU6(OpImm) ? XCore::EXTSP_u6 : XCore::EXTSP_lu6; in IfNeededExtSP()
107 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(OpImm); in IfNeededExtSP()
108 Adjusted += OpImm; in IfNeededExtSP()
127 int OpImm = (RemainingAdj > MaxImmU16) ? MaxImmU16 : RemainingAdj; in IfNeededLDAWSP() local
128 int Opcode = isImmU6(OpImm) ? XCore::LDAWSP_ru6 : XCore::LDAWSP_lru6; in IfNeededLDAWSP()
129 BuildMI(MBB, MBBI, dl, TII.get(Opcode), XCore::SP).addImm(OpImm); in IfNeededLDAWSP()
130 RemainingAdj -= OpImm; in IfNeededLDAWSP()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp609 MachineOperand &OpImm = MI->getOperand(ImmIdx); in tryAddToFoldList() local
610 if (!OpImm.isReg() && in tryAddToFoldList()
611 TII->isInlineConstant(*MI, MI->getOperand(OpNo), OpImm)) in tryAddToFoldList()