OVERVIEW: LLVM module splitter
USAGE: llvm-split [options]
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= - Function attribute name to use when splitting with -split-by-category=attribute
-j - Number of output files
--mcpu= - Target CPU, ignored if --mtriple is not used
--mtriple= - Target triple. When present, a TargetMachine is created and TargetMachine::splitModule is used instead of the common SplitModule logic.
-o - 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= - 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