MLIR  20.0.0git
Public Member Functions | List of all members
mlir::SelfOwningTypeID Class Reference

Defines a TypeID for each instance of this class by using a pointer to the instance. More...

#include "mlir/Support/TypeID.h"

+ Inheritance diagram for mlir::SelfOwningTypeID:

Public Member Functions

 SelfOwningTypeID ()=default
 
 SelfOwningTypeID (const SelfOwningTypeID &)=delete
 
SelfOwningTypeIDoperator= (const SelfOwningTypeID &)=delete
 
 SelfOwningTypeID (SelfOwningTypeID &&)=delete
 
SelfOwningTypeIDoperator= (SelfOwningTypeID &&)=delete
 
 operator TypeID () const
 Implicitly converts to the owned TypeID. More...
 
TypeID getTypeID () const
 Return the TypeID owned by this object. More...
 

Detailed Description

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.

Definition at line 312 of file TypeID.h.

Constructor & Destructor Documentation

◆ SelfOwningTypeID() [1/3]

mlir::SelfOwningTypeID::SelfOwningTypeID ( )
default

◆ SelfOwningTypeID() [2/3]

mlir::SelfOwningTypeID::SelfOwningTypeID ( const SelfOwningTypeID )
delete

◆ SelfOwningTypeID() [3/3]

mlir::SelfOwningTypeID::SelfOwningTypeID ( SelfOwningTypeID &&  )
delete

Member Function Documentation

◆ getTypeID()

TypeID mlir::SelfOwningTypeID::getTypeID ( ) const
inline

◆ operator TypeID()

mlir::SelfOwningTypeID::operator TypeID ( ) const
inline

Implicitly converts to the owned TypeID.

Definition at line 321 of file TypeID.h.

References getTypeID().

◆ operator=() [1/2]

SelfOwningTypeID& mlir::SelfOwningTypeID::operator= ( const SelfOwningTypeID )
delete

◆ operator=() [2/2]

SelfOwningTypeID& mlir::SelfOwningTypeID::operator= ( SelfOwningTypeID &&  )
delete

The documentation for this class was generated from the following file: