Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIPeepholeSDWA.cpp1003 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::vdst)); in convertToSDWA()
1006 assert(Dst && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in convertToSDWA()
1009 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in convertToSDWA()
1016 assert(Src0 && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0) && in convertToSDWA()
1027 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src1) && in convertToSDWA()
1047 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::clamp)); in convertToSDWA()
1056 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::omod)) { in convertToSDWA()
1066 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::dst_sel)) { in convertToSDWA()
1076 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::dst_unused)) { in convertToSDWA()
1086 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0_sel)); in convertToSDWA()
[all …]
H A DGCNDPPCombine.cpp285 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src0_modifiers)) { in createDPPInst()
309 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src1_modifiers)) { in createDPPInst()
357 if (ClampOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::clamp)) { in createDPPInst()
362 AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::vdst_in)) { in createDPPInst()
366 if (OmodOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::omod)) { in createDPPInst()
385 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel)) in createDPPInst()
403 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel_hi)) in createDPPInst()
407 if (NegOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_lo)) { in createDPPInst()
411 if (NegHiOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_hi)) { in createDPPInst()
H A DSIFoldOperands.cpp517 bool AddOpSel = !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel) && in tryAddToFoldList()
518 AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel); in tryAddToFoldList()
819 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in foldOperand()
820 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::saddr)) { in foldOperand()
H A DAMDGPUInstructionSelector.cpp1394 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers)) in selectIntrinsicCmp()
1397 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src1_modifiers)) in selectIntrinsicCmp()
1400 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::clamp)) in selectIntrinsicCmp()
1402 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::op_sel)) in selectIntrinsicCmp()
2032 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::unorm)) in selectImageIntrinsic()
2048 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::lwe)) in selectImageIntrinsic()
H A DSIRegisterInfo.cpp1287 bool HasVAddr = AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::vaddr); in getFlatScratchSpillOpcode()
1289 !HasVAddr && !AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::saddr); in getFlatScratchSpillOpcode()
2293 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr)) { in eliminateFrameIndex()
H A DSIInsertWaitcnts.cpp793 if (AMDGPU::hasNamedOperand(Inst.getOpcode(), AMDGPU::OpName::data0)) { in updateByEvent()
799 if (AMDGPU::hasNamedOperand(Inst.getOpcode(), AMDGPU::OpName::data1)) { in updateByEvent()
H A DSIInstrInfo.cpp283 if (!AMDGPU::hasNamedOperand(Opc0, AMDGPU::OpName::sbase) || in areLoadsFromSameBasePtr()
284 !AMDGPU::hasNamedOperand(Opc1, AMDGPU::OpName::sbase)) in areLoadsFromSameBasePtr()
3979 if (AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel)) in convertToThreeAddress()
4288 return AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers); in hasModifiers()
4381 if (AMDGPU::hasNamedOperand(Op32, AMDGPU::OpName::vdst)) { in buildShrunkInst()
4384 } else if (AMDGPU::hasNamedOperand(Op32, AMDGPU::OpName::sdst)) { in buildShrunkInst()
5478 IsAllocatable = VDstIdx != -1 || AMDGPU::hasNamedOperand( in getRegClass()
7297 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::src0)) { in moveToVALUImpl()
H A DSILoadStoreOptimizer.cpp424 if (!AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in getInstClass()
425 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr0)) in getInstClass()
H A DGCNHazardRecognizer.cpp923 if (!AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::op_sel) || in checkVALUHazards()
H A DSIISelLowering.cpp14733 AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::dmask)) { in PostISelFolding()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.cpp308 if (AMDGPU::hasNamedOperand(Opcode, op_sel_hi)) { in getImplicitOpSelHiEncoding()
309 if (AMDGPU::hasNamedOperand(Opcode, src2)) in getImplicitOpSelHiEncoding()
311 if (AMDGPU::hasNamedOperand(Opcode, src1)) in getImplicitOpSelHiEncoding()
313 if (AMDGPU::hasNamedOperand(Opcode, src0)) in getImplicitOpSelHiEncoding()
381 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::imm)) in encodeInstruction()
H A DAMDGPUInstPrinter.cpp1270 if (!AMDGPU::hasNamedOperand(Opc, Src)) in printPackedModifier()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp937 assert(AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src2)); in isMacDPP()
981 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertDPP8Inst()
1017 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertVOP3DPPInst()
1185 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vdst_in)) in convertVOP3PDPPInst()
1189 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) in convertVOP3PDPPInst()
1193 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel_hi)) in convertVOP3PDPPInst()
1197 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::neg_lo)) in convertVOP3PDPPInst()
1201 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::neg_hi)) in convertVOP3PDPPInst()
1214 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::old)) in convertVOPCDPPInst()
1218 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0_modifiers)) in convertVOPCDPPInst()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3559 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::imm)) { in validateConstantBusLimitations()
4422 if (!AMDGPU::hasNamedOperand(Opc, SrcMods[i])) { in validateNeg()
8238 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::high)) in cvtVOP3Interp()
8242 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3Interp()
8246 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3Interp()
8334 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3()
8338 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3()
8499 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtSWMMAC()
8924 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3DPP()
8927 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3DPP()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h315 inline bool hasNamedOperand(uint64_t Opcode, uint64_t NamedIdx) { in hasNamedOperand() function
H A DAMDGPUBaseInfo.cpp495 return AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0X); in isVOPD()