code: def replace_ir_builder_with_opaque():
      func = tvm.script.from_source(block_in_opaque_block.script())
      s = tir.ScheduleState(func, debug_mask="all")
      gc.collect()
      return s
  
imports: import gc
  import sys
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.ir import IRModule
  from tvm.script import tir
label_desc: Use image node_id 6 for calling a global function with example usage: replace_ir_builder_with_opaque() and returns: s