code: def test_access_in_branch_func():
      block = access_in_branch_func.body.block.body.block
      alloc_buffers = access_in_branch_func.body.block.alloc_buffers
      buffer_var_map = {buf.data: buf for buf in alloc_buffers}
      ret0 = tir.analysis.get_block_read_write_region(
          block, buffer_var_map
      )
      ret1 = tir.analysis.get_block_access_region(block, buffer_var_map)
      tvm.ir.assert_structural_equal(ret0[0], ret1[0])
      tvm.ir.assert_structural_equal(ret0[1], ret1[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 17 for calling a global function with example usage: test_access_in_branch_func() without return types