code: def tokenize_target(target):
      """
      Extract a list of tokens from a target specification text.
  
      It covers some corner-cases that are not covered by the built-in
      module 'shlex', such as the use of "+" as a punctuation character.
  
  
      Example
      -------
  
      For the input `foo -op1=v1 -op2="v ,2", bar -op3=v-4` we
      should obtain:
  
          ["foo", "-op1=v1", "-op2="v ,2"", ",", "bar", "-op3=v-4"]
  
      Parameters
      ----------
      target : str
          Target options sent via CLI arguments
  
      Returns
      -------
      list of str
          a list of parsed tokens extracted from the target string
      """
  
      # Regex to tokenize the "--target" value. It is split into five parts
      # to match with:
      #  1. target and option names e.g. llvm, -mattr=, -mcpu=
      #  2. option values, all together, without quotes e.g. -mattr=+foo,+opt
      #  3. option values, when single quotes are used e.g. -mattr='+foo, +opt'
      #  4. option values, when double quotes are used e.g. -mattr="+foo ,+opt"
      #  5. commas that separate different targets e.g. "my-target, llvm"
      target_pattern = (
          r"(\-{0,2}[\w\-]+\=?"
          r"(?:[\w\+\-\.]+(?:,[\w\+\-\.])*"
          r"|[\'][\w\+\-,\s\.]+[\']"
          r"|[\"][\w\+\-,\s\.]+[\"])*"
          r"|,)"
      )
  
      return re.findall(target_pattern, target)
  
imports: import os
  import logging
  import json
  import re
  import tvm
  from tvm.driver import tvmc
  from tvm.driver.tvmc import TVMCException
  from tvm.driver.tvmc.composite_target import get_codegen_by_target, get_codegen_names
  from tvm.ir.attrs import make_node, _ffi_api
  from tvm.ir.transform import PassContext
  from tvm.target import Target, TargetKind
label_desc: Use image node_id 9 for calling a global function with example usage: tokenize_target(target) and returns: re