Home
last modified time | relevance | path

Searched refs:hasNamedOperand (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp292 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src0_modifiers)) { in createDPPInst()
316 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src1_modifiers)) { in createDPPInst()
364 if (ClampOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::clamp)) { in createDPPInst()
369 AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::vdst_in)) { in createDPPInst()
373 if (OmodOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::omod)) { in createDPPInst()
391 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel)) in createDPPInst()
408 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel_hi)) in createDPPInst()
412 if (NegOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_lo)) { in createDPPInst()
416 if (NegHiOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_hi)) { in createDPPInst()
421 AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::byte_sel)) { in createDPPInst()
H A DSIPeepholeSDWA.cpp1218 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::vdst)); in createSDWAVersion()
1221 assert(Dst && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in createSDWAVersion()
1224 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in createSDWAVersion()
1231 assert(Src0 && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0) && in createSDWAVersion()
1232 AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0_modifiers)); in createSDWAVersion()
1242 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src1) && in createSDWAVersion()
1243 AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src1_modifiers)); in createSDWAVersion()
1262 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::clamp)); in createSDWAVersion()
1271 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::omod)) { in createSDWAVersion()
1281 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::dst_sel)) in createSDWAVersion()
[all …]
H A DGCNVOPDUtils.cpp119 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::bitop3)) in checkVOPDRegConstraints()
166 if (AMDGPU::hasNamedOperand(SecondMI.getOpcode(), AMDGPU::OpName::bitop3)) { in checkVOPDRegConstraints()
172 if (AMDGPU::hasNamedOperand(FirstMI.getOpcode(), AMDGPU::OpName::bitop3)) { in checkVOPDRegConstraints()
H A DAMDGPUMCInstLower.cpp137 OpName = AMDGPU::hasNamedOperand(Opcode, llvm::AMDGPU::OpName::vdata) in lowerT16D16Helper()
166 if (AMDGPU::hasNamedOperand(MCOpcode, AMDGPU::OpName::vdst_in)) { in lowerT16D16Helper()
H A DGCNCreateVOPD.cpp98 if (AMDGPU::hasNamedOperand(VOPDOpc, Mods[CompIdx][CompSrcIdx])) { in doReplace()
H A DSIFoldOperands.cpp418 if (AMDGPU::hasNamedOperand(NewOp, AMDGPU::OpName::clamp)) in foldCopyToVGPROfScalarAddOfFrameIndex()
787 bool AddOpSel = !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel) && in tryAddToFoldList()
788 AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel); in tryAddToFoldList()
1218 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in foldOperand()
1219 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::saddr)) { in foldOperand()
H A DAMDGPUInstructionSelector.cpp1478 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers)) { in selectG_ICMP_or_FCMP()
1537 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers)) in selectIntrinsicCmp()
1540 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src1_modifiers)) in selectIntrinsicCmp()
1543 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::clamp)) in selectIntrinsicCmp()
1545 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::op_sel)) in selectIntrinsicCmp()
2240 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::unorm)) in selectImageIntrinsic()
2256 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::lwe)) in selectImageIntrinsic()
H A DSIInstrInfo.cpp284 if (!AMDGPU::hasNamedOperand(Opc0, AMDGPU::OpName::sbase) || in areLoadsFromSameBasePtr()
285 !AMDGPU::hasNamedOperand(Opc1, AMDGPU::OpName::sbase)) in areLoadsFromSameBasePtr()
4215 if (AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel)) in convertToThreeAddress()
4545 return AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers); in hasModifiers()
5852 IsAllocatable = VDstIdx != -1 || AMDGPU::hasNamedOperand( in getRegClass()
7687 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::src0_modifiers)) { in moveToVALUImpl()
7694 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::op_sel)) in moveToVALUImpl()
7792 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::op_sel)) in moveToVALUImpl()
7913 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::src0)) { in moveToVALUImpl()
H A DSIRegisterInfo.cpp1532 bool HasVAddr = AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::vaddr); in getFlatScratchSpillOpcode()
1534 !HasVAddr && !AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::saddr); in getFlatScratchSpillOpcode()
2939 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr)) { in eliminateFrameIndex()
H A DSILoadStoreOptimizer.cpp464 if (!AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in getInstClass()
465 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr0)) in getInstClass()
H A DGCNHazardRecognizer.cpp902 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::op_sel)) { in getDstSelForwardingOperand()
H A DSIISelLowering.cpp16093 AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::dmask)) { in PostISelFolding()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.cpp356 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::op_sel_hi)) { in getImplicitOpSelHiEncoding()
357 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src2)) in getImplicitOpSelHiEncoding()
359 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src1)) in getImplicitOpSelHiEncoding()
361 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0)) in getImplicitOpSelHiEncoding()
388 !AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::matrix_b_reuse)) { in encodeInstruction()
431 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::imm)) in encodeInstruction()
696 AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::imm); in getMachineOpValueCommon()
H A DAMDGPUInstPrinter.cpp1216 if (!AMDGPU::hasNamedOperand(Opc, Src)) in printPackedModifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp897 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::imm) && !IsSOPK) in getInstruction()
950 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::sdst)) in convertSDWAInst()
1100 assert(AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src2)); in isMacDPP()
1129 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertDPP8Inst()
1137 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0_modifiers)) in convertDPP8Inst()
1142 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src1_modifiers)) in convertDPP8Inst()
1159 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertVOP3DPPInst()
1325 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vdst_in)) in convertVOP3PDPPInst()
1329 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) in convertVOP3PDPPInst()
1333 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel_hi)) in convertVOP3PDPPInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2341 AMDGPU::hasNamedOperand(Inst.getOpcode(), AMDGPU::OpName::imm); in addLiteralImmOperand()
3868 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::imm)) { in validateConstantBusLimitations()
4953 if (!AMDGPU::hasNamedOperand(Opc, SrcMods[i])) { in validateNeg()
8960 for (SrcNum = 0; SrcNum < 3 && AMDGPU::hasNamedOperand(Opc, Ops[SrcNum]); in cvtVOP3DstOpSelOnly()
9035 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::high)) in cvtVOP3Interp()
9039 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3Interp()
9043 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3Interp()
9206 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::byte_sel)) { in cvtVOP3()
9207 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vdst_in)) in cvtVOP3()
9213 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp631 return AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0X); in isVOPD()
809 SrcOperandsNum = AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src2) ? 3 in ComponentProps()
810 : AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::imm) ? 3 in ComponentProps()
811 : AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src1) ? 2 in ComponentProps()
H A DAMDGPUBaseInfo.h407 inline bool hasNamedOperand(uint64_t Opcode, OpName NamedIdx) { in hasNamedOperand() function