MLIR
20.0.0git
|
This base class is used for derived effects that are non-parametric. More...
#include "mlir/Interfaces/SideEffectInterfaces.h"
Public Types | |
using | BaseT = Base< DerivedResource > |
Static Public Member Functions | |
static DerivedResource * | get () |
Returns a unique instance for the given effect class. More... | |
static TypeID | getResourceID () |
Return the unique identifier for the base resource class. More... | |
static bool | classof (const Resource *resource) |
'classof' used to support llvm style cast functionality. More... | |
Protected Member Functions | |
Base () | |
Protected Member Functions inherited from mlir::SideEffects::Resource | |
Resource (TypeID id) | |
Additional Inherited Members | |
Public Member Functions inherited from mlir::SideEffects::Resource | |
virtual | ~Resource ()=default |
TypeID | getResourceID () const |
Return the unique identifier for the base resource class. More... | |
virtual StringRef | getName ()=0 |
Return a string name of the resource. More... | |
This base class is used for derived effects that are non-parametric.
Definition at line 85 of file SideEffectInterfaces.h.
using mlir::SideEffects::Resource::Base< DerivedResource, BaseResource >::BaseT = Base<DerivedResource> |
Definition at line 87 of file SideEffectInterfaces.h.
|
inlineprotected |
Definition at line 104 of file SideEffectInterfaces.h.
|
inlinestatic |
'classof' used to support llvm style cast functionality.
Definition at line 99 of file SideEffectInterfaces.h.
References mlir::SideEffects::Resource::Base< DerivedResource, BaseResource >::getResourceID(), and mlir::SideEffects::Resource::getResourceID().
|
inlinestatic |
Returns a unique instance for the given effect class.
Definition at line 90 of file SideEffectInterfaces.h.
|
inlinestatic |
Return the unique identifier for the base resource class.
Definition at line 96 of file SideEffectInterfaces.h.
Referenced by mlir::SideEffects::Resource::Base< DerivedResource, BaseResource >::classof().