|
MLIR 23.0.0git
|
Side effect resource corresponding to the Payload IR itself. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
| StringRef | getName () const override |
| Return a string name of the resource. | |
| Public Member Functions inherited from mlir::SideEffects::Resource | |
| virtual | ~Resource ()=default |
| TypeID | getResourceID () const |
| Return the unique identifier for the base resource class. | |
| virtual Resource * | getParent () const |
| Return the parent resource in the hierarchy, or nullptr for a root. | |
| virtual bool | isAddressable () const |
| Returns true if this resource is addressable (effects on it can alias pointer-based memory). | |
| bool | isSubresourceOf (const Resource *other) const |
| Returns true if this resource is a subresource of (or equal to) another. | |
| bool | isDisjointFrom (const Resource *other) const |
| Returns true if this resource is disjoint from another. | |
Additional Inherited Members | |
| Public Types inherited from mlir::SideEffects::Resource::Base< PayloadIRResource > | |
| using | BaseT |
| Use the current instantiation so get()/getResourceID() refer to this hierarchy's singleton, not Base<DerivedResource, Resource>'s. | |
| Static Public Member Functions inherited from mlir::SideEffects::Resource::Base< PayloadIRResource > | |
| static PayloadIRResource * | get () |
| Returns a unique instance for the given effect class. | |
| static TypeID | getResourceID () |
| Return the unique identifier for the base resource class. | |
| static bool | classof (const Resource *resource) |
| 'classof' used to support llvm style cast functionality. | |
| 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 1268 of file TransformInterfaces.h.
|
inlineoverridevirtual |
Return a string name of the resource.
Implements mlir::SideEffects::Resource.
Definition at line 1270 of file TransformInterfaces.h.