OS Manuals

/usr/bin/mlir-cpu-runner

Low-level virtual machine 14 - core frameworks

From llvm-14 14.0.6-r12 (enterprise-packages), captured 2026-11-08 by running mlir-cpu-runner --help (exit 0). permalink

OVERVIEW: MLIR CPU execution driver

USAGE: mlir-cpu-runner [options] <input file>

OPTIONS:

Color Options:

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

General options:

  --aarch64-neon-syntax=<value>                      - Choose style of NEON code to emit from AArch64 backend:
    =generic                                         -   Emit generic NEON assembly
    =apple                                           -   Emit Apple-style NEON assembly
  --aarch64-use-aa                                   - Enable the use of AA during codegen.
  --abort-on-max-devirt-iterations-reached           - Abort when the max iterations for devirtualization CGSCC repeat pass is reached
  --allow-ginsert-as-artifact                        - Allow G_INSERT to be considered an artifact. Hack around AMDGPU test infinite loops.
  --amdgpu-bypass-slow-div                           - Skip 64-bit divide for dynamic 32-bit values
  --amdgpu-disable-loop-alignment                    - Do not align and prefetch loops
  --amdgpu-disable-power-sched                       - Disable scheduling to minimize mAI power bursts
  --amdgpu-dpp-combine                               - Enable DPP combiner
  --amdgpu-dump-hsa-metadata                         - Dump AMDGPU HSA Metadata
  --amdgpu-enable-flat-scratch                       - Use flat scratch instructions
  --amdgpu-enable-merge-m0                           - Merge and hoist M0 initializations
  --amdgpu-promote-alloca-to-vector-limit=<uint>     - Maximum byte size to consider promote alloca to vector
  --amdgpu-sdwa-peephole                             - Enable SDWA peepholer
  --amdgpu-use-aa-in-codegen                         - Enable the use of AA during codegen.
  --amdgpu-verify-hsa-metadata                       - Verify AMDGPU HSA Metadata
  --amdgpu-vgpr-index-mode                           - Use GPR indexing mode instead of movrel for vector indexing
  --arm-add-build-attributes                         -
  --arm-implicit-it=<value>                          - Allow conditional instructions outdside of an IT block
    =always                                          -   Accept in both ISAs, emit implicit ITs in Thumb
    =never                                           -   Warn in ARM, reject in Thumb
    =arm                                             -   Accept in ARM, reject in Thumb
    =thumb                                           -   Warn in ARM, emit implicit ITs in Thumb
  --asm-show-inst                                    - Emit internal instruction representation to assembly file
  --atomic-counter-update-promoted                   - Do counter update using atomic fetch add  for promoted counters only
  --atomic-first-counter                             - Use atomic fetch add for first counter in a function (usually the entry counter)
  --bounds-checking-single-trap                      - Use one trap block per function
  --cfg-hide-cold-paths=<number>                     - Hide blocks with relative frequency below the given value
  --cfg-hide-deoptimize-paths                        -
  --cfg-hide-unreachable-paths                       -
  --cost-kind=<value>                                - Target cost kind
    =throughput                                      -   Reciprocal throughput
    =latency                                         -   Instruction latency
    =code-size                                       -   Code size
    =size-latency                                    -   Code size and latency
  --debug-info-correlate                             - Use debug info to correlate profiles.
  --debugify-level=<value>                           - Kind of debug info to add
    =locations                                       -   Locations only
    =location+variables                              -   Locations and Variables
  --debugify-quiet                                   - Suppress verbose debugify output
  --disable-i2p-p2i-opt                              - Disables inttoptr/ptrtoint roundtrip optimization
  --disable-promote-alloca-to-lds                    - Disable promote alloca to LDS
  --disable-promote-alloca-to-vector                 - Disable promote alloca to vector
  --do-counter-promotion                             - Do counter register promotion
  --dot-cfg-mssa=<file name for generated dot file>  - file name for generated dot file
  --dump-object-file                                 - Dump JITted-compiled object to file specified with -object-filename (<input file>.o by default).
  --dwarf-version=<int>                              - Dwarf version
  --dwarf64                                          - Generate debugging info in the 64-bit DWARF format
  -e=<<function name>>                               - The function to be called
  --emscripten-cxx-exceptions-allowed=<string>       - The list of function names in which Emscripten-style exception handling is enabled (see emscripten EMSCRIPTEN_CATCHING_ALLOWED options)
  --enable-cse-in-irtranslator                       - Should enable CSE in irtranslator
  --enable-cse-in-legalizer                          - Should enable CSE in Legalizer
  --enable-emscripten-cxx-exceptions                 - WebAssembly Emscripten-style exception handling
  --enable-emscripten-sjlj                           - WebAssembly Emscripten-style setjmp/longjmp handling
  --enable-gvn-hoist                                 - Enable the GVN hoisting pass (default = off)
  --enable-gvn-memdep                                -
  --enable-gvn-sink                                  - Enable the GVN sinking pass (default = off)
  --enable-load-in-loop-pre                          -
  --enable-load-pre                                  -
  --enable-loop-simplifycfg-term-folding             -
  --enable-name-compression                          - Enable name/filename string compression
  --enable-split-backedge-in-load-pre                -
  --entry-point-result=<f32 | i32 | i64 | void>      - Textual description of the function type to be called
  --experimental-debug-variable-locations            - Use experimental new value-tracking variable locations
  --fatal-warnings                                   - Treat warnings as errors
  --fs-profile-debug-bw-threshold=<uint>             - Only show debug message if the source branch weight is greater  than this value.
  --fs-profile-debug-prob-diff-threshold=<uint>      - Only show debug message if the branch probility is greater than this value (in percentage).
  --generate-merged-base-profiles                    - When generating nested context-sensitive profiles, always generate extra base profile for function with all its context profiles merged into it.
  --gpsize=<uint>                                    - Global Pointer Addressing Size.  The default size is 8.
  --hash-based-counter-split                         - Rename counter variable of a comdat function based on cfg hash
  --hot-cold-split                                   - Enable hot-cold splitting pass
  --import-all-index                                 - Import all external functions in index.
  --incremental-linker-compatible                    - When used with filetype=obj, emit an object file which can be used with an incremental linker
  --instcombine-code-sinking                         - Enable code sinking
  --instcombine-guard-widening-window=<uint>         - How wide an instruction window to bypass looking for another guard
  --instcombine-max-iterations=<uint>                - Limit the maximum number of instruction combining iterations
  --instcombine-max-num-phis=<uint>                  - Maximum number phis to handle in intptr/ptrint folding
  --instcombine-maxarray-size=<uint>                 - Maximum array size considered when doing a combine
  --instcombine-negator-enabled                      - Should we attempt to sink negations?
  --instcombine-negator-max-depth=<uint>             - What is the maximal lookup depth when trying to check for viability of negation sinking.
  --instrprof-atomic-counter-update-all              - Make all profile counter updates atomic (for testing only)
  --internalize-public-api-file=<filename>           - A file containing list of symbol names to preserve
  --internalize-public-api-list=<list>               - A list of symbol names to preserve
  --iterative-counter-promotion                      - Allow counter promotion across the whole loop nest.
  --lto-embed-bitcode=<value>                        - Embed LLVM bitcode in object files produced by LTO
    =none                                            -   Do not embed
    =optimized                                       -   Embed after all optimization passes
    =post-merge-pre-opt                              -   Embed post merge, but before optimizations
  --lto-pass-remarks-filter=<regex>                  - Only record optimization remarks from passes whose names match the given regular expression
  --lto-pass-remarks-format=<format>                 - The format used for serializing remarks (default: YAML)
  --lto-pass-remarks-output=<filename>               - Output filename for pass remarks
  --matrix-default-layout=<value>                    - Sets the default matrix layout
    =column-major                                    -   Use column-major layout
    =row-major                                       -   Use row-major layout
  --max-counter-promotions=<int>                     - Max number of allowed counter promotions
  --max-counter-promotions-per-loop=<uint>           - Max number counter promotions per loop to avoid increasing register pressure too much
  --mc-relax-all                                     - When used with filetype=obj, relax all fixups in the emitted object file
  --mcabac                                           - tbd
  --merror-missing-parenthesis                       - Error for missing parenthesis around predicate registers
  --merror-noncontigious-register                    - Error for register names that aren't contigious
  --mhvx                                             - Enable Hexagon Vector eXtensions
  --mhvx=<value>                                     - Enable Hexagon Vector eXtensions
    =v60                                             -   Build for HVX v60
    =v62                                             -   Build for HVX v62
    =v65                                             -   Build for HVX v65
    =v66                                             -   Build for HVX v66
    =v67                                             -   Build for HVX v67
    =v68                                             -   Build for HVX v68
    =v69                                             -   Build for HVX v69
  --mips-compact-branches=<value>                    - MIPS Specific: Compact branch policy.
    =never                                           -   Do not use compact branches if possible.
    =optimal                                         -   Use compact branches where appropriate (default).
    =always                                          -   Always use compact branches if possible.
  --mips16-constant-islands                          - Enable mips16 constant islands.
  --mips16-hard-float                                - Enable mips16 hard float.
  --mir-strip-debugify-only                          - Should mir-strip-debug only strip debug info from debugified modules by default
  --mno-compound                                     - Disable looking for compound instructions for Hexagon
  --mno-fixup                                        - Disable fixing up resolved relocations for Hexagon
  --mno-ldc1-sdc1                                    - Expand double precision loads and stores to their single precision counterparts
  --mno-pairing                                      - Disable looking for duplex instructions for Hexagon
  --mwarn-missing-parenthesis                        - Warn for missing parenthesis around predicate registers
  --mwarn-noncontigious-register                     - Warn for register names that arent contigious
  --mwarn-sign-mismatch                              - Warn for mismatching a signed and unsigned value
  --no-deprecated-warn                               - Suppress all deprecated warnings
  --no-discriminators                                - Disable generation of discriminator information.
  --no-type-check                                    - Suppress type errors (Wasm)
  --no-warn                                          - Suppress all warnings
  --nvptx-sched4reg                                  - NVPTX Specific: schedule for register pressue
  --object-filename=<string>                         - Dump JITted-compiled object to file <input file>.o
  --opaque-pointers                                  - Use opaque pointers
  --poison-checking-function-local                   - Check that returns are non-poison (for testing)
  --print-pipeline-passes                            - Print a '-passes' compatible string describing the pipeline (best-effort only).
  --r600-ir-structurize                              - Use StructurizeCFG IR pass
  --rdf-dump                                         -
  --rdf-limit=<uint>                                 -
  --runtime-counter-relocation                       - Enable relocating counters at runtime.
  --safepoint-ir-verifier-print-only                 -
  --sample-profile-check-record-coverage=<N>         - Emit a warning if less than N% of records in the input profile are matched to the IR.
  --sample-profile-check-sample-coverage=<N>         - Emit a warning if less than N% of samples in the input profile are matched to the IR.
  --sample-profile-max-propagate-iterations=<uint>   - Maximum number of iterations to go through when propagating sample block/edge weights through the CFG.
  --skip-ret-exit-block                              - Suppress counter promotion if exit blocks contain ret.
  --speculative-counter-promotion-max-exiting=<uint> - The max number of exiting blocks of a loop to allow  speculative counter promotion
  --speculative-counter-promotion-to-loop            - When the option is false, if the target block is in a loop, the promotion will be disallowed unless the promoted counter  update can be further/iteratively promoted into an acyclic  region.
  --summary-file=<string>                            - The summary file to use for function importing.
  --tail-predication=<value>                         - MVE tail-predication pass options
    =disabled                                        -   Don't tail-predicate loops
    =enabled-no-reductions                           -   Enable tail-predication, but not for reduction loops
    =enabled                                         -   Enable tail-predication, including reduction loops
    =force-enabled-no-reductions                     -   Enable tail-predication, but not for reduction loops, and force this which might be unsafe
    =force-enabled                                   -   Enable tail-predication, including reduction loops, and force this which might be unsafe
  --thinlto-assume-merged                            - Assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes.
  --threads=<int>                                    -
  --verify-region-info                               - Verify region info (time consuming)
  --vp-counters-per-site=<number>                    - The average number of profile counters allocated per value profiling site.
  --vp-static-alloc                                  - Do static counter allocation for value profiler
  --wasm-enable-eh                                   - WebAssembly exception handling
  --wasm-enable-sjlj                                 - WebAssembly setjmp/longjmp handling
  --x86-align-branch=<string>                        - Specify types of branches to align (plus separated list of types):
                                                       jcc      indicates conditional jumps
                                                       fused    indicates fused conditional jumps
                                                       jmp      indicates direct unconditional jumps
                                                       call     indicates direct and indirect calls
                                                       ret      indicates rets
                                                       indirect indicates indirect unconditional jumps
  --x86-align-branch-boundary=<uint>                 - Control how the assembler should align branches with NOP. If the boundary's size is not 0, it should be a power of 2 and no less than 32. Branches will be aligned to prevent from being across or against the boundary of specified size. The default value 0 does not align branches.
  --x86-branches-within-32B-boundaries               - Align selected instructions to mitigate negative performance impact of Intel's micro code update for errata skx102.  May break assumptions about labels corresponding to particular instructions, and should be used with caution.
  --x86-pad-max-prefix-size=<uint>                   - Maximum number of prefixes to use for padding

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

linking options:

  --shared-libs=<string>                             - Libraries to link dynamically

opt-like flags:

  --O0                                               - Run opt passes and codegen at O0
  --O1                                               - Run opt passes and codegen at O1
  --O2                                               - Run opt passes and codegen at O2
  --O3                                               - Run opt passes and codegen at O3
  LLVM optimizing passes to run
      --aa                                              - Function Alias Analysis Results
      --aa-eval                                         - Exhaustive Alias Analysis Precision Evaluator
      --adce                                            - Aggressive Dead Code Elimination
      --add-discriminators                              - Add DWARF path discriminators
      --aggressive-instcombine                          - Combine pattern based expressions
      --alignment-from-assumptions                      - Alignment from assumptions
      --always-inline                                   - Inliner for always_inline functions
      --annotation-remarks                              - Annotation Remarks
      --annotation2metadata                             - Annotation2Metadata
      --argpromotion                                    - Promote 'by reference' arguments to scalars
      --assume-builder                                  - Assume Builder
      --assume-simplify                                 - Assume Simplify
      --assumption-cache-tracker                        - Assumption Cache Tracker
      --attributor                                      - Deduce and propagate attributes
      --attributor-cgscc                                - Deduce and propagate attributes (CGSCC pass)
      --barrier                                         - A No-Op Barrier Pass
      --basic-aa                                        - Basic Alias Analysis (stateless AA impl)
      --basiccg                                         - CallGraph Construction
      --bdce                                            - Bit-Tracking Dead Code Elimination
      --block-freq                                      - Block Frequency Analysis
      --branch-prob                                     - Branch Probability Analysis
      --break-crit-edges                                - Break critical edges in CFG
      --called-value-propagation                        - Called Value Propagation
      --callsite-splitting                              - Call-site splitting
      --canon-freeze                                    - Canonicalize Freeze Instructions in Loops
      --canonicalize-aliases                            - Canonicalize aliases
      --cfl-anders-aa                                   - Inclusion-Based CFL Alias Analysis
      --cfl-steens-aa                                   - Unification-Based CFL Alias Analysis
      --check-debugify                                  - Check debug info from -debugify
      --check-debugify-function                         - Check debug info from -debugify-function
      --consthoist                                      - Constant Hoisting
      --constmerge                                      - Merge Duplicate Global Constants
      --constraint-elimination                          - Constraint Elimination
      --coro-cleanup                                    - Lower all coroutine related intrinsics
      --coro-early                                      - Lower early coroutine intrinsics
      --coro-elide                                      - Coroutine frame allocation elision and indirect calls replacement
      --coro-split                                      - Split coroutine into a set of functions driving its state machine
      --correlated-propagation                          - Value Propagation
      --cost-model                                      - Cost Model Analysis
      --cross-dso-cfi                                   - Cross-DSO CFI
      --cseinfo                                         - Analysis containing CSE Info
      --cycles                                          - Cycle Info Analysis
      --da                                              - Dependence Analysis
      --dce                                             - Dead Code Elimination
      --deadargelim                                     - Dead Argument Elimination
      --deadarghaX0r                                    - Dead Argument Hacking (BUGPOINT USE ONLY; DO NOT USE)
      --debugify                                        - Attach debug info to everything
      --debugify-function                               - Attach debug info to a function
      --delinearize                                     - Delinearization
      --demanded-bits                                   - Demanded bits analysis
      --dfa-jump-threading                              - DFA Jump Threading
      --div-rem-pairs                                   - Hoist/decompose integer division and remainder
      --divergence                                      - Legacy Divergence Analysis
      --domfrontier                                     - Dominance Frontier Construction
      --domtree                                         - Dominator Tree Construction
      --dot-callgraph                                   - Print call graph to 'dot' file
      --dot-cfg                                         - Print CFG of function to 'dot' file
      --dot-cfg-only                                    - Print CFG of function to 'dot' file (with no function bodies)
      --dot-dom                                         - Print dominance tree of function to 'dot' file
      --dot-dom-only                                    - Print dominance tree of function to 'dot' file (with no function bodies)
      --dot-postdom                                     - Print postdominance tree of function to 'dot' file
      --dot-postdom-only                                - Print postdominance tree of function to 'dot' file (with no function bodies)
      --dot-regions                                     - Print regions of function to 'dot' file
      --dot-regions-only                                - Print regions of function to 'dot' file (with no function bodies)
      --dse                                             - Dead Store Elimination
      --early-cse                                       - Early CSE
      --early-cse-memssa                                - Early CSE w/ MemorySSA
      --edge-bundles                                    - Bundle Machine CFG Edges
      --ee-instrument                                   - Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
      --elim-avail-extern                               - Eliminate Available Externally Globals
      --external-aa                                     - External Alias Analysis
      --extract-blocks                                  - Extract basic blocks from module
      --fasttileconfig                                  - Fast Tile Register Configure
      --fix-irreducible                                 - Convert irreducible control-flow into natural loops
      --flattencfg                                      - Flatten the CFG
      --float2int                                       - Float to int
      --forceattrs                                      - Force set function attributes
      --function-attrs                                  - Deduce function attributes
      --function-import                                 - Summary Based Function Import
      --function-specialization                         - Propagate constant arguments by specializing the function
      --gisel-known-bits                                - Analysis for ComputingKnownBits
      --globaldce                                       - Dead Global Elimination
      --globalopt                                       - Global Variable Optimizer
      --globals-aa                                      - Globals Alias Analysis
      --globalsplit                                     - Global splitter
      --guard-widening                                  - Widen guards
      --gvn                                             - Global Value Numbering
      --gvn-hoist                                       - Early GVN Hoisting of Expressions
      --gvn-sink                                        - Early GVN sinking of Expressions
      --hotcoldsplit                                    - Hot Cold Splitting
      --indvars                                         - Induction Variable Simplification
      --infer-address-spaces                            - Infer address spaces
      --inferattrs                                      - Infer set function attributes
      --inject-tli-mappings                             - Inject TLI Mappings
      --inline                                          - Function Integration/Inlining
      --instcombine                                     - Combine redundant instructions
      --instcount                                       - Counts the various types of Instructions
      --instnamer                                       - Assign names to anonymous instructions
      --instruction-select                              - Select target instructions out of generic instructions
      --instsimplify                                    - Remove redundant instructions
      --internalize                                     - Internalize Global Symbols
      --intervals                                       - Interval Partition Construction
      --ipsccp                                          - Interprocedural Sparse Conditional Constant Propagation
      --ir-similarity-identifier                        - ir-similarity-identifier
      --irce                                            - Inductive range check elimination
      --iroutliner                                      - IR Outliner
      --irtranslator                                    - IRTranslator LLVM IR -> MI
      --iv-users                                        - Induction Variable Users
      --jump-threading                                  - Jump Threading
      --lazy-block-freq                                 - Lazy Block Frequency Analysis
      --lazy-branch-prob                                - Lazy Branch Probability Analysis
      --lazy-value-info                                 - Lazy Value Information Analysis
      --lcssa                                           - Loop-Closed SSA Form Pass
      --lcssa-verification                              - LCSSA Verifier
      --legalizer                                       - Legalize the Machine IR a function's Machine IR
      --libcalls-shrinkwrap                             - Conditionally eliminate dead library calls
      --licm                                            - Loop Invariant Code Motion
      --lint                                            - Statically lint-checks LLVM IR
      --load-store-vectorizer                           - Vectorize load and store instructions
      --loadstore-opt                                   - Generic memory optimizations
      --localizer                                       - Move/duplicate certain instructions close to their use
      --loop-accesses                                   - Loop Access Analysis
      --loop-data-prefetch                              - Loop Data Prefetch
      --loop-deletion                                   - Delete dead loops
      --loop-distribute                                 - Loop Distribution
      --loop-extract                                    - Extract loops into new functions
      --loop-extract-single                             - Extract at most one loop into a new function
      --loop-flatten                                    - Flattens loops
      --loop-fusion                                     - Loop Fusion
      --loop-guard-widening                             - Widen guards (within a single loop, as a loop pass)
      --loop-idiom                                      - Recognize loop idioms
      --loop-instsimplify                               - Simplify instructions in loops
      --loop-interchange                                - Interchanges loops for cache reuse
      --loop-load-elim                                  - Loop Load Elimination
      --loop-predication                                - Loop predication
      --loop-reduce                                     - Loop Strength Reduction
      --loop-reroll                                     - Reroll loops
      --loop-rotate                                     - Rotate Loops
      --loop-simplify                                   - Canonicalize natural loops
      --loop-simplifycfg                                - Simplify loop CFG
      --loop-sink                                       - Loop Sink
      --loop-unroll                                     - Unroll loops
      --loop-unroll-and-jam                             - Unroll and Jam loops
      --loop-unswitch                                   - Unswitch loops
      --loop-vectorize                                  - Loop Vectorization
      --loop-versioning                                 - Loop Versioning
      --loop-versioning-licm                            - Loop Versioning For LICM
      --loops                                           - Natural Loop Information
      --lower-amx-intrinsics                            - Lower AMX intrinsics
      --lower-amx-type                                  - Lower AMX type for load/store
      --lower-constant-intrinsics                       - Lower constant intrinsics
      --lower-expect                                    - Lower 'expect' Intrinsics
      --lower-guard-intrinsic                           - Lower the guard intrinsic to normal control flow
      --lower-matrix-intrinsics                         - Lower the matrix intrinsics
      --lower-matrix-intrinsics-minimal                 - Lower the matrix intrinsics (minimal)
      --lower-widenable-condition                       - Lower the widenable condition to default true value
      --loweratomic                                     - Lower atomic intrinsics to non-atomic form
      --lowerinvoke                                     - Lower invoke and unwind, for unwindless code generators
      --lowerswitch                                     - Lower SwitchInst's to branches
      --lowertilecopy                                   - Tile Copy Lowering
      --lowertypetests                                  - Lower type metadata
      --machine-block-freq                              - Machine Block Frequency Analysis
      --machine-branch-prob                             - Machine Branch Probability Analysis
      --machine-domfrontier                             - Machine Dominance Frontier Construction
      --machine-loops                                   - Machine Natural Loop Construction
      --machinedomtree                                  - MachineDominator Tree Construction
      --make-guards-explicit                            - Lower the guard intrinsic to explicit control flow form
      --mem2reg                                         - Promote Memory to Register
      --memcpyopt                                       - MemCpy Optimization
      --memdep                                          - Memory Dependence Analysis
      --memoryssa                                       - Memory SSA
      --mergefunc                                       - Merge Functions
      --mergeicmps                                      - Merge contiguous icmps into a memcmp
      --mergereturn                                     - Unify function exit nodes
      --metarenamer                                     - Assign new names to everything
      --mldst-motion                                    - MergedLoadStoreMotion
      --module-debuginfo                                - Decodes module-level debug info
      --module-summary-analysis                         - Module Summary Analysis
      --module-summary-info                             - Module summary info
      --name-anon-globals                               - Provide a name to nameless globals
      --nary-reassociate                                - Nary reassociation
      --newgvn                                          - Global Value Numbering
      --objc-arc-aa                                     - ObjC-ARC-Based Alias Analysis
      --openmp-opt-cgscc                                - OpenMP specific optimizations
      --opt-remark-emitter                              - Optimization Remark Emitter
      --partial-inliner                                 - Partial Inliner
      --partially-inline-libcalls                       - Partially inline calls to library functions
      --phi-values                                      - Phi Values Analysis
      --place-backedge-safepoints-impl                  - Place Backedge Safepoints
      --place-safepoints                                - Place Safepoints
      --post-inline-ee-instrument                       - Instrument function entry/exit with calls to e.g. mcount() (post inlining)
      --postdomtree                                     - Post-Dominator Tree Construction
      --pre-amx-config                                  - Pre AMX Tile Config
      --print-alias-sets                                - Alias Set Printer
      --print-callgraph                                 - Print a call graph
      --print-function                                  - Print function to stderr
      --print-lazy-value-info                           - Lazy Value Info Printer Pass
      --print-memdeps                                   - Print MemDeps of function
      --print-memderefs                                 - Memory Dereferenciblity of pointers in function
      --print-memoryssa                                 - Memory SSA Printer
      --print-module                                    - Print module to stderr
      --print-must-be-executed-contexts                 - print the must-be-executed-context for all instructions
      --print-mustexecute                               - Instructions which execute on loop entry
      --print-predicateinfo                             - PredicateInfo Printer
      --profile-summary-info                            - Profile summary info
      --prune-eh                                        - Remove unused exception handling info
      --pseudo-probe-inserter                           - Insert pseudo probe annotations for value profiling
      --reaching-deps-analysis                          - ReachingDefAnalysis
      --reassociate                                     - Reassociate expressions
      --redundant-dbg-inst-elim                         - Redundant Dbg Instruction Elimination
      --reg2mem                                         - Demote all values to stack slots
      --regbankselect                                   - Assign register bank of generic virtual registers
      --regions                                         - Detect single entry single exit regions
      --rewrite-statepoints-for-gc                      - Make relocations explicit at statepoints
      --rpo-function-attrs                              - Deduce function attributes in RPO
      --sample-profile                                  - Sample Profile loader
      --scalar-evolution                                - Scalar Evolution Analysis
      --scalarize-masked-mem-intrin                     - Scalarize unsupported masked memory intrinsics
      --scalarizer                                      - Scalarize vector operations
      --sccp                                            - Sparse Conditional Constant Propagation
      --scev-aa                                         - ScalarEvolution-based Alias Analysis
      --scoped-noalias-aa                               - Scoped NoAlias Alias Analysis
      --separate-const-offset-from-gep                  - Split GEPs to a variadic base and a constant offset for better CSE
      --simple-loop-unswitch                            - Simple unswitch loops
      --simplifycfg                                     - Simplify the CFG
      --sink                                            - Code sinking
      --slp-vectorizer                                  - SLP Vectorizer
      --slsr                                            - Straight line strength reduction
      --speculative-execution                           - Speculatively execute instructions
      --sroa                                            - Scalar Replacement Of Aggregates
      --stack-protector                                 - Insert stack protectors
      --stack-safety                                    - Stack Safety Analysis
      --stack-safety-local                              - Stack Safety Local Analysis
      --strip                                           - Strip all symbols from a module
      --strip-dead-debug-info                           - Strip debug info for unused symbols
      --strip-dead-prototypes                           - Strip Unused Function Prototypes
      --strip-debug-declare                             - Strip all llvm.dbg.declare intrinsics
      --strip-gc-relocates                              - Strip gc.relocates inserted through RewriteStatepointsForGC
      --strip-nondebug                                  - Strip all symbols, except dbg symbols, from a module
      --strip-nonlinetable-debuginfo                    - Strip all debug info except linetables
      --structurizecfg                                  - Structurize the CFG
      --tailcallelim                                    - Tail Call Elimination
      --targetlibinfo                                   - Target Library Information
      --targetpassconfig                                - Target Pass Configuration
      --tbaa                                            - Type-Based Alias Analysis
      --tileconfig                                      - Tile Register Configure
      --transform-warning                               - Warn about non-applied transformations
      --tti                                             - Target Transform Information
      --unify-loop-exits                                - Fixup each natural loop to have a single exit block
      --vector-combine                                  - Optimize scalar/vector ops
      --verify                                          - Module Verifier
      --verify-safepoint-ir                             - Safepoint IR Verifier
      --view-callgraph                                  - View call graph
      --view-cfg                                        - View CFG of function
      --view-cfg-only                                   - View CFG of function (with no function bodies)
      --view-dom                                        - View dominance tree of function
      --view-dom-only                                   - View dominance tree of function (with no function bodies)
      --view-postdom                                    - View postdominance tree of function
      --view-postdom-only                               - View postdominance tree of function (with no function bodies)
      --view-regions                                    - View regions of function
      --view-regions-only                               - View regions of function (with no function bodies)
      --virtregmap                                      - Virtual Register Map
      --wholeprogramdevirt                              - Whole program devirtualization
      --x86-avoid-SFB                                   - Machine code sinking
      --x86-avoid-trailing-call                         - X86 avoid trailing call pass
      --x86-cf-opt                                      - X86 Call Frame Optimization
      --x86-cmov-conversion                             - X86 cmov Conversion
      --x86-codegen                                     - X86 FP Stackifier
      --x86-domain-reassignment                         - X86 Domain Reassignment Pass
      --x86-evex-to-vex-compress                        - Compressing EVEX instrs to VEX encoding when possible
      --x86-execution-domain-fix                        - X86 Execution Domain Fix
      --x86-fixup-LEAs                                  - X86 LEA Fixup
      --x86-fixup-bw-insts                              - X86 Byte/Word Instruction Fixup
      --x86-fixup-setcc                                 - x86-fixup-setcc
      --x86-flags-copy-lowering                         - X86 EFLAGS copy lowering
      --x86-lvi-load                                    - X86 LVI load hardening
      --x86-lvi-ret                                     - X86 LVI ret hardener
      --x86-optimize-LEAs                               - X86 optimize LEA pass
      --x86-partial-reduction                           - X86 Partial Reduction
      --x86-pseudo                                      - X86 pseudo instruction expansion pass
      --x86-seses                                       - X86 Speculative Execution Side Effect Suppression
      --x86-slh                                         - X86 speculative load hardener
      --x86-winehstate                                  - Insert stores for EH state numbers
Options (421)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--aarch64-neon-syntax value- Choose style of NEON code to emit from AArch64 backend: =generic - Emit generic NEON assembly =apple - Emit Apple-style NEON assemblyhelp
--aarch64-use-aa- Enable the use of AA during codegen.help
--abort-on-max-devirt-iterations-reached- Abort when the max iterations for devirtualization CGSCC repeat pass is reachedhelp
--allow-ginsert-as-artifact- Allow G_INSERT to be considered an artifact.help
--amdgpu-bypass-slow-div- Skip 64-bit divide for dynamic 32-bit valueshelp
--amdgpu-disable-loop-alignment- Do not align and prefetch loopshelp
--amdgpu-disable-power-sched- Disable scheduling to minimize mAI power burstshelp
--amdgpu-dpp-combine- Enable DPP combinerhelp
--amdgpu-dump-hsa-metadata- Dump AMDGPU HSA Metadatahelp
--amdgpu-enable-flat-scratch- Use flat scratch instructionshelp
--amdgpu-enable-merge-m0- Merge and hoist M0 initializationshelp
--amdgpu-promote-alloca-to-vector-limit uint- Maximum byte size to consider promote alloca to vectorhelp
--amdgpu-sdwa-peephole- Enable SDWA peepholerhelp
--amdgpu-use-aa-in-codegen- Enable the use of AA during codegen.help
--amdgpu-verify-hsa-metadata- Verify AMDGPU HSA Metadatahelp
--amdgpu-vgpr-index-mode- Use GPR indexing mode instead of movrel for vector indexinghelp
--arm-add-build-attributes-help
--arm-implicit-it value- Allow conditional instructions outdside of an IT block =always - Accept in both ISAs, emit implicit ITs in Thumb =never - Warn in ARM, reject in Thumb =arm - Accept in ARM, reject in Thumb =thumb -…help
--asm-show-inst- Emit internal instruction representation to assembly filehelp
--atomic-counter-update-promoted- Do counter update using atomic fetch add for promoted counters onlyhelp
--atomic-first-counter- Use atomic fetch add for first counter in a function (usually the entry counter)help
--bounds-checking-single-trap- Use one trap block per functionhelp
--cfg-hide-cold-paths number- Hide blocks with relative frequency below the given valuehelp
--cfg-hide-deoptimize-paths-help
--cfg-hide-unreachable-paths-help
--cost-kind value- Target cost kind =throughput - Reciprocal throughput =latency - Instruction latency =code-size - Code size =size-latency - Code size and latencyhelp
--debug-info-correlate- Use debug info to correlate profiles.help
--debugify-level value- Kind of debug info to add =locations - Locations only =location+variables - Locations and Variableshelp
--debugify-quiet- Suppress verbose debugify outputhelp
--disable-i2p-p2i-opt- Disables inttoptr/ptrtoint roundtrip optimizationhelp
--disable-promote-alloca-to-lds- Disable promote alloca to LDShelp
--disable-promote-alloca-to-vector- Disable promote alloca to vectorhelp
--do-counter-promotion- Do counter register promotionhelp
--dot-cfg-mssa file- file name for generated dot filehelp
--dump-object-file- Dump JITted-compiled object to file specified with -object-filename (<input file>.o by default).help
--dwarf-version int- Dwarf versionhelp
--dwarf64- Generate debugging info in the 64-bit DWARF formathelp
-e function- The function to be calledhelp
--emscripten-cxx-exceptions-allowed string- The list of function names in which Emscripten-style exception handling is enabled (see emscripten EMSCRIPTEN_CATCHING_ALLOWED options)help
--enable-cse-in-irtranslator- Should enable CSE in irtranslatorhelp
--enable-cse-in-legalizer- Should enable CSE in Legalizerhelp
--enable-emscripten-cxx-exceptions- WebAssembly Emscripten-style exception handlinghelp
--enable-emscripten-sjlj- WebAssembly Emscripten-style setjmp/longjmp handlinghelp
--enable-gvn-hoist- Enable the GVN hoisting pass (default = off)help
--enable-gvn-memdep-help
--enable-gvn-sink- Enable the GVN sinking pass (default = off)help
--enable-load-in-loop-pre-help
--enable-load-pre-help
--enable-loop-simplifycfg-term-folding-help
--enable-name-compression- Enable name/filename string compressionhelp
--enable-split-backedge-in-load-pre-help
--entry-point-result f32- Textual description of the function type to be calledhelp
--experimental-debug-variable-locations- Use experimental new value-tracking variable locationshelp
--fatal-warnings- Treat warnings as errorshelp
--fs-profile-debug-bw-threshold uint- Only show debug message if the source branch weight is greater than this value.help
--fs-profile-debug-prob-diff-threshold uint- Only show debug message if the branch probility is greater than this value (in percentage).help
--generate-merged-base-profiles- When generating nested context-sensitive profiles, always generate extra base profile for function with all its context profiles merged into it.help
--gpsize uint- Global Pointer Addressing Size.help
--hash-based-counter-split- Rename counter variable of a comdat function based on cfg hashhelp
--hot-cold-split- Enable hot-cold splitting passhelp
--import-all-index- Import all external functions in index.help
--incremental-linker-compatible- When used with filetype=obj, emit an object file which can be used with an incremental linkerhelp
--instcombine-code-sinking- Enable code sinkinghelp
--instcombine-guard-widening-window uint- How wide an instruction window to bypass looking for another guardhelp
--instcombine-max-iterations uint- Limit the maximum number of instruction combining iterationshelp
--instcombine-max-num-phis uint- Maximum number phis to handle in intptr/ptrint foldinghelp
--instcombine-maxarray-size uint- Maximum array size considered when doing a combinehelp
--instcombine-negator-enabled- Should we attempt to sink negations?help
--instcombine-negator-max-depth uint- What is the maximal lookup depth when trying to check for viability of negation sinking.help
--instrprof-atomic-counter-update-all- Make all profile counter updates atomic (for testing only)help
--internalize-public-api-file filename- A file containing list of symbol names to preservehelp
--internalize-public-api-list list- A list of symbol names to preservehelp
--iterative-counter-promotion- Allow counter promotion across the whole loop nest.help
--lto-embed-bitcode value- Embed LLVM bitcode in object files produced by LTO =none - Do not embed =optimized - Embed after all optimization passes =post-merge-pre-opt - Embed post merge, but before optimizationshelp
--lto-pass-remarks-filter regex- Only record optimization remarks from passes whose names match the given regular expressionhelp
--lto-pass-remarks-format format- The format used for serializing remarks (default: YAML)help
--lto-pass-remarks-output filename- Output filename for pass remarkshelp
--matrix-default-layout value- Sets the default matrix layout =column-major - Use column-major layout =row-major - Use row-major layouthelp
--max-counter-promotions int- Max number of allowed counter promotionshelp
--max-counter-promotions-per-loop uint- Max number counter promotions per loop to avoid increasing register pressure too muchhelp
--mc-relax-all- When used with filetype=obj, relax all fixups in the emitted object filehelp
--mcabac- tbdhelp
--merror-missing-parenthesis- Error for missing parenthesis around predicate registershelp
--merror-noncontigious-register- Error for register names that aren't contigioushelp
--mhvx- Enable Hexagon Vector eXtensionshelp
--mips-compact-branches value- MIPS Specific: Compact branch policy.help
--mips16-constant-islands- Enable mips16 constant islands.help
--mips16-hard-float- Enable mips16 hard float.help
--mir-strip-debugify-only- Should mir-strip-debug only strip debug info from debugified modules by defaulthelp
--mno-compound- Disable looking for compound instructions for Hexagonhelp
--mno-fixup- Disable fixing up resolved relocations for Hexagonhelp
--mno-ldc1-sdc1- Expand double precision loads and stores to their single precision counterpartshelp
--mno-pairing- Disable looking for duplex instructions for Hexagonhelp
--mwarn-missing-parenthesis- Warn for missing parenthesis around predicate registershelp
--mwarn-noncontigious-register- Warn for register names that arent contigioushelp
--mwarn-sign-mismatch- Warn for mismatching a signed and unsigned valuehelp
--no-deprecated-warn- Suppress all deprecated warningshelp
--no-discriminators- Disable generation of discriminator information.help
--no-type-check- Suppress type errors (Wasm)help
--no-warn- Suppress all warningshelp
--nvptx-sched4reg- NVPTX Specific: schedule for register pressuehelp
--object-filename string- Dump JITted-compiled object to file <input file>.ohelp
--opaque-pointers- Use opaque pointershelp
--poison-checking-function-local- Check that returns are non-poison (for testing)help
--print-pipeline-passes- Print a '-passes' compatible string describing the pipeline (best-effort only).help
--r600-ir-structurize- Use StructurizeCFG IR passhelp
--rdf-dump-help
--rdf-limit uint-help
--runtime-counter-relocation- Enable relocating counters at runtime.help
--safepoint-ir-verifier-print-only-help
--sample-profile-check-record-coverage N- Emit a warning if less than N% of records in the input profile are matched to the IR.help
--sample-profile-check-sample-coverage N- Emit a warning if less than N% of samples in the input profile are matched to the IR.help
--sample-profile-max-propagate-iterations uint- Maximum number of iterations to go through when propagating sample block/edge weights through the CFG.help
--skip-ret-exit-block- Suppress counter promotion if exit blocks contain ret.help
--speculative-counter-promotion-max-exiting uintspeculative counter promotionhelp
--speculative-counter-promotion-to-loop- When the option is false, if the target block is in a loop, the promotion will be disallowed unless the promoted counter update can be further/iteratively promoted into an acyclic region.help
--summary-file string- The summary file to use for function importing.help
--tail-predication value- MVE tail-predication pass options =disabled - Don't tail-predicate loops =enabled-no-reductions - Enable tail-predication, but not for reduction loops =enabled - Enable tail-predication, including…help
--thinlto-assume-merged- Assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes.help
--threads int-help
--verify-region-info- Verify region info (time consuming)help
--vp-counters-per-site number- The average number of profile counters allocated per value profiling site.help
--vp-static-alloc- Do static counter allocation for value profilerhelp
--wasm-enable-eh- WebAssembly exception handlinghelp
--wasm-enable-sjlj- WebAssembly setjmp/longjmp handlinghelp
--x86-align-branch string- Specify types of branches to align (plus separated list of types): jcc indicates conditional jumps fused indicates fused conditional jumps jmp indicates direct unconditional jumps call indicates…help
--x86-align-branch-boundary uint- Control how the assembler should align branches with NOP.help
--x86-branches-within-32B-boundaries- Align selected instructions to mitigate negative performance impact of Intel's micro code update for errata skx102.help
--x86-pad-max-prefix-size uint- Maximum number of prefixes to use for paddinghelp
--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
--shared-libs string- Libraries to link dynamicallyhelp
--O0- Run opt passes and codegen at O0help
--O1- Run opt passes and codegen at O1help
--O2- Run opt passes and codegen at O2help
--O3- Run opt passes and codegen at O3help
--aa- Function Alias Analysis Resultshelp
--aa-eval- Exhaustive Alias Analysis Precision Evaluatorhelp
--adce- Aggressive Dead Code Eliminationhelp
--add-discriminators- Add DWARF path discriminatorshelp
--aggressive-instcombine- Combine pattern based expressionshelp
--alignment-from-assumptions- Alignment from assumptionshelp
--always-inline- Inliner for always_inline functionshelp
--annotation-remarks- Annotation Remarkshelp
--annotation2metadata- Annotation2Metadatahelp
--argpromotion- Promote 'by reference' arguments to scalarshelp
--assume-builder- Assume Builderhelp
--assume-simplify- Assume Simplifyhelp
--assumption-cache-tracker- Assumption Cache Trackerhelp
--attributor- Deduce and propagate attributeshelp
--attributor-cgscc- Deduce and propagate attributes (CGSCC pass)help
--barrier- A No-Op Barrier Passhelp
--basic-aa- Basic Alias Analysis (stateless AA impl)help
--basiccg- CallGraph Constructionhelp
--bdce- Bit-Tracking Dead Code Eliminationhelp
--block-freq- Block Frequency Analysishelp
--branch-prob- Branch Probability Analysishelp
--break-crit-edges- Break critical edges in CFGhelp
--called-value-propagation- Called Value Propagationhelp
--callsite-splitting- Call-site splittinghelp
--canon-freeze- Canonicalize Freeze Instructions in Loopshelp
--canonicalize-aliases- Canonicalize aliaseshelp
--cfl-anders-aa- Inclusion-Based CFL Alias Analysishelp
--cfl-steens-aa- Unification-Based CFL Alias Analysishelp
--check-debugify- Check debug info from -debugifyhelp
--check-debugify-function- Check debug info from -debugify-functionhelp
--consthoist- Constant Hoistinghelp
--constmerge- Merge Duplicate Global Constantshelp
--constraint-elimination- Constraint Eliminationhelp
--coro-cleanup- Lower all coroutine related intrinsicshelp
--coro-early- Lower early coroutine intrinsicshelp
--coro-elide- Coroutine frame allocation elision and indirect calls replacementhelp
--coro-split- Split coroutine into a set of functions driving its state machinehelp
--correlated-propagation- Value Propagationhelp
--cost-model- Cost Model Analysishelp
--cross-dso-cfi- Cross-DSO CFIhelp
--cseinfo- Analysis containing CSE Infohelp
--cycles- Cycle Info Analysishelp
--da- Dependence Analysishelp
--dce- Dead Code Eliminationhelp
--deadargelim- Dead Argument Eliminationhelp
--deadarghaX0r- Dead Argument Hacking (BUGPOINT USE ONLY;help
--debugify- Attach debug info to everythinghelp
--debugify-function- Attach debug info to a functionhelp
--delinearize- Delinearizationhelp
--demanded-bits- Demanded bits analysishelp
--dfa-jump-threading- DFA Jump Threadinghelp
--div-rem-pairs- Hoist/decompose integer division and remainderhelp
--divergence- Legacy Divergence Analysishelp
--domfrontier- Dominance Frontier Constructionhelp
--domtree- Dominator Tree Constructionhelp
--dot-callgraph- Print call graph to 'dot' filehelp
--dot-cfg- Print CFG of function to 'dot' filehelp
--dot-cfg-only- Print CFG of function to 'dot' file (with no function bodies)help
--dot-dom- Print dominance tree of function to 'dot' filehelp
--dot-dom-only- Print dominance tree of function to 'dot' file (with no function bodies)help
--dot-postdom- Print postdominance tree of function to 'dot' filehelp
--dot-postdom-only- Print postdominance tree of function to 'dot' file (with no function bodies)help
--dot-regions- Print regions of function to 'dot' filehelp
--dot-regions-only- Print regions of function to 'dot' file (with no function bodies)help
--dse- Dead Store Eliminationhelp
--early-cse- Early CSEhelp
--early-cse-memssa- Early CSE w/ MemorySSAhelp
--edge-bundles- Bundle Machine CFG Edgeshelp
--ee-instrument- Instrument function entry/exit with calls to e.g. mcount() (pre inlining)help
--elim-avail-extern- Eliminate Available Externally Globalshelp
--external-aa- External Alias Analysishelp
--extract-blocks- Extract basic blocks from modulehelp
--fasttileconfig- Fast Tile Register Configurehelp
--fix-irreducible- Convert irreducible control-flow into natural loopshelp
--flattencfg- Flatten the CFGhelp
--float2int- Float to inthelp
--forceattrs- Force set function attributeshelp
--function-attrs- Deduce function attributeshelp
--function-import- Summary Based Function Importhelp
--function-specialization- Propagate constant arguments by specializing the functionhelp
--gisel-known-bits- Analysis for ComputingKnownBitshelp
--globaldce- Dead Global Eliminationhelp
--globalopt- Global Variable Optimizerhelp
--globals-aa- Globals Alias Analysishelp
--globalsplit- Global splitterhelp
--guard-widening- Widen guardshelp
--gvn- Global Value Numberinghelp
--gvn-hoist- Early GVN Hoisting of Expressionshelp
--gvn-sink- Early GVN sinking of Expressionshelp
--hotcoldsplit- Hot Cold Splittinghelp
--indvars- Induction Variable Simplificationhelp
--infer-address-spaces- Infer address spaceshelp
--inferattrs- Infer set function attributeshelp
--inject-tli-mappings- Inject TLI Mappingshelp
--inline- Function Integration/Inlininghelp
--instcombine- Combine redundant instructionshelp
--instcount- Counts the various types of Instructionshelp
--instnamer- Assign names to anonymous instructionshelp
--instruction-select- Select target instructions out of generic instructionshelp
--instsimplify- Remove redundant instructionshelp
--internalize- Internalize Global Symbolshelp
--intervals- Interval Partition Constructionhelp
--ipsccp- Interprocedural Sparse Conditional Constant Propagationhelp
--ir-similarity-identifier- ir-similarity-identifierhelp
--irce- Inductive range check eliminationhelp
--iroutliner- IR Outlinerhelp
--irtranslator- IRTranslator LLVM IR -> MIhelp
--iv-users- Induction Variable Usershelp
--jump-threading- Jump Threadinghelp
--lazy-block-freq- Lazy Block Frequency Analysishelp
--lazy-branch-prob- Lazy Branch Probability Analysishelp
--lazy-value-info- Lazy Value Information Analysishelp
--lcssa- Loop-Closed SSA Form Passhelp
--lcssa-verification- LCSSA Verifierhelp
--legalizer- Legalize the Machine IR a function's Machine IRhelp
--libcalls-shrinkwrap- Conditionally eliminate dead library callshelp
--licm- Loop Invariant Code Motionhelp
--lint- Statically lint-checks LLVM IRhelp
--load-store-vectorizer- Vectorize load and store instructionshelp
--loadstore-opt- Generic memory optimizationshelp
--localizer- Move/duplicate certain instructions close to their usehelp
--loop-accesses- Loop Access Analysishelp
--loop-data-prefetch- Loop Data Prefetchhelp
--loop-deletion- Delete dead loopshelp
--loop-distribute- Loop Distributionhelp
--loop-extract- Extract loops into new functionshelp
--loop-extract-single- Extract at most one loop into a new functionhelp
--loop-flatten- Flattens loopshelp
--loop-fusion- Loop Fusionhelp
--loop-guard-widening- Widen guards (within a single loop, as a loop pass)help
--loop-idiom- Recognize loop idiomshelp
--loop-instsimplify- Simplify instructions in loopshelp
--loop-interchange- Interchanges loops for cache reusehelp
--loop-load-elim- Loop Load Eliminationhelp
--loop-predication- Loop predicationhelp
--loop-reduce- Loop Strength Reductionhelp
--loop-reroll- Reroll loopshelp
--loop-rotate- Rotate Loopshelp
--loop-simplify- Canonicalize natural loopshelp
--loop-simplifycfg- Simplify loop CFGhelp
--loop-sink- Loop Sinkhelp
--loop-unroll- Unroll loopshelp
--loop-unroll-and-jam- Unroll and Jam loopshelp
--loop-unswitch- Unswitch loopshelp
--loop-vectorize- Loop Vectorizationhelp
--loop-versioning- Loop Versioninghelp
--loop-versioning-licm- Loop Versioning For LICMhelp
--loops- Natural Loop Informationhelp
--lower-amx-intrinsics- Lower AMX intrinsicshelp
--lower-amx-type- Lower AMX type for load/storehelp
--lower-constant-intrinsics- Lower constant intrinsicshelp
--lower-expect- Lower 'expect' Intrinsicshelp
--lower-guard-intrinsic- Lower the guard intrinsic to normal control flowhelp
--lower-matrix-intrinsics- Lower the matrix intrinsicshelp
--lower-matrix-intrinsics-minimal- Lower the matrix intrinsics (minimal)help
--lower-widenable-condition- Lower the widenable condition to default true valuehelp
--loweratomic- Lower atomic intrinsics to non-atomic formhelp
--lowerinvoke- Lower invoke and unwind, for unwindless code generatorshelp
--lowerswitch- Lower SwitchInst's to brancheshelp
--lowertilecopy- Tile Copy Loweringhelp
--lowertypetests- Lower type metadatahelp
--machine-block-freq- Machine Block Frequency Analysishelp
--machine-branch-prob- Machine Branch Probability Analysishelp
--machine-domfrontier- Machine Dominance Frontier Constructionhelp
--machine-loops- Machine Natural Loop Constructionhelp
--machinedomtree- MachineDominator Tree Constructionhelp
--make-guards-explicit- Lower the guard intrinsic to explicit control flow formhelp
--mem2reg- Promote Memory to Registerhelp
--memcpyopt- MemCpy Optimizationhelp
--memdep- Memory Dependence Analysishelp
--memoryssa- Memory SSAhelp
--mergefunc- Merge Functionshelp
--mergeicmps- Merge contiguous icmps into a memcmphelp
--mergereturn- Unify function exit nodeshelp
--metarenamer- Assign new names to everythinghelp
--mldst-motion- MergedLoadStoreMotionhelp
--module-debuginfo- Decodes module-level debug infohelp
--module-summary-analysis- Module Summary Analysishelp
--module-summary-info- Module summary infohelp
--name-anon-globals- Provide a name to nameless globalshelp
--nary-reassociate- Nary reassociationhelp
--newgvn- Global Value Numberinghelp
--objc-arc-aa- ObjC-ARC-Based Alias Analysishelp
--openmp-opt-cgscc- OpenMP specific optimizationshelp
--opt-remark-emitter- Optimization Remark Emitterhelp
--partial-inliner- Partial Inlinerhelp
--partially-inline-libcalls- Partially inline calls to library functionshelp
--phi-values- Phi Values Analysishelp
--place-backedge-safepoints-impl- Place Backedge Safepointshelp
--place-safepoints- Place Safepointshelp
--post-inline-ee-instrument- Instrument function entry/exit with calls to e.g. mcount() (post inlining)help
--postdomtree- Post-Dominator Tree Constructionhelp
--pre-amx-config- Pre AMX Tile Confighelp
--print-alias-sets- Alias Set Printerhelp
--print-callgraph- Print a call graphhelp
--print-function- Print function to stderrhelp
--print-lazy-value-info- Lazy Value Info Printer Passhelp
--print-memdeps- Print MemDeps of functionhelp
--print-memderefs- Memory Dereferenciblity of pointers in functionhelp
--print-memoryssa- Memory SSA Printerhelp
--print-module- Print module to stderrhelp
--print-must-be-executed-contexts- print the must-be-executed-context for all instructionshelp
--print-mustexecute- Instructions which execute on loop entryhelp
--print-predicateinfo- PredicateInfo Printerhelp
--profile-summary-info- Profile summary infohelp
--prune-eh- Remove unused exception handling infohelp
--pseudo-probe-inserter- Insert pseudo probe annotations for value profilinghelp
--reaching-deps-analysis- ReachingDefAnalysishelp
--reassociate- Reassociate expressionshelp
--redundant-dbg-inst-elim- Redundant Dbg Instruction Eliminationhelp
--reg2mem- Demote all values to stack slotshelp
--regbankselect- Assign register bank of generic virtual registershelp
--regions- Detect single entry single exit regionshelp
--rewrite-statepoints-for-gc- Make relocations explicit at statepointshelp
--rpo-function-attrs- Deduce function attributes in RPOhelp
--sample-profile- Sample Profile loaderhelp
--scalar-evolution- Scalar Evolution Analysishelp
--scalarize-masked-mem-intrin- Scalarize unsupported masked memory intrinsicshelp
--scalarizer- Scalarize vector operationshelp
--sccp- Sparse Conditional Constant Propagationhelp
--scev-aa- ScalarEvolution-based Alias Analysishelp
--scoped-noalias-aa- Scoped NoAlias Alias Analysishelp
--separate-const-offset-from-gep- Split GEPs to a variadic base and a constant offset for better CSEhelp
--simple-loop-unswitch- Simple unswitch loopshelp
--simplifycfg- Simplify the CFGhelp
--sink- Code sinkinghelp
--slp-vectorizer- SLP Vectorizerhelp
--slsr- Straight line strength reductionhelp
--speculative-execution- Speculatively execute instructionshelp
--sroa- Scalar Replacement Of Aggregateshelp
--stack-protector- Insert stack protectorshelp
--stack-safety- Stack Safety Analysishelp
--stack-safety-local- Stack Safety Local Analysishelp
--strip- Strip all symbols from a modulehelp
--strip-dead-debug-info- Strip debug info for unused symbolshelp
--strip-dead-prototypes- Strip Unused Function Prototypeshelp
--strip-debug-declare- Strip all llvm.dbg.declare intrinsicshelp
--strip-gc-relocates- Strip gc.relocates inserted through RewriteStatepointsForGChelp
--strip-nondebug- Strip all symbols, except dbg symbols, from a modulehelp
--strip-nonlinetable-debuginfo- Strip all debug info except linetableshelp
--structurizecfg- Structurize the CFGhelp
--tailcallelim- Tail Call Eliminationhelp
--targetlibinfo- Target Library Informationhelp
--targetpassconfig- Target Pass Configurationhelp
--tbaa- Type-Based Alias Analysishelp
--tileconfig- Tile Register Configurehelp
--transform-warning- Warn about non-applied transformationshelp
--tti- Target Transform Informationhelp
--unify-loop-exits- Fixup each natural loop to have a single exit blockhelp
--vector-combine- Optimize scalar/vector opshelp
--verify- Module Verifierhelp
--verify-safepoint-ir- Safepoint IR Verifierhelp
--view-callgraph- View call graphhelp
--view-cfg- View CFG of functionhelp
--view-cfg-only- View CFG of function (with no function bodies)help
--view-dom- View dominance tree of functionhelp
--view-dom-only- View dominance tree of function (with no function bodies)help
--view-postdom- View postdominance tree of functionhelp
--view-postdom-only- View postdominance tree of function (with no function bodies)help
--view-regions- View regions of functionhelp
--view-regions-only- View regions of function (with no function bodies)help
--virtregmap- Virtual Register Maphelp
--wholeprogramdevirt- Whole program devirtualizationhelp
--x86-avoid-SFB- Machine code sinkinghelp
--x86-avoid-trailing-call- X86 avoid trailing call passhelp
--x86-cf-opt- X86 Call Frame Optimizationhelp
--x86-cmov-conversion- X86 cmov Conversionhelp
--x86-codegen- X86 FP Stackifierhelp
--x86-domain-reassignment- X86 Domain Reassignment Passhelp
--x86-evex-to-vex-compress- Compressing EVEX instrs to VEX encoding when possiblehelp
--x86-execution-domain-fix- X86 Execution Domain Fixhelp
--x86-fixup-LEAs- X86 LEA Fixuphelp
--x86-fixup-bw-insts- X86 Byte/Word Instruction Fixuphelp
--x86-fixup-setcc- x86-fixup-setcchelp
--x86-flags-copy-lowering- X86 EFLAGS copy loweringhelp
--x86-lvi-load- X86 LVI load hardeninghelp
--x86-lvi-ret- X86 LVI ret hardenerhelp
--x86-optimize-LEAs- X86 optimize LEA passhelp
--x86-partial-reduction- X86 Partial Reductionhelp
--x86-pseudo- X86 pseudo instruction expansion passhelp
--x86-seses- X86 Speculative Execution Side Effect Suppressionhelp
--x86-slh- X86 speculative load hardenerhelp
--x86-winehstate- Insert stores for EH state numbershelp

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