code: def generate_cache_table(analysis: Analysis, out: CWriter) -> None:
      out.emit("extern const uint8_t _PyOpcode_Caches[256];\n")
      out.emit("#ifdef NEED_OPCODE_METADATA\n")
      out.emit("const uint8_t _PyOpcode_Caches[256] = {\n")
      for inst in analysis.instructions.values():
          if inst.family and inst.family.name != inst.name:
              continue
          if inst.name.startswith("INSTRUMENTED"):
              continue
          if inst.size > 1:
              out.emit(f"[{inst.name}] = {inst.size-1},\n")
      out.emit("};\n")
      out.emit("#endif\n\n")
  
imports: import argparse
  import os.path
  import sys
  from analyzer import Analysis, Instruction, analyze_files, Skip, Uop
  from generators_common import DEFAULT_INPUT, ROOT, write_header, cflags, StackOffset
  from cwriter import CWriter
  from typing import TextIO
  from stack import get_stack_effect
label_desc: Use image node_id 9 for calling a global function with example usage: generate_cache_table(analysis, out) without return types