code: def test_access_of_decompose_reduction():
      init = decomposed_gemm.body.block.body.body.body[
          0
      ].body.body.block
      update = decomposed_gemm.body.block.body.body.body[
          1
      ].body.body.body.block
      alloc_buffers = decomposed_gemm.body.block.alloc_buffers
      buffer_var_map = {buf.data: buf for buf in alloc_buffers}
      for block in [init, update]:
          ret = tir.analysis.get_block_access_region(
              block, buffer_var_map
          )
          tvm.ir.assert_structural_equal(block.reads, ret[0])
          tvm.ir.assert_structural_equal(block.writes, ret[1])
  
imports: import pytest
  import tvm
  from tvm import tir
  from tvm.script import tir
  from tvm.ir import Range
label_desc: Use image node_id 20 for calling a global function with example usage: test_access_of_decompose_reduction() without return types