code: def ir_transform(stmt, preorder, postorder, only_enable=None):
      """Recursively visit and transform ir nodes in post DFS order.
  
      Parameters
      ----------
      stmt : tvm.tir.Stmt
          The input to be transformed.
  
      preorder: function
          The function called in before recursive mutation
          If preorder returns None, then the transform will proceed to recursive call.
          If preorder returns a not None tvm.tir.Stmt/Expr, the transformer will simply return it and
          won't do further recursion.
  
      postorder : function
          The function called after recursive mutation.
  
      only_enable : Optional[List[str]]
          List of types that we only enable.
  
      Returns
      -------
      result : tvm.tir.Stmt
          The result.
      """
      return _ffi_api.IRTransform(
          stmt, preorder, postorder, only_enable
      )
  
imports: from .function import PrimFunc
  from .None import _ffi_api
label_desc: Use image node_id 1 for calling a global function with example usage: ir_transform(stmt, preorder, postorder, only_enable) and returns: _ffi_api