MLIR
20.0.0git
|
RAII guard to reset the insertion point of the builder when destroyed. More...
#include "mlir/IR/Builders.h"
Public Member Functions | |
InsertionGuard (OpBuilder &builder) | |
~InsertionGuard () | |
InsertionGuard (const InsertionGuard &)=delete | |
InsertionGuard & | operator= (const InsertionGuard &)=delete |
InsertionGuard (InsertionGuard &&other) noexcept | |
Implement the move constructor to clear the builder field of other . More... | |
InsertionGuard & | operator= (InsertionGuard &&other)=delete |
RAII guard to reset the insertion point of the builder when destroyed.
Definition at line 357 of file Builders.h.
|
inline |
Definition at line 359 of file Builders.h.
|
inline |
Definition at line 362 of file Builders.h.
References mlir::OpBuilder::restoreInsertionPoint().
|
delete |
|
inlinenoexcept |
Implement the move constructor to clear the builder field of other
.
That way it does not restore the insertion point upon destruction as that should be done exclusively by the just constructed InsertionGuard.
Definition at line 373 of file Builders.h.
|
delete |
|
delete |