|
MLIR 22.0.0git
|
A wrapper class that allows for printing an operation with a custom AsmState, useful to act as a "stream modifier" to customize printing an operation with a stream using the operator<< overload, e.g.: llvm::dbgs() << OpWithState(op, OpPrintingFlags().skipRegions());. More...
#include "mlir/IR/Operation.h"
Public Member Functions | |
| OpWithState (Operation *op, AsmState &state) | |
Friends | |
| raw_ostream & | operator<< (raw_ostream &os, const OpWithState &op) |
A wrapper class that allows for printing an operation with a custom AsmState, useful to act as a "stream modifier" to customize printing an operation with a stream using the operator<< overload, e.g.: llvm::dbgs() << OpWithState(op, OpPrintingFlags().skipRegions());.
Definition at line 1135 of file Operation.h.
Definition at line 1137 of file Operation.h.
Referenced by operator<<.
|
friend |
Definition at line 1145 of file Operation.h.
References OpWithState(), and mlir::Operation::print().