| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DXILResource.h | 42 class RawBufferExtType : public TargetExtType { 62 static bool classof(const TargetExtType *T) { in classof() 66 return isa<TargetExtType>(T) && classof(cast<TargetExtType>(T)); in classof() 73 class TypedBufferExtType : public TargetExtType { 84 static bool classof(const TargetExtType *T) { in classof() 88 return isa<TargetExtType>(T) && classof(cast<TargetExtType>(T)); in classof() 95 class TextureExtType : public TargetExtType { 109 static bool classof(const TargetExtType *T) { in classof() 113 return isa<TargetExtType>(T) && classof(cast<TargetExtType>(T)); in classof() 120 class MSTextureExtType : public TargetExtType { [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 81 if (auto *TT = dyn_cast<TargetExtType>(this)) in containsNonGlobalTargetExtType() 82 return !TT->hasProperty(TargetExtType::CanBeGlobal); in containsNonGlobalTargetExtType() 97 if (auto *TT = dyn_cast<TargetExtType>(this)) in containsNonLocalTargetExtType() 98 return !TT->hasProperty(TargetExtType::CanBeLocal); in containsNonLocalTargetExtType() 121 if (auto *TT = dyn_cast<TargetExtType>(this)) in isScalableTargetExtTy() 151 return cast<TargetExtType>(this)->getName() == "riscv.vector.tuple"; in isRISCVVectorTupleTy() 271 if (auto *TTy = dyn_cast<TargetExtType>(this)) in isSizedDerivedType() 796 if (auto *TTy = dyn_cast<TargetExtType>(ElemTy)) in isValidElementType() 797 return TTy->hasProperty(TargetExtType::CanBeVectorElement); in isValidElementType() 892 TargetExtType::TargetExtType(LLVMContext &C, StringRef Name, in TargetExtType() function in TargetExtType [all …]
|
| H A D | LLVMContextImpl.h | 200 KeyTy(const TargetExtType *TT) 211 static inline TargetExtType *getEmptyKey() { 212 return DenseMapInfo<TargetExtType *>::getEmptyKey(); 215 static inline TargetExtType *getTombstoneKey() { 216 return DenseMapInfo<TargetExtType *>::getTombstoneKey(); 224 static unsigned getHashValue(const TargetExtType *FT) { 228 static bool isEqual(const KeyTy &LHS, const TargetExtType *RHS) { 234 static bool isEqual(const TargetExtType *LHS, const TargetExtType *RHS) { 1735 DenseMap<TargetExtType *, std::unique_ptr<ConstantTargetNone>> CTNConstants; 1780 using TargetExtTypeSet = DenseSet<TargetExtType *, TargetExtTypeKeyInfo>;
|
| H A D | Intrinsics.cpp | 103 } else if (TargetExtType *TETy = dyn_cast<TargetExtType>(Ty)) { in getMangledTypeStr() 526 return TargetExtType::get(Context, "aarch64.svcount"); in DecodeFixedType() 861 return !isa<TargetExtType>(Ty) || in matchIntrinsicType() 862 cast<TargetExtType>(Ty)->getName() != "aarch64.svcount"; in matchIntrinsicType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | HLSLBufferLayoutBuilder.cpp | 69 llvm::TargetExtType *HLSLBufferLayoutBuilder::createLayoutType( in createLayoutType() 73 if (llvm::TargetExtType *Ty = in createLayoutType() 157 llvm::TargetExtType *NewLayoutTy = llvm::TargetExtType::get( in createLayoutType() 206 cast<llvm::TargetExtType>(createLayoutType(Ty->getAs<RecordType>())); in layoutField() 209 assert(isa<llvm::TargetExtType>(NewTy) && "expected target type"); in layoutField() 210 ElemSize = cast<llvm::TargetExtType>(NewTy)->getIntParameter(0); in layoutField() 228 assert(isa<llvm::TargetExtType>(ElemLayoutTy) && "expected target type"); in layoutField() 229 ElemSize = cast<llvm::TargetExtType>(ElemLayoutTy)->getIntParameter(0); in layoutField()
|
| H A D | CGHLSLRuntime.h | 160 llvm::TargetExtType * 163 llvm::TargetExtType *LayoutTy); 174 llvm::DenseMap<const clang::RecordType *, llvm::TargetExtType *> LayoutTypes;
|
| H A D | CGHLSLRuntime.cpp | 122 cast<llvm::TargetExtType>(BufType)->getTypeParameter(0); in emitBufferGlobalsAndMetadata() 124 cast<llvm::TargetExtType>(BufLayoutType)->getTypeParameter(0)); in emitBufferGlobalsAndMetadata() 261 llvm::TargetExtType *TargetTy = in addBuffer() 262 cast<llvm::TargetExtType>(convertHLSLSpecificType( in addBuffer() 282 llvm::TargetExtType * 291 llvm::TargetExtType *LayoutTy) { in addHLSLBufferLayoutType()
|
| H A D | HLSLBufferLayoutBuilder.h | 36 llvm::TargetExtType *
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SPIR.cpp | 346 return llvm::TargetExtType::get(Ctx, BaseType, {llvm::Type::getVoidTy(Ctx)}, in getSPIRVImageType() 354 return llvm::TargetExtType::get(Ctx, "spirv.Pipe", {}, in getOpenCLType() 364 return llvm::TargetExtType::get(Ctx, "spirv.Sampler"); in getOpenCLType() 366 return llvm::TargetExtType::get(Ctx, "spirv.Event"); in getOpenCLType() 368 return llvm::TargetExtType::get(Ctx, "spirv.DeviceEvent"); in getOpenCLType() 370 return llvm::TargetExtType::get(Ctx, "spirv.Queue"); in getOpenCLType() 372 return llvm::TargetExtType::get(Ctx, "spirv.ReserveId"); in getOpenCLType() 375 return llvm::TargetExtType::get(Ctx, "spirv.Avc" #Id "INTEL"); in getOpenCLType() 405 return llvm::TargetExtType::get(Ctx, "spirv.IntegralConstant", in getInlineSpirvConstant() 407 return llvm::TargetExtType::get(Ctx, "spirv.Literal", {}, Words); in getInlineSpirvConstant() [all …]
|
| H A D | DirectX.cpp | 71 return llvm::TargetExtType::get(Ctx, TypeName, {ElemType}, Ints); in getHLSLType() 84 return llvm::TargetExtType::get(Ctx, "dx.CBuffer", {BufferLayoutTy}); in getHLSLType()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 781 class TargetExtType : public Type { 782 TargetExtType(LLVMContext &C, StringRef Name, ArrayRef<Type *> Types, 790 TargetExtType(const TargetExtType &) = delete; 791 TargetExtType &operator=(const TargetExtType &) = delete; 795 LLVM_ABI static TargetExtType *get(LLVMContext &Context, StringRef Name, 802 LLVM_ABI static Expected<TargetExtType *> 809 LLVM_ABI static Expected<TargetExtType *> checkParams(TargetExtType *TTy); 866 return cast<TargetExtType>(this)->getName(); in getTargetExtName()
|
| H A D | Constants.h | 874 explicit ConstantTargetNone(TargetExtType *T) 883 LLVM_ABI static ConstantTargetNone *get(TargetExtType *T); 887 inline TargetExtType *getType() const { 888 return cast<TargetExtType>(Value::getType());
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMemoryUtils.h | 29 class TargetExtType; variable 39 TargetExtType *isNamedBarrier(const GlobalVariable &GV);
|
| H A D | AMDGPUMemoryUtils.cpp | 34 TargetExtType *isNamedBarrier(const GlobalVariable &GV) { in isNamedBarrier() 44 if (auto *TTy = dyn_cast<TargetExtType>(Ty)) in isNamedBarrier()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.h | 326 return TargetExtType::get(ElemTy->getContext(), TYPED_PTR_TARGET_EXT_NAME, in getTypedPointerWrapper() 330 inline bool isTypedPointerWrapper(const TargetExtType *ExtTy) { in isTypedPointerWrapper() 338 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) in isPointerTyOrWrapper() 344 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) { in applyWrappers() 361 else if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) in getPointeeType() 371 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty2)) in isUntypedEquivalentToTyExt()
|
| H A D | SPIRVBuiltins.h | 71 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName,
|
| H A D | SPIRVGlobalRegistry.h | 614 const TargetExtType *T, bool EmitIr = false); 617 getImageType(const TargetExtType *ExtensionType, 626 const TargetExtType *ExtensionType,
|
| H A D | SPIRVBuiltins.cpp | 3046 static SPIRVType *getNonParameterizedType(const TargetExtType *ExtensionType, in getNonParameterizedType() 3061 static SPIRVType *getPipeType(const TargetExtType *ExtensionType, in getPipeType() 3072 static SPIRVType *getCoopMatrType(const TargetExtType *ExtensionType, in getCoopMatrType() 3089 static SPIRVType *getSampledImageType(const TargetExtType *OpaqueType, in getSampledImageType() 3098 static SPIRVType *getInlineSpirvType(const TargetExtType *ExtensionType, in getInlineSpirvType() 3108 if (const TargetExtType *ParamEType = dyn_cast<TargetExtType>(Param)) { in getInlineSpirvType() 3149 static SPIRVType *getVulkanBufferType(const TargetExtType *ExtensionType, in getVulkanBufferType() 3165 static SPIRVType *getLayoutType(const TargetExtType *ExtensionType, in getLayoutType() 3172 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName, in parseBuiltinTypeNameToTargetExtType() 3197 return TargetExtType::get(Context, NameWithParameters); in parseBuiltinTypeNameToTargetExtType() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/ |
| H A D | CBuffer.cpp | 19 auto *HandleTy = cast<TargetExtType>(Handle->getValueType()); in getMemberOffset() 23 auto *LayoutTy = cast<TargetExtType>(HandleTy->getTypeParameter(0)); in getMemberOffset()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILResourceImplicitBinding.cpp | 77 llvm::TargetExtType *HandleTy = nullptr; in assignBindings() 87 HandleTy = cast<TargetExtType>(IB.Call->getType()); in assignBindings()
|
| H A D | DXILShaderFlags.cpp | 169 dxil::ResourceTypeInfo &RTI = DRTM[cast<TargetExtType>(II->getType())]; in updateFunctionFlags() 189 DRTM[cast<TargetExtType>(II->getArgOperand(0)->getType())]; in updateFunctionFlags()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 225 return TargetExtType::get(Context, "aarch64.svcount"); in getTypeForEVT() 264 TargetExtType *TargetExtTy = cast<TargetExtType>(Ty); in getVT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInterleavedAccess.cpp | 273 Type *VecTupTy = TargetExtType::get( in lowerDeinterleaveIntrinsicToLoad() 347 Type *VecTupTy = TargetExtType::get( in lowerInterleaveIntrinsicToStore() 463 Type *VecTupTy = TargetExtType::get( in lowerInterleavedVPLoad() 574 Type *VecTupTy = TargetExtType::get( in lowerInterleavedVPStore()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Type.h | 39 class TargetExtType; variable 67 friend class TargetExtType; // For LLVMTy. variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DXILResource.cpp | 222 ResourceTypeInfo::ResourceTypeInfo(TargetExtType *HandleTy, in ResourceTypeInfo() 429 static bool isROV(dxil::ResourceKind Kind, TargetExtType *Ty) { in isROV() 497 TargetExtType *Ty) { in getTypedElementType() 827 auto *HandleTy = cast<TargetExtType>(F.getReturnType()); in populateResourceInfos() 1021 auto *HandleTy = cast<TargetExtType>(F.getReturnType()); in populate()
|