MLIR  19.0.0git
Public Member Functions | List of all members
mlir::transform::PayloadIRResource Struct Reference

Side effect resource corresponding to the Payload IR itself. More...

#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"

+ Inheritance diagram for mlir::transform::PayloadIRResource:

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)
 

Detailed Description

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 1241 of file TransformInterfaces.h.

Member Function Documentation

◆ getName()

StringRef mlir::transform::PayloadIRResource::getName ( )
inlineoverridevirtual

Return a string name of the resource.

Implements mlir::SideEffects::Resource.

Definition at line 1243 of file TransformInterfaces.h.


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