@@ -135,7 +135,7 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
135135 p->Print (arg);
136136 args_pattern_string.push_back (p->string_stream .str ());
137137 }
138-
138+
139139 p->string_stream .str (" " );
140140 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
141141 p->string_stream << " CallPatternNode(" << op_pattern_string << " , [" ;
@@ -218,8 +218,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
218218
219219 p->string_stream .str (" " );
220220 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
221- p->string_stream << " LetPatternNode(" << var_pattern_string << " , " << value_pattern_string << " , " << body_pattern_string
222- << " )" ;
221+ p->string_stream << " LetPatternNode(" << var_pattern_string << " , " << value_pattern_string
222+ << " , " << body_pattern_string << " )" ;
223223 });
224224
225225IfPattern::IfPattern (DFPattern cond, DFPattern true_branch, DFPattern false_branch) {
@@ -252,8 +252,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
252252
253253 p->string_stream .str (" " );
254254 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
255- p->string_stream << " IfPattern(" << cond_pattern_string << " , " << true_branch_pattern_string << " , "
256- << false_branch_pattern_string << " )" ;
255+ p->string_stream << " IfPattern(" << cond_pattern_string << " , " << true_branch_pattern_string
256+ << " , " << false_branch_pattern_string << " )" ;
257257 });
258258
259259TuplePattern::TuplePattern (tvm::Array<DFPattern> fields) {
@@ -310,7 +310,6 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
310310 p->Print (pattern->tuple );
311311 std::string tuple_pattern_string{p->string_stream .str ()};
312312
313-
314313 p->string_stream .str (" " );
315314 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
316315 p->string_stream << " TupleGetItemPatternNode(" ;
@@ -341,8 +340,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
341340
342341 p->string_stream .str (" " );
343342 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
344- p->string_stream << " AltPattern(" << left_pattern_string << " | "
345- << right_pattern_string << " )" ;
343+ p->string_stream << " AltPattern(" << left_pattern_string << " | " << right_pattern_string
344+ << " )" ;
346345 });
347346
348347TVM_REGISTER_NODE_TYPE (WildcardPatternNode);
@@ -379,8 +378,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
379378
380379 p->string_stream .str (" " );
381380 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
382- p->string_stream << " TypePattern(" << pattern_pattern_string
383- << " has type " << pattern-> type << " )" ;
381+ p->string_stream << " TypePattern(" << pattern_pattern_string << " has type " << pattern-> type
382+ << " )" ;
384383 });
385384
386385ShapePattern::ShapePattern (DFPattern pattern, Array<PrimExpr> shape) {
@@ -431,8 +430,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
431430
432431 p->string_stream .str (" " );
433432 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
434- p->string_stream << " DataTypePattern(" << pattern_pattern_string
435- << " has dtype " << pattern->dtype << " )" ;
433+ p->string_stream << " DataTypePattern(" << pattern_pattern_string << " has dtype "
434+ << pattern->dtype << " )" ;
436435 });
437436
438437AttrPattern::AttrPattern (DFPattern pattern, DictAttrs attrs) {
@@ -456,8 +455,8 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
456455
457456 p->string_stream .str (" " );
458457 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
459- p->string_stream << " AttrPattern(" << pattern_pattern_string
460- << " has attributes " << pattern->attrs << " )" ;
458+ p->string_stream << " AttrPattern(" << pattern_pattern_string << " has attributes "
459+ << pattern->attrs << " )" ;
461460 });
462461
463462DominatorPattern::DominatorPattern (DFPattern parent, DFPattern path, DFPattern child) {
@@ -492,8 +491,7 @@ TVM_STATIC_IR_FUNCTOR(DFPatternPrinter, vtable)
492491 p->string_stream .str (" " );
493492 p->string_stream << " (id " << p->memo_ [pattern].first << " ): " ;
494493 p->string_stream << " DominatorPattern(" << parent_pattern_string << " , "
495- << path_pattern_string << " , " << child_pattern_string
496- << " )" ;
494+ << path_pattern_string << " , " << child_pattern_string << " )" ;
497495 });
498496
499497// Syntatic Sugar
0 commit comments