USAGE: llvm-tblgen [options]
OPTIONS:
Color Options:
--color - Use colors in output (default=autodetect)
General options:
-D - Name of the macro to be defined
-I - Directory of include files
-d - Dependency filename
Action to perform:
--gen-arm-target-def - Generate the ARM or AArch64 Architecture information header.
--gen-attrs - Generate attributes
--gen-directive-decl - Generate directive related declaration code (header file)
--gen-directive-impl - Generate directive related implementation code
--gen-intrinsic-enums - Generate intrinsic enums
--gen-intrinsic-impl - Generate intrinsic implementation code
--gen-riscv-target-def - Generate the list of CPUs and extensions for RISC-V
--gen-runtime-libcalls - Generate RuntimeLibcalls
--print-records - Print all records to stdout (default)
--print-detailed-records - Print full details of all records to stdout
--null-backend - Do nothing after parsing (useful for timing)
--dump-json - Dump all records as machine-readable JSON
--print-enums - Print enum values for a class
--print-sets - Print expanded sets for testing DAG exprs
--gen-target-features - Generate subtarget enumerations
--gen-target-library-info - Generate TargetLibraryInfo
--gen-vt - Generate ValueType
--gen-asm-matcher - Generate assembly instruction matcher
--gen-asm-writer - Generate assembly writer
--gen-callingconv - Generate calling convention descriptions
--gen-emitter - Generate machine code emitter
--gen-compress-inst-emitter - Generate compressed instructions.
--gen-ctags - Generate ctags-compatible index
--gen-dag-isel - Generate a DAG instruction selector
--gen-automata - Generate generic automata
--gen-dfa-packetizer - Generate DFA Packetizer for VLIW targets
--gen-disassembler - Generate disassembler
--gen-dxil-operation - Generate DXIL operation information
--gen-exegesis - Generate llvm-exegesis tables
--gen-fast-isel - Generate a "fast" instruction selector
--gen-global-isel-combiner - Generate GlobalISel Combiner
--gen-global-isel - Generate GlobalISel selector
--gen-instr-docs - Generate instruction documentation
--gen-instr-info - Generate instruction descriptions
--gen-macro-fusion-pred - Generate macro fusion predicators.
--gen-opt-parser-defs - Generate option definitions
--gen-opt-rst - Generate option RST
--gen-pseudo-lowering - Generate pseudo instruction lowering
--gen-register-bank - Generate registers bank descriptions
--gen-register-info - Generate registers and register classes info
--gen-sd-node-info - Generate target SDNode descriptions
--gen-searchable-tables - Generate generic binary-searchable table
--gen-subtarget - Generate subtarget enumerations
--gen-x86-instr-mapping - Generate X86 instruction mapping
--gen-x86-fold-tables - Generate X86 fold tables
--gen-x86-mnemonic-tables - Generate X86 mnemonic tables
--gisel-extended-llt - Generate extended llt names in match tables
--no-warn-on-unused-template-args - Disable unused template argument warnings.
-o - Output filename
--time-phases - Time phases of parser and backend
--write-if-changed - Only write output if it changed
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
Options for -gen-asm-matcher:
--match-prefix= - Only match instructions with the given prefix
Options for -gen-asm-parser:
--asmparsernum= - Make -gen-asm-parser emit assembly parser #N
Options for -gen-asm-writer:
--asmwriternum= - Make -gen-asm-writer emit assembly writer #N
Options for -gen-dag-isel:
--instrument-coverage - Generates tables to help identify patterns matched
--omit-comments - Do not generate comments
Options for -gen-disassembler:
--ignore-fully-defined-operands - Do not automatically decode operands with no '?' in their encoding.
--ignore-non-decodable-operands - Do not issue an error if an operand cannot be decoded automatically.
--specialize-decoders-per-bitwidth - Specialize the generated `decodeToMCInst` function per bitwidth. Helps reduce the code size.
--suppress-per-hwmode-duplicates= - Suppress duplication of instrs into per-HwMode decoder tables
=O0 - Do not prevent DecoderTable duplications caused by HwModes
=O1 - Remove duplicate DecoderTable entries generated due to HwModes
=O2 - Extract HwModes-specific instructions into new DecoderTables, significantly reducing Table Duplications
--use-fn-table-in-decode-to-mcinst - Use a table of function pointers instead of a switch case in the
generated `decodeToMCInst` function. Helps improve compile time
of the generated code.
Options for -gen-global-isel:
--gisel-coverage-file= - Specify file to retrieve coverage information from
--instrument-gisel-coverage - Generate coverage instrumentation for GlobalISel
--optimize-match-table - Generate an optimized version of the match table
--warn-on-skipped-patterns - Explain why a pattern was skipped for inclusion in the GlobalISel selector
Options for -gen-global-isel-combiner:
--combiners= - Emit the specified combiners
--gicombiner-debug-cxxpreds - Add Contextual/Debug comments to all C++ predicates
--gicombiner-debug-typeinfer - Print type inference debug logs
--gicombiner-stop-after-parse - Stop processing after parsing rules and dump state
Options for -gen-instr-info:
--instr-info-expand-mi-operand-info - Expand operand's MIOperandInfo DAG into suboperands
Options for -gen-intrinsic-enums:
--intrinsic-prefix= - Generate intrinsics with this target prefix
Options for -gen-register-info:
--register-info-debug - Dump register information to help debugging
Options for -gen-sdnode-info:
--sdnode-namespace= - Specify target SDNode namespace (default=ISD)
--warn-on-skipped-nodes - Explain why a node was skipped (default=true)
Options for -print-enums:
--class= - Print Enum list for this class