code: def match_buffer_func(a: T.handle, b: T.handle) -> None:
      A = T.match_buffer(a, (128, 128), "float32")
      B = T.match_buffer(b, (128, 128), "float32")
      for i, j in T.grid(8, 8):
          with T.block("block"):
              vi, vj = T.axis.remap("SS", [i, j])
              T.reads(
                  B[
                      vi * 16 + 2 : vi * 16 + 12,
                      vj * 16 + 2 : vj * 16 + 16,
                  ]
              )
              T.writes(
                  A[vi * 16 : vi * 16 + 16, vj * 16 : vj * 16 + 16]
              )
              B0 = T.match_buffer(
                  B[
                      vi * 16 + 2 : vi * 16 + 6,
                      vj * 16 + 2 : vj * 16 + 6,
                  ],
                  (4, 4),
              )
              B1 = T.match_buffer(
                  B[
                      vi * 16 + 8 : vi * 16 + 12,
                      vj * 16 + 8 : vj * 16 + 16,
                  ],
                  (4, 8),
              )
              for ii, jj in T.grid(16, 16):
                  with T.block("AAA"):
                      vii, vjj = T.axis.remap("SS", [ii, jj])
                      AA = T.match_buffer(A[vii, vjj], ())
                      AA[()] = 1.0
              T.evaluate(B0.data)
              T.evaluate(B1.data)
  
file_path: tvm/tests/python/tir-analysis/test_tir_analysis_detect_buffer_access_lca.py
imports: import tvm
  from tvm import tir
  from tvm.script import tir
label_desc: Use image node_id 4 for calling a global function with example usage: match_buffer_func(a, b) without return types