Home
last modified time | relevance | path

Searched refs:TargetExtType (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSPIR.cpp171 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 DType.cpp88 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 DLLVMContextImpl.h200 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 DFunction.cpp974 } 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 DDataLayout.cpp857 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getAlignment()
H A DConstants.cpp379 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 DAsmWriter.cpp641 TargetExtType *TETy = cast<TargetExtType>(Ty); in print()
H A DVerifier.cpp861 if (auto *TTy = dyn_cast<TargetExtType>(GV.getValueType())) in visitGlobalVariable()
862 Check(TTy->hasProperty(TargetExtType::CanBeGlobal), in visitGlobalVariable()
H A DCore.cpp926 TargetExtType::get(*unwrap(C), Name, TypeParamArray, IntParamArray)); in LLVMTargetExtTypeInContext()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h720 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 DConstants.h849 explicit ConstantTargetNone(TargetExtType *T)
858 static ConstantTargetNone *get(TargetExtType *T);
862 inline TargetExtType *getType() const {
863 return cast<TargetExtType>(Value::getType());
H A DDataLayout.h716 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getTypeSizeInBits()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.h48 const TargetExtType *
H A DSPIRVUtils.cpp345 if (const TargetExtType *EType = in isSpecialOpaqueType()
346 dyn_cast<TargetExtType>(getTypedPtrEltType(Ty))) in isSpecialOpaqueType()
H A DSPIRVBuiltins.cpp2017 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 DValueTypes.cpp226 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 DExecutionEngine.cpp893 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 DCodeGenTypes.cpp504 return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in ConvertType()
H A DCGBuiltin.cpp9544 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 DAArch64TargetTransformInfo.cpp867 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 DBitcodeReader.cpp2551 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 DLLParser.cpp3335 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 DBitcodeWriter.cpp1081 TargetExtType *TET = cast<TargetExtType>(T); in writeTypeTable()