Home
last modified time | relevance | path

Searched refs:AbstractType (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypeSupport.h30 class AbstractType {
36 static const AbstractType &lookup(TypeID typeID, MLIRContext *context);
41 static AbstractType get(Dialect &dialect) { in get()
42 return AbstractType(dialect, T::getInterfaceMap(), T::getHasTraitFn(), in get()
85 AbstractType(Dialect &dialect, detail::InterfaceMap &&interfaceMap, in AbstractType() function
128 const AbstractType &getAbstractType() { in getAbstractType()
140 void initialize(const AbstractType &abstractTy) { in initialize()
141 abstractType = const_cast<AbstractType *>(&abstractTy); in initialize()
145 AbstractType *abstractType{nullptr};
191 storage->initialize(AbstractType::lookup(typeID, ctx)); in getWithTypeID()
[all …]
H A DDialect.h220 void addType(TypeID typeID, AbstractType &&typeInfo);
255 addType(T::getTypeID(), AbstractType::get<T>(*this)); in addType()
H A DTypes.h82 using AbstractTy = AbstractType;
/llvm-project-15.0.7/mlir/lib/IR/
H A DMLIRContext.cpp205 DenseMap<TypeID, AbstractType *> registeredTypes;
249 typeMapping.second->~AbstractType(); in ~MLIRContextImpl()
602 void Dialect::addType(TypeID typeID, AbstractType &&typeInfo) { in addType()
608 new (impl.abstractDialectSymbolAllocator.Allocate<AbstractType>()) in addType()
609 AbstractType(std::move(typeInfo)); in addType()
784 const AbstractType &AbstractType::lookup(TypeID typeID, MLIRContext *context) { in lookup()
785 const AbstractType *type = lookupMutable(typeID, context); in lookup()
792 AbstractType *AbstractType::lookupMutable(TypeID typeID, MLIRContext *context) { in lookupMutable()
H A DExtensibleDialect.cpp410 AbstractType::get(*dialect, DynamicAttr::getInterfaceMap(), in registerDynamicType()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp5847 CanQualType AbstractType; member
5852 AbstractType(S.Context.getCanonicalType( in AbstractUsageInfo()
5938 if (CT != Info.AbstractType) return; in CheckPolymorphic()