code: def make_add_add_add_pattern():
      r"""Create a pattern to match the following graph.
         Useful for testing re-using a call node.
  
          x    y
        /  \  /
        |  add
         \  |  \
           add |
            | /
           add
      """
      x = wildcard()
      y = wildcard()
      add_node = is_op("add")(x, y)
      add_node_1 = is_op("add")(x, add_node)
      r = is_op("add")(add_node_1, add_node)
      return r
  
imports: import pytest
  import tvm
  from tvm import relay, tir
  from tvm.relay.dataflow_pattern import TuplePattern, TupleGetItemPattern, is_op, wildcard
  from tvm.relay.testing import run_opt_pass
label_desc: Use image node_id 5 for calling a global function with example usage: make_add_add_add_pattern() and returns: r