MLIR
20.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. More... | |
TypeID | getTypeID () const |
Return the TypeID owned by this object. More... | |
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 |
|
delete |
|
delete |
|
inline |
Return the TypeID owned by this object.
Definition at line 324 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 321 of file TypeID.h.
References getTypeID().
|
delete |
|
delete |