Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp4075 const bool IsA16 = AddrTy == S16; in legalizeImageIntrinsic() local
4168 if (IsA16 || IsG16) { in legalizeImageIntrinsic()
4169 if (IsA16) { in legalizeImageIntrinsic()
4179 const int PackEndIdx = IsA16 ? Intr->VAddrEnd : Intr->CoordStart; in legalizeImageIntrinsic()
4183 if (!IsA16) { in legalizeImageIntrinsic()
4238 if (IsA16) in legalizeImageIntrinsic()
4535 bool IsA16 = MRI.getType(RayDir).getElementType().getSizeInBits() == 16; in legalizeBVHIntrinsic() local
4537 unsigned Opcode = IsA16 ? Is64 ? AMDGPU::IMAGE_BVH64_INTERSECT_RAY_a16_nsa in legalizeBVHIntrinsic()
4560 if (IsA16) { in legalizeBVHIntrinsic()
4586 .addImm(IsA16 ? 1 : 0) in legalizeBVHIntrinsic()
DAMDGPUInstructionSelector.cpp1511 const bool IsA16 = (Flags & 1) != 0; in selectImageIntrinsic() local
1515 if (IsA16 && !IsG16) in selectImageIntrinsic()
1589 if (IsG16 && !IsA16) { in selectImageIntrinsic()
1704 MIB.addImm(IsA16 && // a16 or r128 in selectImageIntrinsic()
1707 MIB.addImm(IsA16 ? -1 : 0); in selectImageIntrinsic()
DSIISelLowering.cpp5999 bool IsA16 = false; in lowerImage() local
6114 IsA16 = VAddrScalarVT == MVT::f16 || VAddrScalarVT == MVT::i16; in lowerImage()
6115 if (IsA16 || IsG16) { in lowerImage()
6116 if (IsA16) { in lowerImage()
6134 if (BaseOpcode->Gradients && !IsA16) { in lowerImage()
6147 const int PackEndIdx = IsA16 ? VAddrEnd : (ArgOffset + Intr->CoordStart); in lowerImage()
6152 if (!IsA16) { in lowerImage()
6269 Ops.push_back(IsA16 && // r128, a16 for gfx9 in lowerImage()
6272 Ops.push_back(IsA16 ? True : False); in lowerImage()
7345 bool IsA16 = RayDir.getValueType().getVectorElementType() == MVT::f16; in LowerINTRINSIC_W_CHAIN() local
[all …]
DSIInstrInfo.cpp4134 bool IsA16 = false; in verifyInstruction() local
4137 IsA16 = R128A16->getImm() != 0; in verifyInstruction()
4140 IsA16 = A16->getImm() != 0; in verifyInstruction()
4143 bool PackDerivatives = IsA16 || BaseOpcode->G16; in verifyInstruction()
4149 if (IsA16) in verifyInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp5353 bool IsA16 = false; in lowerImage() local
5465 IsA16 = true; in lowerImage()
5606 Ops.push_back(IsA16 && // a16 or r128 in lowerImage()