OS Manuals

/usr/bin/llvm-split

Low-level virtual machine 23 - core frameworks

From llvm-23 23.1.5-r0 (os), captured 2026-11-05 by running llvm-split --help (exit 0). permalink

Also provided by 9 other package versions
OVERVIEW: LLVM module splitter

USAGE: llvm-split [options] <input bitcode file>

OPTIONS:

Color Options:

  --color                     - Use colors in output (default=autodetect)

Generic Options:

  --help                      - Display available options (--help-hidden for more)
  --help-list                 - Display list of available options (--help-list-hidden for more)
  --version                   - Display the version of this program

Split Options:

  -S                          - Write output as LLVM assembly
  --category-attribute=<name> - Function attribute name to use when splitting with -split-by-category=attribute
  -j <uint>                   - Number of output files
  --mcpu=<cpu>                - Target CPU, ignored if --mtriple is not used
  --mtriple=<triple>          - Target triple. When present, a TargetMachine is created and TargetMachine::splitModule is used instead of the common SplitModule logic.
  -o <filename>               - Override output filename
  --preserve-locals           - Split without externalizing locals
  --round-robin               - Use round-robin distribution of functions to modules instead of the default name-hash-based one
  --split-by-category=<value> - Split by category. If present, splitting by category is used with the specified categorization type.
    =attribute                -   one output module per unique value of the function attribute named by --category-attribute
    =kernel                   -   one output module per kernel
Options (11)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
-S- Write output as LLVM assemblyhelp
-j uint- Number of output fileshelp
--mcpu cpu- Target CPU, ignored if --mtriple is not usedhelp
--mtriple triple- Target triple.help
-o filename- Override output filenamehelp
--preserve-locals- Split without externalizing localshelp
--round-robin- Use round-robin distribution of functions to modules instead of the default name-hash-based onehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.