MCPcopy Create free account
hub / github.com/apache/tvm / visit_assert_

Method visit_assert_

tests/python/tirx-base/test_tir_stmt_functor.py:78–84  ·  view source on GitHub ↗
(self, op)

Source from the content-addressed store, hash-verified

76 self.log.pop_scope()
77
78 def visit_assert_(self, op):
79 self.log.add("AssertStmt")
80 self.log.push_scope()
81 self.visit_expr(op.condition)
82 self.visit_expr(op.message)
83 self.visit_stmt(op.body)
84 self.log.pop_scope()
85
86 def visit_for_(self, op):
87 self.log.add("For")

Callers 3

visit_assert_Method · 0.45
visit_assert_Method · 0.45
visit_assert_Method · 0.45

Calls 5

visit_exprMethod · 0.95
addMethod · 0.45
push_scopeMethod · 0.45
visit_stmtMethod · 0.45
pop_scopeMethod · 0.45

Tested by

no test coverage detected