MLIR
20.0.0git
|
A RAII object maintaining a "stack frame" for a transform IR region. More...
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
Public Member Functions | |
~RegionScope () | |
Forgets the mapping from or to values defined in the associated transform IR region, and restores the mapping that existed before entering this scope. More... | |
Friends | |
class | transform::TransformState |
A RAII object maintaining a "stack frame" for a transform IR region.
When applying a transform IR operation that contains a region, the caller is expected to create a RegionScope before applying the ops contained in the region. This ensures that the mappings between values defined in the transform IR region and payload IR operations are cleared when the region processing ends; such values cannot be accessed outside the region.
Definition at line 352 of file TransformInterfaces.h.
transform::TransformState::RegionScope::~RegionScope | ( | ) |
Forgets the mapping from or to values defined in the associated transform IR region, and restores the mapping that existed before entering this scope.
Definition at line 1061 of file TransformInterfaces.cpp.
|
friend |
Definition at line 380 of file TransformInterfaces.h.