Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp286 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src0_modifiers)) { in createDPPInst()
310 } else if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::src1_modifiers)) { in createDPPInst()
358 if (ClampOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::clamp)) { in createDPPInst()
363 AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::vdst_in)) { in createDPPInst()
367 if (OmodOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::omod)) { in createDPPInst()
385 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel)) in createDPPInst()
402 if (AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::op_sel_hi)) in createDPPInst()
406 if (NegOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_lo)) { in createDPPInst()
410 if (NegHiOpr && AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::neg_hi)) { in createDPPInst()
415 AMDGPU::hasNamedOperand(DPPOp, AMDGPU::OpName::byte_sel)) { in createDPPInst()
H A DSIPeepholeSDWA.cpp1046 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::vdst)); in convertToSDWA()
1049 assert(Dst && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in convertToSDWA()
1052 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::sdst)); in convertToSDWA()
1059 assert(Src0 && AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0) && in convertToSDWA()
1060 AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src0_modifiers)); in convertToSDWA()
1070 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src1) && in convertToSDWA()
1071 AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::src1_modifiers)); in convertToSDWA()
1090 assert(AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::clamp)); in convertToSDWA()
1099 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::omod)) { in convertToSDWA()
1109 if (AMDGPU::hasNamedOperand(SDWAOpcode, AMDGPU::OpName::dst_sel)) { in convertToSDWA()
[all …]
H A DSIFoldOperands.cpp519 bool AddOpSel = !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel) && in tryAddToFoldList()
520 AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel); in tryAddToFoldList()
824 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in foldOperand()
825 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::saddr)) { in foldOperand()
H A DAMDGPUInstructionSelector.cpp1382 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers)) in selectIntrinsicCmp()
1385 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src1_modifiers)) in selectIntrinsicCmp()
1388 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::clamp)) in selectIntrinsicCmp()
1390 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::op_sel)) in selectIntrinsicCmp()
2011 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::unorm)) in selectImageIntrinsic()
2027 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::lwe)) in selectImageIntrinsic()
H A DSIRegisterInfo.cpp1296 bool HasVAddr = AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::vaddr); in getFlatScratchSpillOpcode()
1298 !HasVAddr && !AMDGPU::hasNamedOperand(LoadStoreOp, AMDGPU::OpName::saddr); in getFlatScratchSpillOpcode()
2301 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr)) { in eliminateFrameIndex()
H A DSIInsertWaitcnts.cpp816 if (AMDGPU::hasNamedOperand(Inst.getOpcode(), AMDGPU::OpName::data0)) { in updateByEvent()
822 if (AMDGPU::hasNamedOperand(Inst.getOpcode(), AMDGPU::OpName::data1)) { in updateByEvent()
H A DSILoadStoreOptimizer.cpp452 if (!AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr) && in getInstClass()
453 !AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vaddr0)) in getInstClass()
H A DSIInstrInfo.cpp278 if (!AMDGPU::hasNamedOperand(Opc0, AMDGPU::OpName::sbase) || in areLoadsFromSameBasePtr()
279 !AMDGPU::hasNamedOperand(Opc1, AMDGPU::OpName::sbase)) in areLoadsFromSameBasePtr()
4055 if (AMDGPU::hasNamedOperand(NewOpc, AMDGPU::OpName::op_sel)) in convertToThreeAddress()
4401 return AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src0_modifiers); in hasModifiers()
5605 IsAllocatable = VDstIdx != -1 || AMDGPU::hasNamedOperand( in getRegClass()
7420 if (AMDGPU::hasNamedOperand(NewOpcode, AMDGPU::OpName::src0)) { in moveToVALUImpl()
H A DGCNHazardRecognizer.cpp925 if (!AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::op_sel) || in checkVALUHazards()
H A DSIISelLowering.cpp15048 AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::dmask)) { in PostISelFolding()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.cpp346 if (AMDGPU::hasNamedOperand(Opcode, op_sel_hi)) { in getImplicitOpSelHiEncoding()
347 if (AMDGPU::hasNamedOperand(Opcode, src2)) in getImplicitOpSelHiEncoding()
349 if (AMDGPU::hasNamedOperand(Opcode, src1)) in getImplicitOpSelHiEncoding()
351 if (AMDGPU::hasNamedOperand(Opcode, src0)) in getImplicitOpSelHiEncoding()
419 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::imm)) in encodeInstruction()
H A DAMDGPUInstPrinter.cpp1335 if (!AMDGPU::hasNamedOperand(Opc, Src)) in printPackedModifier()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp778 if (AMDGPU::hasNamedOperand(MI.getOpcode(), AMDGPU::OpName::sdst)) in convertSDWAInst()
876 assert(AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::src2)); in isMacDPP()
905 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertDPP8Inst()
913 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0_modifiers)) in convertDPP8Inst()
918 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src1_modifiers)) in convertDPP8Inst()
935 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) { in convertVOP3DPPInst()
1100 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vdst_in)) in convertVOP3PDPPInst()
1104 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel)) in convertVOP3PDPPInst()
1108 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::op_sel_hi)) in convertVOP3PDPPInst()
1112 AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::neg_lo)) in convertVOP3PDPPInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3728 if (AMDGPU::hasNamedOperand(Opcode, AMDGPU::OpName::imm)) { in validateConstantBusLimitations()
4592 if (!AMDGPU::hasNamedOperand(Opc, SrcMods[i])) { in validateNeg()
8488 for (SrcNum = 0; SrcNum < 3 && AMDGPU::hasNamedOperand(Opc, Ops[SrcNum]); in cvtVOP3DstOpSelOnly()
8563 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::high)) in cvtVOP3Interp()
8567 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3Interp()
8571 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3Interp()
8659 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::byte_sel)) { in cvtVOP3()
8660 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::vdst_in)) in cvtVOP3()
8666 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::clamp)) in cvtVOP3()
8670 if (AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::omod)) in cvtVOP3()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h383 inline bool hasNamedOperand(uint64_t Opcode, uint64_t NamedIdx) { in hasNamedOperand() function
H A DAMDGPUBaseInfo.cpp549 return AMDGPU::hasNamedOperand(Opc, AMDGPU::OpName::src0X); in isVOPD()