Home
last modified time | relevance | path

Searched refs:IsA16 (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td1134 class MIMG_IntersectRay_Helper<bit Is64, bit IsA16> {
1135 int num_addrs = !if(Is64, !if(IsA16, 9, 12), !if(IsA16, 8, 11));
1139 int gfx11_nsa_addrs = !if(IsA16, 4, 5);
1142 !if(IsA16,
1151 !if(IsA16, (ins A16:$a16), (ins)));
1161 !if(IsA16, (ins A16:$a16), (ins)));
1169 !if(IsA16, (ins A16:$a16), (ins)));
1181 !if(IsA16, (ins A16:$a16), (ins)));
1186 defvar info = MIMG_IntersectRay_Helper<Is64, IsA16>;
1190 let AsmMatchConverter = !if(IsA16, "cvtIntersectRay", ""),
[all …]
H A DAMDGPULegalizerInfo.cpp4787 (I >= Intr->CoordStart && !IsA16)) { in packImage16bitOpsToDwords()
4788 if ((I < Intr->GradientStart) && IsA16 && in packImage16bitOpsToDwords()
4900 const bool IsA16 = AddrTy == S16; in legalizeImageIntrinsic() local
4965 if (IsA16 && !ST.hasA16()) { in legalizeImageIntrinsic()
4970 if (IsA16 || IsG16) { in legalizeImageIntrinsic()
5031 if (IsA16) in legalizeImageIntrinsic()
5434 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in legalizeBVHIntrinsic()
5440 BaseOpcodes[Is64][IsA16], in legalizeBVHIntrinsic()
5459 if (IsA16) { in legalizeBVHIntrinsic()
5499 if (IsA16) { in legalizeBVHIntrinsic()
[all …]
H A DSIISelLowering.cpp6401 bool IsA16 = false; in lowerImage() local
6491 IsA16 = VAddrScalarVT == MVT::f16 || VAddrScalarVT == MVT::i16; in lowerImage()
6510 if (BaseOpcode->Gradients && !ST->hasG16() && (IsA16 != IsG16)) { in lowerImage()
6519 if (IsA16) { in lowerImage()
6553 if (IsA16) { in lowerImage()
6663 Ops.push_back(IsA16 && // r128, a16 for gfx9 in lowerImage()
6666 Ops.push_back(IsA16 ? True : False); in lowerImage()
7760 Opcode = AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in LowerINTRINSIC_W_CHAIN()
7766 AMDGPU::getMIMGOpcode(BaseOpcodes[Is64][IsA16], in LowerINTRINSIC_W_CHAIN()
7806 if (IsA16) { in LowerINTRINSIC_W_CHAIN()
[all …]
H A DAMDGPUInstructionSelector.cpp1779 const bool IsA16 = (Flags & 1) != 0; in selectImageIntrinsic() local
1783 if (IsA16 && !STI.hasG16() && !IsG16) in selectImageIntrinsic()
1827 if (IsG16 && !IsA16) { in selectImageIntrinsic()
1947 MIB.addImm(IsA16 && // a16 or r128 in selectImageIntrinsic()
1950 MIB.addImm(IsA16 ? -1 : 0); in selectImageIntrinsic()
H A DSIInstrInfo.cpp4622 bool IsA16 = false; in verifyInstruction() local
4625 IsA16 = R128A16->getImm() != 0; in verifyInstruction()
4628 IsA16 = A16->getImm() != 0; in verifyInstruction()
4634 AMDGPU::getAddrSizeMIMGOp(BaseOpcode, Dim, IsA16, ST.hasG16()); in verifyInstruction()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp240 const MIMGDimInfo *Dim, bool IsA16, in getAddrSizeMIMGOp() argument
245 if (IsA16) in getAddrSizeMIMGOp()
256 if ((IsA16 && !IsG16Supported) || BaseOpcode->G16) in getAddrSizeMIMGOp()
H A DAMDGPUBaseInfo.h423 const MIMGDimInfo *Dim, bool IsA16,
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp918 const bool IsA16 = (A16Idx != -1 && MI.getOperand(A16Idx).getImm()); in convertMIMGInst() local
921 AMDGPU::getAddrSizeMIMGOp(BaseOpcode, Dim, IsA16, AMDGPU::hasG16(STI)); in convertMIMGInst()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp3679 bool IsA16 = (A16Idx != -1 && Inst.getOperand(A16Idx).getImm()); in validateMIMGAddrSize() local
3682 AMDGPU::getAddrSizeMIMGOp(BaseOpcode, DimInfo, IsA16, hasG16()); in validateMIMGAddrSize()