Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp214 if (auto *TTy = dyn_cast<TargetExtType>(this)) in isSizedDerivedType()
794 TargetExtType::TargetExtType(LLVMContext &C, StringRef Name, in TargetExtType() function in TargetExtType
812 TargetExtType *TargetExtType::get(LLVMContext &C, StringRef Name, in get()
816 TargetExtType *TT; in get()
826 TT = (TargetExtType *)C.pImpl->Alloc.Allocate( in get()
827 sizeof(TargetExtType) + sizeof(Type *) * Types.size() + in get()
829 alignof(TargetExtType)); in get()
830 new (TT) TargetExtType(C, Name, Types, Ints); in get()
850 static TargetTypeInfo getTargetTypeInfo(const TargetExtType *Ty) { in getTargetTypeInfo()
854 return TargetTypeInfo(Type::getInt8PtrTy(C, 0), TargetExtType::HasZeroInit, in getTargetTypeInfo()
[all …]
H A DLLVMContextImpl.h201 KeyTy(const TargetExtType *TT) in KeyTy()
212 static inline TargetExtType *getEmptyKey() { in getEmptyKey()
213 return DenseMapInfo<TargetExtType *>::getEmptyKey(); in getEmptyKey()
216 static inline TargetExtType *getTombstoneKey() { in getTombstoneKey()
217 return DenseMapInfo<TargetExtType *>::getTombstoneKey(); in getTombstoneKey()
227 static unsigned getHashValue(const TargetExtType *FT) { in getHashValue()
231 static bool isEqual(const KeyTy &LHS, const TargetExtType *RHS) { in isEqual()
237 static bool isEqual(const TargetExtType *LHS, const TargetExtType *RHS) { in isEqual()
1491 DenseMap<TargetExtType *, std::unique_ptr<ConstantTargetNone>> CTNConstants;
1533 using TargetExtTypeSet = DenseSet<TargetExtType *, TargetExtTypeKeyInfo>;
H A DDataLayout.cpp823 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getAlignment()
H A DFunction.cpp939 } else if (TargetExtType *TETy = dyn_cast<TargetExtType>(Ty)) { in getMangledTypeStr()
H A DConstants.cpp379 return ConstantTargetNone::get(cast<TargetExtType>(Ty)); in getNullValue()
1724 ConstantTargetNone *ConstantTargetNone::get(TargetExtType *Ty) { in get()
1725 assert(Ty->hasProperty(TargetExtType::HasZeroInit) && in get()
H A DAsmWriter.cpp626 TargetExtType *TETy = cast<TargetExtType>(Ty); in print()
H A DVerifier.cpp804 if (auto *TTy = dyn_cast<TargetExtType>(GV.getValueType())) in visitGlobalVariable()
805 Check(TTy->hasProperty(TargetExtType::CanBeGlobal), in visitGlobalVariable()
H A DCore.cpp871 TargetExtType::get(*unwrap(C), Name, TypeParamArray, IntParamArray)); in LLVMTargetExtTypeInContext()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDerivedTypes.h739 class TargetExtType : public Type {
740 TargetExtType(LLVMContext &C, StringRef Name, ArrayRef<Type *> Types,
748 TargetExtType(const TargetExtType &) = delete;
749 TargetExtType &operator=(const TargetExtType &) = delete;
753 static TargetExtType *get(LLVMContext &Context, StringRef Name,
807 return cast<TargetExtType>(this)->getName(); in getTargetExtName()
H A DConstants.h850 explicit ConstantTargetNone(TargetExtType *T)
859 static ConstantTargetNone *get(TargetExtType *T);
863 inline TargetExtType *getType() const {
864 return cast<TargetExtType>(Value::getType());
H A DDataLayout.h720 Type *LayoutTy = cast<TargetExtType>(Ty)->getLayoutType(); in getTypeSizeInBits()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2517 ResultTy = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTypeTableBody()
3024 if (auto *TETy = dyn_cast<TargetExtType>(CurTy)) in parseConstants()
3025 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in parseConstants()
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp3156 Result = TargetExtType::get(Context, TypeName, TypeParams, IntParams); in parseTargetExtType()
5749 if (auto *TETy = dyn_cast<TargetExtType>(Ty)) in convertValIDToValue()
5750 if (!TETy->hasProperty(TargetExtType::HasZeroInit)) in convertValIDToValue()
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1060 TargetExtType *TET = cast<TargetExtType>(T); in writeTypeTable()
/openbsd-src/gnu/llvm/llvm/docs/
H A DLangRef.rst3671 found in the documentation for ``llvm::TargetExtType::Property`` (`doxygen