#include "mlir/IR/Unit.h"
#include "mlir/IR/Operation.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/Region.h"
#include "llvm/Support/raw_ostream.h"
#include <iterator>
#include <sstream>
usingnamespacemlir;
static void printOp(llvm::raw_ostream &os, Operation *op,
OpPrintingFlags &flags) { … }
static void printRegion(llvm::raw_ostream &os, Region *region,
OpPrintingFlags &flags) { … }
static void printBlock(llvm::raw_ostream &os, Block *block,
OpPrintingFlags &flags) { … }
void mlir::IRUnit::print(llvm::raw_ostream &os, OpPrintingFlags flags) const { … }
llvm::raw_ostream &mlir::operator<<(llvm::raw_ostream &os, const IRUnit &unit) { … }