| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SPIR.cpp | 171 return llvm::TargetExtType::get(Ctx, BaseType, {llvm::Type::getVoidTy(Ctx)}, in getSPIRVImageType() 179 return llvm::TargetExtType::get(Ctx, "spirv.Pipe", {}, in getOpenCLType() 189 return llvm::TargetExtType::get(Ctx, "spirv.Sampler"); in getOpenCLType() 191 return llvm::TargetExtType::get(Ctx, "spirv.Event"); in getOpenCLType() 193 return llvm::TargetExtType::get(Ctx, "spirv.DeviceEvent"); in getOpenCLType() 195 return llvm::TargetExtType::get(Ctx, "spirv.Queue"); in getOpenCLType() 197 return llvm::TargetExtType::get(Ctx, "spirv.ReserveId"); in getOpenCLType() 200 return llvm::TargetExtType::get(Ctx, "spirv.Avc" #Id "INTEL"); in getOpenCLType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 88 if (auto *TT = dyn_cast<TargetExtType>(this)) in isScalableTargetExtTy() 227 if (auto *TTy = dyn_cast<TargetExtType>(this)) in isSizedDerivedType() 778 TargetExtType::TargetExtType(LLVMContext &C, StringRef Name, in TargetExtType() function in TargetExtType 796 TargetExtType *TargetExtType::get(LLVMContext &C, StringRef Name, in get() 800 TargetExtType *TT; in get() 810 TT = (TargetExtType *)C.pImpl->Alloc.Allocate( in get() 813 alignof(TargetExtType)); in get() 814 new (TT) TargetExtType(C, Name, Types, Ints); in get() 841 TargetExtType::CanBeGlobal); in getTargetTypeInfo() 846 TargetExtType::HasZeroInit); in getTargetTypeInfo() [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(); 226 static unsigned getHashValue(const TargetExtType *FT) { 230 static bool isEqual(const KeyTy &LHS, const TargetExtType *RHS) { 236 static bool isEqual(const TargetExtType *LHS, const TargetExtType *RHS) { 1529 DenseMap<TargetExtType *, std::unique_ptr<ConstantTargetNone>> CTNConstants; 1571 using TargetExtTypeSet = DenseSet<TargetExtType *, TargetExtTypeKeyInfo>;
|
| H A D | Function.cpp | 974 } else if (TargetExtType *TETy = dyn_cast<TargetExtType>(Ty)) { in getMangledTypeStr() 1342 return TargetExtType::get(Context, "aarch64.svcount"); in DecodeFixedType() 1502 return !isa<TargetExtType>(Ty) || in matchIntrinsicType() 1503 cast<TargetExtType>(Ty)->getName() != "aarch64.svcount"; in matchIntrinsicType()
|
| H A D | DataLayout.cpp | 857 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getAlignment()
|
| H A D | Constants.cpp | 379 return ConstantTargetNone::get(cast<TargetExtType>(Ty)); in getNullValue() 1708 ConstantTargetNone *ConstantTargetNone::get(TargetExtType *Ty) { in get() 1709 assert(Ty->hasProperty(TargetExtType::HasZeroInit) && in get()
|
| H A D | AsmWriter.cpp | 641 TargetExtType *TETy = cast<TargetExtType>(Ty); in print()
|
| H A D | Verifier.cpp | 861 if (auto *TTy = dyn_cast<TargetExtType>(GV.getValueType())) in visitGlobalVariable() 862 Check(TTy->hasProperty(TargetExtType::CanBeGlobal), in visitGlobalVariable()
|
| H A D | Core.cpp | 926 TargetExtType::get(*unwrap(C), Name, TypeParamArray, IntParamArray)); in LLVMTargetExtTypeInContext()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 720 class TargetExtType : public Type { 721 TargetExtType(LLVMContext &C, StringRef Name, ArrayRef<Type *> Types, 729 TargetExtType(const TargetExtType &) = delete; 730 TargetExtType &operator=(const TargetExtType &) = delete; 734 static TargetExtType *get(LLVMContext &Context, StringRef Name, 788 return cast<TargetExtType>(this)->getName(); in getTargetExtName()
|
| H A D | Constants.h | 849 explicit ConstantTargetNone(TargetExtType *T) 858 static ConstantTargetNone *get(TargetExtType *T); 862 inline TargetExtType *getType() const { 863 return cast<TargetExtType>(Value::getType());
|
| H A D | DataLayout.h | 716 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getTypeSizeInBits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVBuiltins.h | 48 const TargetExtType *
|
| H A D | SPIRVUtils.cpp | 345 if (const TargetExtType *EType = in isSpecialOpaqueType() 346 dyn_cast<TargetExtType>(getTypedPtrEltType(Ty))) in isSpecialOpaqueType()
|
| H A D | SPIRVBuiltins.cpp | 2017 static SPIRVType *getNonParameterizedType(const TargetExtType *ExtensionType, in getNonParameterizedType() 2032 static SPIRVType *getPipeType(const TargetExtType *ExtensionType, in getPipeType() 2044 getImageType(const TargetExtType *ExtensionType, in getImageType() 2066 static SPIRVType *getSampledImageType(const TargetExtType *OpaqueType, in getSampledImageType() 2076 const TargetExtType * 2102 return TargetExtType::get(MIRBuilder.getContext(), NameWithParameters); in parseBuiltinTypeNameToTargetExtType() 2121 return TargetExtType::get(MIRBuilder.getContext(), in parseBuiltinTypeNameToTargetExtType() 2138 const TargetExtType *BuiltinType = dyn_cast<TargetExtType>(OpaqueType); in lowerBuiltinType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 226 return TargetExtType::get(Context, "aarch64.svcount"); in getTypeForEVT() 598 TargetExtType *TargetExtTy = cast<TargetExtType>(Ty); in getVT()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 893 if (auto *TETy = dyn_cast<TargetExtType>(C->getType())) { in getConstantValue() 894 assert(TETy->hasProperty(TargetExtType::HasZeroInit) && C->isNullValue() && in getConstantValue() 1040 if (auto *TETy = dyn_cast<TargetExtType>(Ty)) in StoreValueToMemory() 1094 if (auto *TETy = dyn_cast<TargetExtType>(Ty)) in LoadValueFromMemory()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTypes.cpp | 504 return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in ConvertType()
|
| H A D | CGBuiltin.cpp | 9544 if (isa<TargetExtType>(Pred->getType()) && in EmitSVEPredicateCast() 9545 cast<TargetExtType>(Pred->getType())->getName() == "aarch64.svcount") in EmitSVEPredicateCast() 10304 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr() 10311 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr() 10325 bool IsSVCount = isa<TargetExtType>(Ops[0]->getType()); in EmitAArch64SVEBuiltinExpr() 10326 assert(((!IsSVCount || cast<TargetExtType>(Ops[0]->getType())->getName() == in EmitAArch64SVEBuiltinExpr() 10330 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 867 if (isa<TargetExtType>(II.getArgOperand(0)->getType()) || in instCombineConvertFromSVBool() 868 isa<TargetExtType>(II.getType())) in instCombineConvertFromSVBool()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 2551 ResultTy = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTypeTableBody() 3054 if (auto *TETy = dyn_cast<TargetExtType>(CurTy)) in parseConstants() 3055 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in parseConstants()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 3335 Result = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTargetExtType() 5902 if (auto *TETy = dyn_cast<TargetExtType>(Ty)) in convertValIDToValue() 5903 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in convertValIDToValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 1081 TargetExtType *TET = cast<TargetExtType>(T); in writeTypeTable()
|