MLIR
18.0.0git
|
Side effect resource corresponding to the Payload IR itself. More...
#include "mlir/Dialect/Transform/IR/TransformInterfaces.h"
Public Member Functions | |
StringRef | getName () override |
Return a string name of the resource. More... | |
![]() | |
virtual | ~Resource ()=default |
TypeID | getResourceID () const |
Return the unique identifier for the base resource class. More... | |
Additional Inherited Members | |
![]() | |
using | BaseT = 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... | |
![]() | |
Base () | |
![]() | |
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 1224 of file TransformInterfaces.h.
|
inlineoverridevirtual |
Return a string name of the resource.
Implements mlir::SideEffects::Resource.
Definition at line 1226 of file TransformInterfaces.h.