Lines Matching defs:TestPrintNestingPass
16 struct TestPrintNestingPass struct
18 MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TestPrintNestingPass) in MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID()
21 StringRef getDescription() const final { return "Test various printing."; } in getDescription()
23 void runOnOperation() override { in runOnOperation()
32 void printOperation(Operation *op) { in printOperation()
52 void printRegion(Region ®ion) { in printRegion()
61 void printBlock(Block &block) { in printBlock()
77 int indent;
78 struct IdentRAII {
83 void resetIndent() { indent = 0; } in resetIndent()
84 IdentRAII pushIndent() { return IdentRAII(++indent); } in pushIndent()
86 llvm::raw_ostream &printIndent() { in printIndent()