|
MLIR 22.0.0git
|
Defines a TypeID for each instance of this class by using a pointer to the instance. More...
#include "mlir/Support/TypeID.h"
Public Member Functions | |
| SelfOwningTypeID ()=default | |
| SelfOwningTypeID (const SelfOwningTypeID &)=delete | |
| SelfOwningTypeID & | operator= (const SelfOwningTypeID &)=delete |
| SelfOwningTypeID (SelfOwningTypeID &&)=delete | |
| SelfOwningTypeID & | operator= (SelfOwningTypeID &&)=delete |
| operator TypeID () const | |
| Implicitly converts to the owned TypeID. | |
| TypeID | getTypeID () const |
| Return the TypeID owned by this object. | |
Defines a TypeID for each instance of this class by using a pointer to the instance.
Thus, the copy and move constructor are deleted. Note: We align by 8 to match the alignment of TypeID::Storage, as we treat an instance of this class similarly to TypeID::Storage.
|
default |
Referenced by mlir::DynamicDialect::DynamicDialect(), operator=(), operator=(), SelfOwningTypeID(), and SelfOwningTypeID().
|
delete |
References SelfOwningTypeID().
|
delete |
References SelfOwningTypeID().
|
inline |
Return the TypeID owned by this object.
Definition at line 381 of file TypeID.h.
References mlir::TypeID::getFromOpaquePointer().
Referenced by mlir::DynamicAttr::get(), mlir::DynamicType::get(), mlir::DynamicType::getChecked(), mlir::DynamicDialect::getTypeID(), mlir::DynamicAttr::isa(), mlir::DynamicType::isa(), and operator TypeID().
|
inline |
Implicitly converts to the owned TypeID.
Definition at line 378 of file TypeID.h.
References getTypeID().
|
delete |
References SelfOwningTypeID().
|
delete |
References SelfOwningTypeID().