/freebsd/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() 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 D | LLVMContextImpl.h | 202 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 D | Function.cpp | 1035 } 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 D | Core.cpp | 970 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 D | DataLayout.cpp | 857 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getAlignment()
|
H A D | Constants.cpp | 393 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 D | AsmWriter.cpp | 648 TargetExtType *TETy = cast<TargetExtType>(Ty); in print()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.h | 158 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 D | SPIRVBuiltins.h | 67 TargetExtType *parseBuiltinTypeNameToTargetExtType(std::string TypeName,
|
H A D | SPIRVUtils.cpp | 384 if (const TargetExtType *EType = dyn_cast<TargetExtType>(Ty)) in isSpecialOpaqueType()
|
H A D | SPIRVBuiltins.cpp | 2675 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 D | SPIRVEmitIntrinsics.cpp | 132 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 D | SPIRVISelLowering.cpp | 202 TargetExtType::get(Context, "spirv.Event")); in validateGroupWaitEventsPtr()
|
H A D | SPIRVGlobalRegistry.h | 538 const TargetExtType *ExtensionType,
|
H A D | SPIRVGlobalRegistry.cpp | 1185 MachineIRBuilder &MIRBuilder, const TargetExtType *ExtensionType, in getOrCreateOpTypeCoopMatr()
|
/freebsd/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 | 865 explicit ConstantTargetNone(TargetExtType *T) 874 static ConstantTargetNone *get(TargetExtType *T); 878 inline TargetExtType *getType() const { 879 return cast<TargetExtType>(Value::getType());
|
H A D | DataLayout.h | 716 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getTypeSizeInBits()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 212 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 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/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenTypes.cpp | 560 return llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in ConvertType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 971 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 D | BitcodeReader.cpp | 2678 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 D | LLParser.cpp | 3533 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 D | BitcodeWriter.cpp | 1169 TargetExtType *TET = cast<TargetExtType>(T); in writeTypeTable()
|