MLIR
20.0.0git
|
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 () | |
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.
|
inline |
Definition at line 876 of file Simplex.h.
References mlir::presburger::SimplexBase::getSnapshot().
|
inline |