Home
last modified time | relevance | path

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

12

/freebsd/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()
811 sizeof(TargetExtType) + sizeof(Type *) * Types.size() + in get()
813 alignof(TargetExtType)); in get()
814 new (TT) TargetExtType(C, Name, Types, Ints); in get()
834 static TargetTypeInfo getTargetTypeInfo(const TargetExtType *Ty) { in getTargetTypeInfo()
[all …]
H A DLLVMContextImpl.h202 KeyTy(const TargetExtType *TT)
213 static inline TargetExtType *getEmptyKey() {
214 return DenseMapInfo<TargetExtType *>::getEmptyKey();
217 static inline TargetExtType *getTombstoneKey() {
218 return DenseMapInfo<TargetExtType *>::getTombstoneKey();
228 static unsigned getHashValue(const TargetExtType *FT) {
232 static bool isEqual(const KeyTy &LHS, const TargetExtType *RHS) {
238 static bool isEqual(const TargetExtType *LHS, const TargetExtType *RHS) {
1558 DenseMap<TargetExtType *, std::unique_ptr<ConstantTargetNone>> CTNConstants;
1604 using TargetExtTypeSet = DenseSet<TargetExtType *, TargetExtTypeKeyInfo>;
H A DFunction.cpp1035 } else if (TargetExtType *TETy = dyn_cast<TargetExtType>(Ty)) { in getMangledTypeStr()
1411 return TargetExtType::get(Context, "aarch64.svcount"); in DecodeFixedType()
1595 return !isa<TargetExtType>(Ty) || in matchIntrinsicType()
1596 cast<TargetExtType>(Ty)->getName() != "aarch64.svcount"; in matchIntrinsicType()
H A DCore.cpp970 TargetExtType::get(*unwrap(C), Name, TypeParamArray, IntParamArray)); in LLVMTargetExtTypeInContext()
974 TargetExtType *Type = unwrap<TargetExtType>(TargetExtTy); in LLVMGetTargetExtTypeName()
979 TargetExtType *Type = unwrap<TargetExtType>(TargetExtTy); in LLVMGetTargetExtTypeNumTypeParams()
985 TargetExtType *Type = unwrap<TargetExtType>(TargetExtTy); in LLVMGetTargetExtTypeTypeParam()
990 TargetExtType *Type = unwrap<TargetExtType>(TargetExtTy); in LLVMGetTargetExtTypeNumIntParams()
995 TargetExtType *Type = unwrap<TargetExtType>(TargetExtTy); in LLVMGetTargetExtTypeIntParam()
H A DDataLayout.cpp857 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getAlignment()
H A DConstants.cpp393 return ConstantTargetNone::get(cast<TargetExtType>(Ty)); in getNullValue()
1817 ConstantTargetNone *ConstantTargetNone::get(TargetExtType *Ty) { in get()
1818 assert(Ty->hasProperty(TargetExtType::HasZeroInit) && in get()
H A DAsmWriter.cpp648 TargetExtType *TETy = cast<TargetExtType>(Ty); in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h158 return TargetExtType::get(ElemTy->getContext(), TYPED_PTR_TARGET_EXT_NAME, in getTypedPointerWrapper()
162 inline bool isTypedPointerWrapper(TargetExtType *ExtTy) { in isTypedPointerWrapper()
169 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) { in applyWrappers()
185 else if (auto *ExtTy = dyn_cast<TargetExtType>(Ty)) in getPointeeType()
194 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty2)) in isUntypedEquivalentToTyExt()
H A DSPIRVBuiltins.h67 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName,
H A DSPIRVUtils.cpp384 if (const TargetExtType *EType = dyn_cast<TargetExtType>(Ty)) in isSpecialOpaqueType()
H A DSPIRVBuiltins.cpp2675 static SPIRVType *getNonParameterizedType(const TargetExtType *ExtensionType, in getNonParameterizedType()
2690 static SPIRVType *getPipeType(const TargetExtType *ExtensionType, in getPipeType()
2701 static SPIRVType *getCoopMatrType(const TargetExtType *ExtensionType, in getCoopMatrType()
2718 getImageType(const TargetExtType *ExtensionType, in getImageType()
2740 static SPIRVType *getSampledImageType(const TargetExtType *OpaqueType, in getSampledImageType()
2750 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName, in parseBuiltinTypeNameToTargetExtType()
2775 return TargetExtType::get(Context, NameWithParameters); in parseBuiltinTypeNameToTargetExtType()
2794 return TargetExtType::get(Context, in parseBuiltinTypeNameToTargetExtType()
2811 const TargetExtType *BuiltinType = dyn_cast<TargetExtType>(OpaqueType); in lowerBuiltinType()
H A DSPIRVEmitIntrinsics.cpp132 void insertAssignPtrTypeTargetExt(TargetExtType *AssignedType, Value *V,
1016 TargetExtType *AssignedType, Value *V, IRBuilder<> &B) { in insertAssignPtrTypeTargetExt()
1216 insertAssignPtrTypeTargetExt(cast<TargetExtType>(ExpectedType), in insertPtrCastOrAssignTypeInstr()
1439 buildAssignType(B, TargetExtType::get(I->getContext(), "spirv.Event"), in insertAssignTypeIntrs()
H A DSPIRVISelLowering.cpp202 TargetExtType::get(Context, "spirv.Event")); in validateGroupWaitEventsPtr()
H A DSPIRVGlobalRegistry.h538 const TargetExtType *ExtensionType,
H A DSPIRVGlobalRegistry.cpp1185 MachineIRBuilder &MIRBuilder, const TargetExtType *ExtensionType, in getOrCreateOpTypeCoopMatr()
/freebsd/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.h865 explicit ConstantTargetNone(TargetExtType *T)
874 static ConstantTargetNone *get(TargetExtType *T);
878 inline TargetExtType *getType() const {
879 return cast<TargetExtType>(Value::getType());
H A DDataLayout.h716 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getTypeSizeInBits()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp212 return TargetExtType::get(Context, "aarch64.svcount"); in getTypeForEVT()
247 TargetExtType *TargetExtTy = cast<TargetExtType>(Ty); in getVT()
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp560 return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in ConvertType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp971 if (isa<TargetExtType>(II.getArgOperand(0)->getType()) || in instCombineConvertFromSVBool()
972 isa<TargetExtType>(II.getType())) in instCombineConvertFromSVBool()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2678 ResultTy = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTypeTableBody()
3181 if (auto *TETy = dyn_cast<TargetExtType>(CurTy)) in parseConstants()
3182 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in parseConstants()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp3533 Result = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTargetExtType()
6180 if (auto *TETy = dyn_cast<TargetExtType>(Ty)) in convertValIDToValue()
6181 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in convertValIDToValue()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1169 TargetExtType *TET = cast<TargetExtType>(T); in writeTypeTable()

12