code: def AOTLowerMain(
      mod_name: str, config: object, call_type: CallType
  ) -> Pass:
      """Lower a Relay main function into an AOT TIR main function.
  
      Parameters
      ----------
      mod_name: str
          The name of the module.
      config : CompilationConfig
          The compilation configuration.
      call_type : CallType
          The calling convention to use.
  
      Returns
      -------
      Pass
          The AOTLowerMain pass.
  
      """
      return _aot.AOTLowerMain(mod_name, config, call_type.value)
  
file_path: tvm/python/tvm/relay/backend/aot.py
imports: from typing import Dict
  from tvm import IRModule
  from tvm.relay.backend import Executor
  from tvm.ir.transform import Pass
  from .utils import CallType
  from .None import _aot
label_desc: Use image node_id 1 for calling a global function with example usage: AOTLowerMain(mod_name, config, call_type) and returns: _aot