MLIR  20.0.0git
Public Member Functions | Friends | List of all members
mlir::transform::TransformState::RegionScope Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~RegionScope()

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.

Friends And Related Function Documentation

◆ transform::TransformState

Definition at line 380 of file TransformInterfaces.h.


The documentation for this class was generated from the following files: