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. 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 1134 of file Operation.h.
Definition at line 1136 of file Operation.h.
|
friend |
Definition at line 1144 of file Operation.h.