MLIR
20.0.0git
|
Side effect resource corresponding to the Payload IR itself. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
StringRef | getName () override |
Return a string name of the resource. More... | |
Public Member Functions inherited from mlir::SideEffects::Resource | |
virtual | ~Resource ()=default |
TypeID | getResourceID () const |
Return the unique identifier for the base resource class. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::SideEffects::Resource::Base< PayloadIRResource > | |
using | BaseT = Base< PayloadIRResource > |
Static Public Member Functions inherited from mlir::SideEffects::Resource::Base< PayloadIRResource > | |
static PayloadIRResource * | 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 inherited from mlir::SideEffects::Resource::Base< PayloadIRResource > | |
Base () | |
Protected Member Functions inherited from mlir::SideEffects::Resource | |
Resource (TypeID id) | |
Side effect resource corresponding to the Payload IR itself.
Only Read and Write effects are expected on this resource, with Write always accompanied by a Read (short of fully replacing the top-level Payload IR operation, one cannot modify the Payload IR without reading it first). This is intended to disallow reordering of Transform IR operations that mutate the Payload IR while still allowing the reordering of those that only access it.
Definition at line 1257 of file TransformInterfaces.h.
|
inlineoverridevirtual |
Return a string name of the resource.
Implements mlir::SideEffects::Resource.
Definition at line 1259 of file TransformInterfaces.h.