MLIR  19.0.0git
Public Member Functions | List of all members
mlir::presburger::SimplexRollbackScopeExit Class Reference

Takes a snapshot of the simplex state on construction and rolls back to the snapshot on destruction. More...

#include "mlir/Analysis/Presburger/Simplex.h"

Public Member Functions

 SimplexRollbackScopeExit (SimplexBase &simplex)
 
 ~SimplexRollbackScopeExit ()
 

Detailed Description

Takes a snapshot of the simplex state on construction and rolls back to the snapshot on destruction.

Useful for performing operations in a "transient context", all changes from which get rolled back on scope exit.

Definition at line 878 of file Simplex.h.

Constructor & Destructor Documentation

◆ SimplexRollbackScopeExit()

mlir::presburger::SimplexRollbackScopeExit::SimplexRollbackScopeExit ( SimplexBase simplex)
inline

Definition at line 880 of file Simplex.h.

References mlir::presburger::SimplexBase::getSnapshot().

◆ ~SimplexRollbackScopeExit()

mlir::presburger::SimplexRollbackScopeExit::~SimplexRollbackScopeExit ( )
inline

Definition at line 883 of file Simplex.h.


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