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

Side effect resource corresponding to the mapping between Transform IR values and Payload IR operations. More...

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

+ Inheritance diagram for mlir::transform::TransformMappingResource:

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< TransformMappingResource >
using BaseT = Base< TransformMappingResource >
 
- Static Public Member Functions inherited from mlir::SideEffects::Resource::Base< TransformMappingResource >
static TransformMappingResource * 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< TransformMappingResource >
 Base ()
 
- Protected Member Functions inherited from mlir::SideEffects::Resource
 Resource (TypeID id)
 

Detailed Description

Side effect resource corresponding to the mapping between Transform IR values and Payload IR operations.

An Allocate effect from this resource means creating a new mapping entry, it is always accompanied by a Write effect. A Read effect from this resource means accessing the mapping. A Free effect on this resource indicates the removal of the mapping entry, typically after a transformation that modifies the Payload IR operations associated with one of the Transform IR operation's operands. It is always accompanied by a Read effect. Read-after-Free and double-Free are not allowed (they would be problematic with "regular" memory effects too) as they indicate an attempt to access Payload IR operations that have been modified, potentially erased, by the previous transformations.

Definition at line 1230 of file TransformInterfaces.h.

Member Function Documentation

◆ getName()

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

Return a string name of the resource.

Implements mlir::SideEffects::Resource.

Definition at line 1232 of file TransformInterfaces.h.


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