OS Manuals

/usr/bin/opt

Low-level virtual machine 15 - core frameworks

From llvm-15 15.0.7-r32 (os), captured 2026-11-05 by running opt --help (exit 0). permalink

OVERVIEW: llvm .bc -> .bc modular optimizer and analysis printer

USAGE: opt [options] <input bitcode file>

OPTIONS:

Color Options:

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

General options:

  --O0                                                                  - Optimization level 0. Similar to clang -O0. Use -passes='default<O0>' for the new PM
  --O1                                                                  - Optimization level 1. Similar to clang -O1. Use -passes='default<O1>' for the new PM
  --O2                                                                  - Optimization level 2. Similar to clang -O2. Use -passes='default<O2>' for the new PM
  --O3                                                                  - Optimization level 3. Similar to clang -O3. Use -passes='default<O3>' for the new PM
  --Os                                                                  - Like -O2 but size-conscious. Similar to clang -Os. Use -passes='default<Os>' for the new PM
  --Oz                                                                  - Like -O2 but optimize for code size above all else. Similar to clang -Oz. Use -passes='default<Oz>' for the new PM
  -S                                                                    - Write output as LLVM assembly
  --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
  --addrsig                                                             - Emit an address-significance table
  --align-loops=<uint>                                                  - Default alignment for loops
  --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-dpp-combine                                                  - Enable DPP combiner
  --amdgpu-dump-hsa-metadata                                            - Dump AMDGPU HSA Metadata
  --amdgpu-enable-merge-m0                                              - Merge and hoist M0 initializations
  --amdgpu-enable-power-sched                                           - Enable scheduling to minimize mAI power bursts
  --amdgpu-igrouplp                                                     - Enable construction of Instruction Groups and their ordering for scheduling
  --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)
  --basic-block-sections=<all | <function list (file)> | labels | none> - Emit basic blocks into separate sections
  --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                                          -
  --code-model=<value>                                                  - Choose code model
    =tiny                                                               -   Tiny code model
    =small                                                              -   Small code model
    =kernel                                                             -   Kernel code model
    =medium                                                             -   Medium code model
    =large                                                              -   Large code model
  --codegen-opt-level=<uint>                                            - Override optimization level for codegen hooks, legacy PM only
  --cost-kind=<value>                                                   - Target cost kind
    =throughput                                                         -   Reciprocal throughput
    =latency                                                            -   Instruction latency
    =code-size                                                          -   Code size
    =size-latency                                                       -   Code size and latency
  --data-layout=<layout-string>                                         - data layout string to use
  --data-sections                                                       - Emit data into separate sections
  --debug-entry-values                                                  - Enable debug info for the debug entry values.
  --debug-info-correlate                                                - Use debug info to correlate profiles.
  --debugger-tune=<value>                                               - Tune debug info for a particular debugger
    =gdb                                                                -   gdb
    =lldb                                                               -   lldb
    =dbx                                                                -   dbx
    =sce                                                                -   SCE targets (e.g. PS4)
  --debugify-each                                                       - Start each pass with debugify and end it with check-debugify
  --debugify-export=<filename>                                          - Export per-pass debugify statistics to this file
  --debugify-func-limit=<ulong>                                         - Set max number of processed functions per pass.
  --debugify-level=<value>                                              - Kind of debug info to add
    =locations                                                          -   Locations only
    =location+variables                                                 -   Locations and Variables
  --debugify-quiet                                                      - Suppress verbose debugify output
  --denormal-fp-math=<value>                                            - Select which denormal numbers the code is permitted to require
    =ieee                                                               -   IEEE 754 denormal numbers
    =preserve-sign                                                      -   the sign of a  flushed-to-zero number is preserved in the sign of 0
    =positive-zero                                                      -   denormals are flushed to positive zero
  --denormal-fp-math-f32=<value>                                        - Select which denormal numbers the code is permitted to require for float
    =ieee                                                               -   IEEE 754 denormal numbers
    =preserve-sign                                                      -   the sign of a  flushed-to-zero number is preserved in the sign of 0
    =positive-zero                                                      -   denormals are flushed to positive zero
  --disable-builtin=<string>                                            - Disable specific target library builtin function
  --disable-debug-info-type-map                                         - Don't use a uniquing type map for debug info
  --disable-i2p-p2i-opt                                                 - Disables inttoptr/ptrtoint roundtrip optimization
  --disable-loop-unrolling                                              - Disable loop unrolling in all relevant passes
  --disable-promote-alloca-to-lds                                       - Disable promote alloca to LDS
  --disable-promote-alloca-to-vector                                    - Disable promote alloca to vector
  --disable-simplify-libcalls                                           - Disable simplify-libcalls
  --disable-tail-calls                                                  - Never emit tail calls
  --do-counter-promotion                                                - Do counter register promotion
  --dot-cfg-mssa=<file name for generated dot file>                     - file name for generated dot file
  --dwarf-version=<int>                                                 - Dwarf version
  --dwarf64                                                             - Generate debugging info in the 64-bit DWARF format
  --emit-call-site-info                                                 - Emit call site debug information, if debug information is enabled.
  --emit-dwarf-unwind=<value>                                           - Whether to emit DWARF EH frame entries.
    =always                                                             -   Always emit EH frame entries
    =no-compact-unwind                                                  -   Only emit EH frame entries when compact unwind is not available
    =default                                                            -   Use target platform default
  --emscripten-cxx-exceptions-allowed=<string>                          - The list of function names in which Emscripten-style exception handling is enabled (see emscripten EMSCRIPTEN_CATCHING_ALLOWED options)
  --emulated-tls                                                        - Use emulated TLS model
  --enable-approx-func-fp-math                                          - Enable FP math optimizations that assume approx func
  --enable-cse-in-irtranslator                                          - Should enable CSE in irtranslator
  --enable-cse-in-legalizer                                             - Should enable CSE in Legalizer
  --enable-debugify                                                     - Start the pipeline with debugify and end it with check-debugify
  --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-jmc-instrument                                               - Instrument functions with a call to __CheckForDebuggerJustMyCode
  --enable-load-in-loop-pre                                             -
  --enable-load-pre                                                     -
  --enable-loop-simplifycfg-term-folding                                -
  --enable-name-compression                                             - Enable name/filename string compression
  --enable-new-pm                                                       - Enable the new pass manager, translating 'opt -foo' to 'opt -passes=foo'. This is strictly for the new PM migration, use '-passes=' when possible.
  --enable-no-infs-fp-math                                              - Enable FP math optimizations that assume no +-Infs
  --enable-no-nans-fp-math                                              - Enable FP math optimizations that assume no NaNs
  --enable-no-signed-zeros-fp-math                                      - Enable FP math optimizations that assume the sign of 0 is insignificant
  --enable-no-trapping-fp-math                                          - Enable setting the FP exceptions build attribute not to use exceptions
  --enable-split-backedge-in-load-pre                                   -
  --enable-unsafe-fp-math                                               - Enable optimizations that may decrease FP precision
  --exception-model=<value>                                             - exception model
    =default                                                            -   default exception handling model
    =dwarf                                                              -   DWARF-like CFI based exception handling
    =sjlj                                                               -   SjLj exception handling
    =arm                                                                -   ARM EHABI exceptions
    =wineh                                                              -   Windows exception model
    =wasm                                                               -   WebAssembly exception handling
  --experimental-debug-variable-locations                               - Use experimental new value-tracking variable locations
  -f                                                                    - Enable binary output on terminals
  --fatal-warnings                                                      - Treat warnings as errors
  --filetype=<value>                                                    - Choose a file type (not all types are supported by all targets):
    =asm                                                                -   Emit an assembly ('.s') file
    =obj                                                                -   Emit a native object ('.o') file
    =null                                                               -   Emit nothing, for performance testing
  --float-abi=<value>                                                   - Choose float ABI type
    =default                                                            -   Target default float ABI type
    =soft                                                               -   Soft float ABI (implied by -soft-float)
    =hard                                                               -   Hard float ABI (uses FP registers)
  --force-dwarf-frame-section                                           - Always emit a debug frame section.
  --fp-contract=<value>                                                 - Enable aggressive formation of fused FP ops
    =fast                                                               -   Fuse FP ops whenever profitable
    =on                                                                 -   Only fuse 'blessed' FP ops.
    =off                                                                -   Only fuse FP ops when the result won't be affected.
  --frame-pointer=<value>                                               - Specify frame pointer elimination optimization
    =all                                                                -   Disable frame pointer elimination
    =non-leaf                                                           -   Disable frame pointer elimination for non-leaf frame
    =none                                                               -   Enable frame pointer elimination
  --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).
  --function-sections                                                   - Emit functions into separate sections
  --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
  --ignore-xcoff-visibility                                             - Not emit the visibility attribute for asm in AIX OS or give all symbols 'unspecified' visibility in XCOFF object file
  --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-max-sink-users=<uint>                                   - Maximum number of undroppable users for instruction sinking
  --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.
  --load=<pluginfilename>                                               - Load the specified plugin
  --load-pass-plugin=<string>                                           - Load passes from plugin library
  --lower-global-dtors-via-cxa-atexit                                   - Lower llvm.global_dtors (global destructors) via __cxa_atexit
  --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
  --march=<string>                                                      - Architecture to generate code for (see --version)
  --matrix-default-layout=<value>                                       - Sets the default matrix layout
    =column-major                                                       -   Use column-major layout
    =row-major                                                          -   Use row-major layout
  --mattr=<a1,+a2,-a3,...>                                              - Target specific attributes (-mattr=help for details)
  --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
  --mcpu=<cpu-name>                                                     - Target a specific cpu type (-mcpu=help for details)
  --meabi=<value>                                                       - Set EABI type (default depends on triple):
    =default                                                            -   Triple default EABI version
    =4                                                                  -   EABI version 4
    =5                                                                  -   EABI version 5
    =gnu                                                                -   EABI GNU
  --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
  --misexpect-tolerance=<uint>                                          - Prevents emiting diagnostics when profile counts are within N% of the threshold..
  --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
  --module-hash                                                         - Emit module hash
  --module-summary                                                      - Emit module summary index
  --mtriple=<string>                                                    - Override target triple for module
  --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
  --no-xray-index                                                       - Don't emit xray_fn_idx section
  --nozero-initialized-in-bss                                           - Don't place zero-initialized symbols into bss section
  --nvptx-sched4reg                                                     - NVPTX Specific: schedule for register pressue
  -o <filename>                                                         - Override output filename
  --opaque-pointers                                                     - Use opaque pointers
  --pass-remarks-filter=<regex>                                         - Only record optimization remarks from passes whose names match the given regular expression
  --pass-remarks-format=<format>                                        - The format used for serializing remarks (default: YAML)
  --pass-remarks-output=<filename>                                      - Output filename for pass remarks
  --passes=<string>                                                     - A textual description of the pass pipeline. To have analysis passes available before a certain pass, add 'require<foo-analysis>'.
  --poison-checking-function-local                                      - Check that returns are non-poison (for testing)
  --print-breakpoints-for-testing                                       - Print select breakpoints location for testing
  --print-passes                                                        - Print available passes that can be specified in -passes=foo and exit
  --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>                                                    -
  --relax-elf-relocations                                               - Emit GOTPCRELX/REX_GOTPCRELX instead of GOTPCREL on x86-64 ELF
  --relocation-model=<value>                                            - Choose relocation model
    =static                                                             -   Non-relocatable code
    =pic                                                                -   Fully relocatable, position independent code
    =dynamic-no-pic                                                     -   Relocatable external references, non-relocatable code
    =ropi                                                               -   Code and read-only data relocatable, accessed PC-relative
    =rwpi                                                               -   Read-write data relocatable, accessed relative to static base
    =ropi-rwpi                                                          -   Combination of ropi and rwpi
  --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.
  Optimizations available (use '-passes=' for the new pass manager)
      --aa                                                                 - Function Alias Analysis Results
      --aa-eval                                                            - Exhaustive Alias Analysis Precision Evaluator
      --aarch64-O0-prelegalizer-combiner                                   - Combine AArch64 machine instrs before legalization
      --aarch64-a57-fp-load-balancing                                      - AArch64 A57 FP Load-Balancing
      --aarch64-branch-targets                                             - AArch64 Branch Targets
      --aarch64-ccmp                                                       - AArch64 CCMP Pass
      --aarch64-collect-loh                                                - AArch64 Collect Linker Optimization Hint (LOH)
      --aarch64-condopt                                                    - AArch64 CondOpt Pass
      --aarch64-copyelim                                                   - AArch64 redundant copy elimination pass
      --aarch64-dead-defs                                                  - AArch64 Dead register definitions
      --aarch64-expand-pseudo                                              - AArch64 pseudo instruction expansion pass
      --aarch64-falkor-hwpf-fix                                            - Falkor HW Prefetch Fix
      --aarch64-falkor-hwpf-fix-late                                       - Falkor HW Prefetch Fix Late Phase
      --aarch64-fix-cortex-a53-835769-pass                                 - AArch64 fix for A53 erratum 835769
      --aarch64-jump-tables                                                - AArch64 compress jump tables pass
      --aarch64-ldst-opt                                                   - AArch64 load / store optimization pass
      --aarch64-local-dynamic-tls-cleanup                                  - AArch64 Local Dynamic TLS Access Clean-up
      --aarch64-lower-homogeneous-prolog-epilog                            - AArch64 homogeneous prolog/epilog lowering pass
      --aarch64-mi-peephole-opt                                            - AArch64 MI Peephole Optimization
      --aarch64-post-select-optimize                                       - Optimize AArch64 selected instructions
      --aarch64-postlegalizer-combiner                                     - Combine AArch64 MachineInstrs after legalization
      --aarch64-postlegalizer-lowering                                     - Lower AArch64 MachineInstrs after legalization
      --aarch64-prelegalizer-combiner                                      - Combine AArch64 machine instrs before legalization
      --aarch64-promote-const                                              - AArch64 Promote Constant Pass
      --aarch64-simd-scalar                                                - AdvSIMD Scalar Operation Optimization
      --aarch64-simdinstr-opt                                              - AArch64 SIMD instructions optimization pass
      --aarch64-sls-hardening                                              - AArch64 sls hardening pass
      --aarch64-speculation-hardening                                      - AArch64 speculation hardening pass
      --aarch64-stack-tagging                                              - AArch64 Stack Tagging
      --aarch64-stack-tagging-pre-ra                                       - AArch64 Stack Tagging PreRA Pass
      --aarch64-stp-suppress                                               - AArch64 Store Pair Suppression
      --aarch64-sve-intrinsic-opts                                         - SVE intrinsics optimizations
      --adce                                                               - Aggressive Dead Code Elimination
      --add-discriminators                                                 - Add DWARF path discriminators
      --aggressive-instcombine                                             - Combine pattern based expressions
      --alignment-from-assumptions                                         - Alignment from assumptions
      --alloca-hoisting                                                    - Hoisting alloca instructions in non-entry blocks to the entry block
      --always-inline                                                      - Inliner for always_inline functions
      --amdgpu-aa                                                          - AMDGPU Address space based Alias Analysis
      --amdgpu-aa-wrapper                                                  - AMDGPU Address space based Alias Analysis Wrapper
      --amdgpu-always-inline                                               - AMDGPU Inline All Functions
      --amdgpu-annotate-kernel-features                                    - Add AMDGPU function attributes
      --amdgpu-annotate-uniform                                            - Add AMDGPU uniform metadata
      --amdgpu-argument-reg-usage-info                                     - Argument Register Usage Information Storage
      --amdgpu-atomic-optimizer                                            - AMDGPU atomic optimizations
      --amdgpu-attributor                                                  - AMDGPU Attributor
      --amdgpu-codegenprepare                                              - AMDGPU IR optimizations
      --amdgpu-insert-delay-alu                                            - AMDGPU Insert Delay ALU
      --amdgpu-isel                                                        - AMDGPU DAG->DAG Pattern Instruction Selection
      --amdgpu-late-codegenprepare                                         - AMDGPU IR late optimizations
      --amdgpu-lower-ctor-dtor                                             - Lower ctors and dtors for AMDGPU
      --amdgpu-lower-enqueued-block                                        - Lower OpenCL enqueued blocks
      --amdgpu-lower-intrinsics                                            - Lower intrinsics
      --amdgpu-lower-kernel-arguments                                      - AMDGPU Lower Kernel Arguments
      --amdgpu-lower-kernel-attributes                                     - AMDGPU Kernel Attributes
      --amdgpu-lower-module-lds                                            - Lower uses of LDS variables from non-kernel functions
      --amdgpu-nsa-reassign                                                - GCN NSA Reassign
      --amdgpu-perf-hint                                                   - Analysis if a function is memory bound
      --amdgpu-postlegalizer-combiner                                      - Combine AMDGPU machine instrs after legalization
      --amdgpu-pre-ra-optimizations                                        - Pre-RA optimizations
      --amdgpu-prelegalizer-combiner                                       - Combine AMDGPU machine instrs before legalization
      --amdgpu-printf-runtime-binding                                      - AMDGPU Printf lowering
      --amdgpu-promote-alloca                                              - AMDGPU promote alloca to vector or LDS
      --amdgpu-promote-alloca-to-vector                                    - AMDGPU promote alloca to vector
      --amdgpu-promote-kernel-arguments                                    - AMDGPU Promote Kernel Arguments
      --amdgpu-propagate-attributes-early                                  - Early propagate attributes from kernels to functions
      --amdgpu-propagate-attributes-late                                   - Late propagate attributes from kernels to functions
      --amdgpu-regbank-combiner                                            - Combine AMDGPU machine instrs after regbankselect
      --amdgpu-replace-lds-use-with-pointer                                - Replace within non-kernel function use of LDS with pointer
      --amdgpu-resource-usage                                              - Function register usage analysis
      --amdgpu-rewrite-out-arguments                                       - AMDGPU Rewrite Out Arguments
      --amdgpu-simplifylib                                                 - Simplify well-known AMD library calls
      --amdgpu-unify-divergent-exit-nodes                                  - Unify divergent function exit nodes
      --amdgpu-unify-metadata                                              - Unify multiple OpenCL metadata due to linking
      --amdgpu-usenative                                                   - Replace builtin math calls with that native versions.
      --amode-opt                                                          - Optimize addressing mode
      --annotation-remarks                                                 - Annotation Remarks
      --annotation2metadata                                                - Annotation2Metadata
      --arm-block-placement                                                - ARM block placement
      --arm-branch-targets                                                 - ARM Branch Targets
      --arm-cp-islands                                                     - ARM constant island placement and branch shortening pass
      --arm-execution-domain-fix                                           - ARM Execution Domain Fix
      --arm-fix-cortex-a57-aes-1742098                                     - ARM fix for Cortex-A57 AES Erratum 1742098
      --arm-ldst-opt                                                       - ARM load / store optimization pass
      --arm-low-overhead-loops                                             - ARM Low Overhead Loops pass
      --arm-mve-gather-scatter-lowering                                    - MVE gather/scattering lowering pass
      --arm-mve-vpt                                                        - ARM MVE VPT block pass
      --arm-mve-vpt-opts                                                   - ARM MVE TailPred and VPT Optimisations pass
      --arm-parallel-dsp                                                   - Transform functions to use DSP intrinsics
      --arm-prera-ldst-opt                                                 - ARM pre- register allocation load / store optimization pass
      --arm-pseudo                                                         - ARM pseudo instruction expansion pass
      --arm-sls-hardening                                                  - ARM sls hardening pass
      --assume-builder                                                     - Assume Builder
      --assume-simplify                                                    - Assume Simplify
      --assumption-cache-tracker                                           - Assumption Cache Tracker
      --atomic-expand                                                      - Expand Atomic instructions
      --attributor                                                         - Deduce and propagate attributes
      --attributor-cgscc                                                   - Deduce and propagate attributes (CGSCC pass)
      --avr-expand-pseudo                                                  - AVR pseudo instruction expansion pass
      --avr-shift-expand                                                   - AVR Shift Expansion
      --barrier                                                            - A No-Op Barrier Pass
      --basic-aa                                                           - Basic Alias Analysis (stateless AA impl)
      --basiccg                                                            - CallGraph Construction
      --bbsections-profile-reader                                          - Reads and parses a basic block sections profile.
      --bdce                                                               - Bit-Tracking Dead Code Elimination
      --block-freq                                                         - Block Frequency Analysis
      --bounds-checking                                                    - Run-time bounds checking
      --bpf-abstract-member-access                                         - BPF Abstract Member Access
      --bpf-adjust-opt                                                     - BPF Adjust Optimization
      --bpf-check-and-opt-ir                                               - BPF Check And Adjust IR
      --bpf-ir-peephole                                                    - BPF IR Peephole
      --bpf-mi-trunc-elim                                                  - BPF MachineSSA Peephole Optimization For TRUNC Eliminate
      --bpf-mi-zext-elim                                                   - BPF MachineSSA Peephole Optimization For ZEXT Eliminate
      --bpf-preserve-di-type                                               - BPF Preserve Debuginfo Type
      --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
      --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
      --codegenprepare                                                     - Optimize for code generation
      --consthoist                                                         - Constant Hoisting
      --constmerge                                                         - Merge Duplicate Global Constants
      --constraint-elimination                                             - Constraint Elimination
      --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
      --dfsan                                                              - DataFlowSanitizer: dynamic data flow analysis.
      --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
      --dwarfehprepare                                                     - Prepare DWARF exceptions
      --early-cse                                                          - Early CSE
      --early-cse-memssa                                                   - Early CSE w/ MemorySSA
      --edge-bundles                                                       - Bundle Machine CFG Edges
      --elim-avail-extern                                                  - Eliminate Available Externally Globals
      --expand-reductions                                                  - Expand reduction intrinsics
      --expandmemcmp                                                       - Expand memcmp() to load/stores
      --expandvp                                                           - Expand vector predication intrinsics
      --external-aa                                                        - External Alias Analysis
      --extract-blocks                                                     - Extract basic blocks from module
      --fastpretileconfig                                                  - Fast Tile Register Preconfigure
      --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-specialization                                            - Propagate constant arguments by specializing the function
      --gcn-create-vopd                                                    - GCN Create VOPD Instructions
      --gcn-dpp-combine                                                    - GCN DPP Combine
      --generic-to-nvvm                                                    - Ensure that the global variables are in the global address space
      --gisel-known-bits                                                   - Analysis for ComputingKnownBits
      --global-merge                                                       - Merge global variables
      --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
      --hardware-loops                                                     - Hardware Loop Insertion
      --hexagon-bit-simplify                                               - Hexagon bit simplification
      --hexagon-cext-opt                                                   - Hexagon constant-extender optimization
      --hexagon-constp                                                     - Hexagon Constant Propagation
      --hexagon-copy-combine                                               - Hexagon Copy-To-Combine Pass
      --hexagon-early-if                                                   - Hexagon early if conversion
      --hexagon-gen-mux                                                    - Hexagon generate mux instructions
      --hexagon-loop-idiom                                                 - Recognize Hexagon-specific loop idioms
      --hexagon-nvj                                                        - Hexagon NewValueJump
      --hexagon-packetizer                                                 - Hexagon Packetizer
      --hexagon-rdf-opt                                                    - Hexagon RDF optimizations
      --hexagon-split-double                                               - Hexagon Split Double Registers
      --hexagon-vc                                                         - Hexagon Vector Combine
      --hexagon-vextract                                                   - Hexagon optimize vextract
      --hexagon-vlcr                                                       - Hexagon-specific predictive commoning for HVX vectors
      --hotcoldsplit                                                       - Hot Cold Splitting
      --hwloops                                                            - Hexagon Hardware Loops
      --indirectbr-expand                                                  - Expand indirectbr instructions
      --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
      --interleaved-access                                                 - Lower interleaved memory accesses to target specific intrinsics
      --interleaved-load-combine                                           - Combine interleaved loads into wide loads and shufflevector 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
      --jmc-instrument                                                     - Instrument function entry with call to __CheckForDebuggerJustMyCode
      --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
      --liveintervals                                                      - Live Interval Analysis
      --liveregmatrix                                                      - Live Register Matrix
      --livevars                                                           - Live Variable Analysis
      --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-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-global-dtors                                                 - Lower @llvm.global_dtors via `__cxa_atexit`
      --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
      --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
      --machine-trace-metrics                                              - Machine Trace Metrics
      --machinedomtree                                                     - MachineDominator Tree Construction
      --machinepostdomtree                                                 - MachinePostDominator 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
      --memprof                                                            - MemProfiler: profile memory allocations and accesses.
      --memprof-module                                                     - MemProfiler: profile memory allocations and accesses.ModulePass
      --mergefunc                                                          - Merge Functions
      --mergeicmps                                                         - Merge contiguous icmps into a memcmp
      --mergereturn                                                        - Unify function exit nodes
      --metarenamer                                                        - Assign new names to everything
      --micromips-reduce-size                                              - MicroMips instruction size reduce pass
      --mips-branch-expansion                                              - Expand out of range branch instructions and fix forbidden slot hazards
      --mips-delay-slot-filler                                             - Fill delay slot for MIPS
      --mips-postlegalizer-combiner                                        - Combine Mips machine instrs after legalization
      --mips-prelegalizer-combiner                                         - Combine Mips machine instrs before legalization
      --mips-vr4300-mulmul-fix                                             - Mips VR4300 mulmul bugfix
      --mldst-motion                                                       - MergedLoadStoreMotion
      --module-debuginfo                                                   - Decodes module-level debug info
      --module-summary-analysis                                            - Module Summary Analysis
      --module-summary-info                                                - Module summary info
      --mve-laneinterleave                                                 - MVE lane interleaving
      --mve-tail-predication                                               - Transform predicated vector loops to use MVE tail predication
      --nary-reassociate                                                   - Nary reassociation
      --newgvn                                                             - Global Value Numbering
      --nvptx-assign-valid-global-names                                    - Assign valid PTX names to globals
      --nvptx-atomic-lower                                                 - Lower atomics of local memory to simple load/stores
      --nvptx-lower-aggr-copies                                            - Lower aggregate copies, and llvm.mem* intrinsics into loops
      --nvptx-lower-alloca                                                 - Lower Alloca
      --nvptx-lower-args                                                   - Lower arguments (NVPTX)
      --nvptx-proxyreg-erasure                                             - NVPTX ProxyReg Erasure
      --nvvm-intr-range                                                    - Add !range metadata to NVVM intrinsics.
      --nvvm-reflect                                                       - Replace occurrences of __nvvm_reflect() calls with 0/1
      --objc-arc                                                           - ObjC ARC optimization
      --objc-arc-aa                                                        - ObjC-ARC-Based Alias Analysis
      --objc-arc-apelim                                                    - ObjC ARC autorelease pool elimination
      --objc-arc-contract                                                  - ObjC ARC contraction
      --objc-arc-expand                                                    - ObjC ARC expansion
      --openmp-opt-cgscc                                                   - OpenMP specific optimizations
      --opt-remark-emitter                                                 - Optimization Remark Emitter
      --pa-eval                                                            - Evaluate ProvenanceAnalysis on all pairs
      --packets                                                            - R600 Packetizer
      --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
      --postdomtree                                                        - Post-Dominator Tree Construction
      --ppc-atomic-expand                                                  - PowerPC Expand Atomic
      --ppc-bool-ret-to-int                                                - Convert i1 constants to i32/i64 if they are returned
      --ppc-branch-coalescing                                              - Branch Coalescing
      --ppc-branch-select                                                  - PowerPC Branch Selector
      --ppc-ctrloops                                                       - PowerPC CTR loops generation
      --ppc-early-ret                                                      - PowerPC Early-Return Creation
      --ppc-expand-isel                                                    - PowerPC Expand ISEL Generation
      --ppc-gen-scalar-mass                                                - Generate Scalar MASS entries
      --ppc-loop-instr-form-prep                                           - Prepare loop for ppc preferred instruction forms
      --ppc-lower-massv-entries                                            - Lower MASSV entries
      --ppc-mi-peepholes                                                   - PowerPC MI Peephole Optimization
      --ppc-pre-emit-peephole                                              - PowerPC Pre-Emit Peephole
      --ppc-reduce-cr-ops                                                  - PowerPC Reduce CR logical Operation
      --ppc-tls-dynamic-call                                               - PowerPC TLS Dynamic Call Fixup
      --ppc-toc-reg-deps                                                   - PowerPC TOC Register Dependencies
      --ppc-vsx-copy                                                       - PowerPC VSX Copy Legalization
      --ppc-vsx-fma-mutate                                                 - PowerPC VSX FMA Mutation
      --ppc-vsx-swaps                                                      - PowerPC VSX Swap Removal
      --pre-amx-config                                                     - Pre AMX Tile Config
      --pre-isel-intrinsic-lowering                                        - Pre-ISel Intrinsic Lowering
      --print-alias-sets                                                   - Alias Set Printer
      --print-callgraph                                                    - Print a call graph
      --print-callgraph-sccs                                               - Print SCCs of the Call Graph
      --print-cfg-sccs                                                     - Print SCCs of each function CFG
      --print-dom-info                                                     - Dominator Info Printer
      --print-externalfnconstants                                          - Print external fn callsites passed constants
      --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
      --r600-expand-special-instrs                                         - R600ExpandSpecialInstrs
      --r600cf                                                             - R600 Control Flow Finalizer
      --r600mergeclause                                                    - R600 Clause Merge
      --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
      --release-vgprs                                                      - Release VGPRs
      --replace-with-veclib                                                - Replace intrinsics with calls to vector library
      --rewrite-statepoints-for-gc                                         - Make relocations explicit at statepoints
      --rewrite-symbols                                                    - Rewrite Symbols
      --riscv-codegenprepare                                               - RISCV CodeGenPrepare
      --riscv-expand-pseudo                                                - RISCV pseudo instruction expansion pass
      --riscv-gather-scatter-lowering                                      - RISCV gather/scatter lowering pass
      --riscv-insert-vsetvli                                               - RISCV Insert VSETVLI pass
      --riscv-make-compressible                                            - RISCV Make Compressible
      --riscv-merge-base-offset                                            - RISCV Merge Base Offset
      --riscv-sextw-removal                                                - RISCV sext.w Removal
      --rpo-function-attrs                                                 - Deduce function attributes in RPO
      --safe-stack                                                         - Safe Stack instrumentation pass
      --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
      --select-optimize                                                    - Optimize selects
      --separate-const-offset-from-gep                                     - Split GEPs to a variadic base and a constant offset for better CSE
      --si-annotate-control-flow                                           - Annotate SI Control Flow
      --si-fix-sgpr-copies                                                 - SI Fix SGPR copies
      --si-fix-vgpr-copies                                                 - SI Fix VGPR copies
      --si-fold-operands                                                   - SI Fold Operands
      --si-form-memory-clauses                                             - SI Form memory clauses
      --si-i1-copies                                                       - SI Lower i1 Copies
      --si-insert-hard-clauses                                             - SI Insert Hard Clauses
      --si-insert-waitcnts                                                 - SI Insert Waitcnts
      --si-late-branch-lowering                                            - SI insert s_cbranch_execz instructions
      --si-load-store-opt                                                  - SI Load Store Optimizer
      --si-lower-control-flow                                              - SI lower control flow
      --si-lower-sgpr-spills                                               - SI lower SGPR spill instructions
      --si-memory-legalizer                                                - SI Memory Legalizer
      --si-mode-register                                                   - Insert required mode register values
      --si-opt-vgpr-liverange                                              - SI Optimize VGPR LiveRange
      --si-optimize-exec-masking                                           - SI optimize exec mask operations
      --si-optimize-exec-masking-pre-ra                                    - SI optimize exec mask operations pre-RA
      --si-peephole-sdwa                                                   - SI Peephole SDWA
      --si-post-ra-bundler                                                 - SI post-RA bundler
      --si-pre-allocate-wwm-regs                                           - SI Pre-allocate WWM Registers
      --si-pre-emit-peephole                                               - SI peephole optimizations
      --si-shrink-instructions                                             - SI Shrink Instructions
      --si-wqm                                                             - SI Whole Quad Mode
      --simple-loop-unswitch                                               - Simple unswitch loops
      --simplifycfg                                                        - Simplify the CFG
      --sink                                                               - Code sinking
      --sjljehprepare                                                      - Prepare SjLj exceptions
      --slotindexes                                                        - Slot index numbering
      --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
      --systemz-elim-compare                                               - SystemZ Comparison Elimination
      --systemz-ld-cleanup                                                 - SystemZ Local Dynamic TLS Access Clean-up
      --systemz-long-branch                                                - SystemZ Long Branch
      --systemz-post-rewrite                                               - SystemZ Post Rewrite pass
      --systemz-shorten-inst                                               - SystemZ Instruction Shortening
      --systemz-tdc                                                        - SystemZ Test Data Class optimization
      --tailcallelim                                                       - Tail Call Elimination
      --targetlibinfo                                                      - Target Library Information
      --targetpassconfig                                                   - Target Pass Configuration
      --tbaa                                                               - Type-Based Alias Analysis
      --thumb2-reduce-size                                                 - Thumb2 instruction size reduce pass
      --tileconfig                                                         - Tile Register Configure
      --tilepreconfig                                                      - Tile Register Pre-configure
      --tlshoist                                                           - TLS Variable Hoist
      --transform-warning                                                  - Warn about non-applied transformations
      --tti                                                                - Target Transform Information
      --type-promotion                                                     - Type Promotion
      --unify-loop-exits                                                   - Fixup each natural loop to have a single exit block
      --unreachable-mbb-elimination                                        - Remove unreachable machine basic blocks
      --unreachableblockelim                                               - Remove unreachable blocks from the CFG
      --vec-merger                                                         - R600 Vector Reg Merger
      --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
      --wasm-add-missing-prototypes                                        - Add prototypes to prototypes-less functions
      --wasm-argument-move                                                 - Move ARGUMENT instructions for WebAssembly
      --wasm-cfg-sort                                                      - Reorders blocks in topological order
      --wasm-cfg-stackify                                                  - Insert BLOCK/LOOP/TRY markers for WebAssembly scopes
      --wasm-debug-fixup                                                   - Ensures debug_value's that have been stackified become stack relative
      --wasm-exception-info                                                - WebAssembly Exception Information
      --wasm-explicit-locals                                               - Convert registers to WebAssembly locals
      --wasm-fix-function-bitcasts                                         - Fix mismatching bitcasts for WebAssembly
      --wasm-fix-irreducible-control-flow                                  - Removes irreducible control flow
      --wasm-late-eh-prepare                                               - WebAssembly Late Exception Preparation
      --wasm-lower-br_unless                                               - Lowers br_unless into inverted br_if
      --wasm-lower-em-ehsjlj                                               - WebAssembly Lower Emscripten Exceptions / Setjmp / Longjmp
      --wasm-mclower-prepass                                               - Collects information ahead of time for MC lowering
      --wasm-mem-intrinsic-results                                         - Optimize memory intrinsic result values for WebAssembly
      --wasm-nullify-dbg-value-lists                                       - WebAssembly Nullify DBG_VALUE_LISTs
      --wasm-optimize-live-intervals                                       - Optimize LiveIntervals for WebAssembly
      --wasm-optimize-returned                                             - Optimize calls with "returned" attributes for WebAssembly
      --wasm-peephole                                                      - WebAssembly peephole optimizations
      --wasm-reg-coloring                                                  - Minimize number of registers used
      --wasm-reg-numbering                                                 - Assigns WebAssembly register numbers for virtual registers
      --wasm-reg-stackify                                                  - Reorder instructions to use the WebAssembly value stack
      --wasm-replace-phys-regs                                             - Replace physical registers with virtual registers
      --wasm-set-p2align-operands                                          - Set the p2align operands for WebAssembly loads and stores
      --wasmehprepare                                                      - Prepare WebAssembly exceptions
      --winehprepare                                                       - Prepare Windows exceptions
      --write-bitcode                                                      - Write Bitcode
      --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-return-thunks                                                  - X86 Return Thunks
      --x86-seses                                                          - X86 Speculative Execution Side Effect Suppression
      --x86-slh                                                            - X86 speculative load hardener
      --x86-winehstate                                                     - Insert stores for EH state numbers
  --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.
  --split-machine-functions                                             - Split out cold basic blocks from machine functions based on profile information
  --stack-size-section                                                  - Emit a section containing stack size metadata
  --stack-symbol-ordering                                               - Order local stack symbols.
  --stackrealign                                                        - Force align the stack to the minimum alignment
  --strict-dwarf                                                        - use strict dwarf
  --strip-debug                                                         - Strip debugger symbol info from translation unit
  --strip-named-metadata                                                - Strip module-level named metadata
  --summary-file=<string>                                               - The summary file to use for function importing.
  --sve-tail-folding=<string>                                           - Control the use of vectorisation using tail-folding for SVE:
                                                                          disabled    No loop types will vectorize using tail-folding
                                                                          default     Uses the default tail-folding settings for the target CPU
                                                                          all         All legal loop types will vectorize using tail-folding
                                                                          simple      Use tail-folding for simple loops (not reductions or recurrences)
                                                                          reductions  Use tail-folding for loops containing reductions
                                                                          recurrences Use tail-folding for loops containing first order recurrences
  --swift-async-fp=<value>                                              - Determine when the Swift async frame pointer should be set
    =auto                                                               -   Determine based on deployment target
    =always                                                             -   Always set the bit
    =never                                                              -   Never set the bit
  --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
  --tailcallopt                                                         - Turn fastcc calls into tail calls by (potentially) changing ABI.
  --thin-link-bitcode-file=<filename>                                   - A file in which to write minimized bitcode for the thin link only
  --thinlto-assume-merged                                               - Assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes.
  --thinlto-bc                                                          - Write output as ThinLTO-ready bitcode
  --thinlto-split-lto-unit                                              - Enable splitting of a ThinLTO LTOUnit
  --thread-model=<value>                                                - Choose threading model
    =posix                                                              -   POSIX thread model
    =single                                                             -   Single thread model
  --threads=<int>                                                       -
  --time-trace                                                          - Record time trace
  --time-trace-file=<filename>                                          - Specify time trace file destination
  --tls-size=<uint>                                                     - Bit size of immediate TLS offsets
  --type-based-intrinsic-cost                                           - Calculate intrinsics cost based only on argument types
  --unique-basic-block-section-names                                    - Give unique names to every basic block section
  --unique-section-names                                                - Give unique names to every section
  --use-ctors                                                           - Use .ctors instead of .init_array.
  --vec-extabi                                                          - Enable the AIX Extended Altivec ABI.
  --verify-debuginfo-preserve                                           - Start the pipeline with collecting and end it with checking of debug info preservation.
  --verify-di-preserve-export=<filename>                                - Export debug info preservation failures into specified (JSON) file (should be abs path as we use append mode to insert new JSON objects)
  --verify-each                                                         - Verify after each transform
  --verify-each-debuginfo-preserve                                      - Start each pass with collecting and end it with checking of debug info preservation.
  --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
  --xcoff-traceback-table                                               - Emit the XCOFF traceback table

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 (600)
OptionDescriptionSource
--color- Use colors in output (default=autodetect)help
--O0- Optimization level 0.help
--O1- Optimization level 1.help
--O2- Optimization level 2.help
--O3- Optimization level 3.help
--Os- Like -O2 but size-conscious.help
--Oz- Like -O2 but optimize for code size above all else.help
-S- Write output as LLVM assemblyhelp
--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
--addrsig- Emit an address-significance tablehelp
--align-loops uint- Default alignment for loopshelp
--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-dpp-combine- Enable DPP combinerhelp
--amdgpu-dump-hsa-metadata- Dump AMDGPU HSA Metadatahelp
--amdgpu-enable-merge-m0- Merge and hoist M0 initializationshelp
--amdgpu-enable-power-sched- Enable scheduling to minimize mAI power burstshelp
--amdgpu-igrouplp- Enable construction of Instruction Groups and their ordering for schedulinghelp
--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
--code-model value- Choose code model =tiny - Tiny code model =small - Small code model =kernel - Kernel code model =medium - Medium code model =large - Large code modelhelp
--codegen-opt-level uint- Override optimization level for codegen hooks, legacy PM onlyhelp
--cost-kind value- Target cost kind =throughput - Reciprocal throughput =latency - Instruction latency =code-size - Code size =size-latency - Code size and latencyhelp
--data-layout layout-string- data layout string to usehelp
--data-sections- Emit data into separate sectionshelp
--debug-entry-values- Enable debug info for the debug entry values.help
--debug-info-correlate- Use debug info to correlate profiles.help
--debugger-tune value- Tune debug info for a particular debugger =gdb - gdb =lldb - lldb =dbx - dbx =sce - SCE targets (e.g. PS4)help
--debugify-each- Start each pass with debugify and end it with check-debugifyhelp
--debugify-export filename- Export per-pass debugify statistics to this filehelp
--debugify-func-limit ulong- Set max number of processed functions per pass.help
--debugify-level value- Kind of debug info to add =locations - Locations only =location+variables - Locations and Variableshelp
--debugify-quiet- Suppress verbose debugify outputhelp
--denormal-fp-math value- Select which denormal numbers the code is permitted to require =ieee - IEEE 754 denormal numbers =preserve-sign - the sign of a flushed-to-zero number is preserved in the sign of 0 =positive-zero -…help
--denormal-fp-math-f32 value- Select which denormal numbers the code is permitted to require for float =ieee - IEEE 754 denormal numbers =preserve-sign - the sign of a flushed-to-zero number is preserved in the sign of 0…help
--disable-builtin string- Disable specific target library builtin functionhelp
--disable-debug-info-type-map- Don't use a uniquing type map for debug infohelp
--disable-i2p-p2i-opt- Disables inttoptr/ptrtoint roundtrip optimizationhelp
--disable-loop-unrolling- Disable loop unrolling in all relevant passeshelp
--disable-promote-alloca-to-lds- Disable promote alloca to LDShelp
--disable-promote-alloca-to-vector- Disable promote alloca to vectorhelp
--disable-simplify-libcalls- Disable simplify-libcallshelp
--disable-tail-calls- Never emit tail callshelp
--do-counter-promotion- Do counter register promotionhelp
--dot-cfg-mssa file- file name for generated dot filehelp
--dwarf-version int- Dwarf versionhelp
--dwarf64- Generate debugging info in the 64-bit DWARF formathelp
--emit-call-site-info- Emit call site debug information, if debug information is enabled.help
--emit-dwarf-unwind value- Whether to emit DWARF EH frame entries.help
--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
--emulated-tls- Use emulated TLS modelhelp
--enable-approx-func-fp-math- Enable FP math optimizations that assume approx funchelp
--enable-cse-in-irtranslator- Should enable CSE in irtranslatorhelp
--enable-cse-in-legalizer- Should enable CSE in Legalizerhelp
--enable-debugify- Start the pipeline with debugify and end it with check-debugifyhelp
--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-jmc-instrument- Instrument functions with a call to __CheckForDebuggerJustMyCodehelp
--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-new-pm- Enable the new pass manager, translating 'opt -foo' to 'opt -passes=foo'.help
--enable-no-infs-fp-math- Enable FP math optimizations that assume no +-Infshelp
--enable-no-nans-fp-math- Enable FP math optimizations that assume no NaNshelp
--enable-no-signed-zeros-fp-math- Enable FP math optimizations that assume the sign of 0 is insignificanthelp
--enable-no-trapping-fp-math- Enable setting the FP exceptions build attribute not to use exceptionshelp
--enable-split-backedge-in-load-pre-help
--enable-unsafe-fp-math- Enable optimizations that may decrease FP precisionhelp
--exception-model value- exception model =default - default exception handling model =dwarf - DWARF-like CFI based exception handling =sjlj - SjLj exception handling =arm - ARM EHABI exceptions =wineh - Windows exception…help
--experimental-debug-variable-locations- Use experimental new value-tracking variable locationshelp
-f- Enable binary output on terminalshelp
--fatal-warnings- Treat warnings as errorshelp
--filetype value- Choose a file type (not all types are supported by all targets): =asm - Emit an assembly ('.s') file =obj - Emit a native object ('.o') file =null - Emit nothing, for performance testinghelp
--float-abi value- Choose float ABI type =default - Target default float ABI type =soft - Soft float ABI (implied by -soft-float) =hard - Hard float ABI (uses FP registers)help
--force-dwarf-frame-section- Always emit a debug frame section.help
--fp-contract value- Enable aggressive formation of fused FP ops =fast - Fuse FP ops whenever profitable =on - Only fuse 'blessed' FP ops.help
--frame-pointer value- Specify frame pointer elimination optimization =all - Disable frame pointer elimination =non-leaf - Disable frame pointer elimination for non-leaf frame =none - Enable frame pointer eliminationhelp
--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
--function-sections- Emit functions into separate sectionshelp
--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
--ignore-xcoff-visibility- Not emit the visibility attribute for asm in AIX OS or give all symbols 'unspecified' visibility in XCOFF object filehelp
--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-max-sink-users uint- Maximum number of undroppable users for instruction sinkinghelp
--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
--load pluginfilename- Load the specified pluginhelp
--load-pass-plugin string- Load passes from plugin libraryhelp
--lower-global-dtors-via-cxa-atexit- Lower llvm.global_dtors (global destructors) via __cxa_atexithelp
--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
--march string- Architecture to generate code for (see --version)help
--matrix-default-layout value- Sets the default matrix layout =column-major - Use column-major layout =row-major - Use row-major layouthelp
--mattr, -a3 a1- Target specific attributes (-mattr=help for details)help
--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
--mcpu cpu-name- Target a specific cpu type (-mcpu=help for details)help
--meabi value- Set EABI type (default depends on triple): =default - Triple default EABI version =4 - EABI version 4 =5 - EABI version 5 =gnu - EABI GNUhelp
--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
--misexpect-tolerance uint- Prevents emiting diagnostics when profile counts are within N% of the threshold..help
--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
--module-hash- Emit module hashhelp
--module-summary- Emit module summary indexhelp
--mtriple string- Override target triple for modulehelp
--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
--no-xray-index- Don't emit xray_fn_idx sectionhelp
--nozero-initialized-in-bss- Don't place zero-initialized symbols into bss sectionhelp
--nvptx-sched4reg- NVPTX Specific: schedule for register pressuehelp
-o filename- Override output filenamehelp
--opaque-pointers- Use opaque pointershelp
--pass-remarks-filter regex- Only record optimization remarks from passes whose names match the given regular expressionhelp
--pass-remarks-format format- The format used for serializing remarks (default: YAML)help
--pass-remarks-output filename- Output filename for pass remarkshelp
--passes string- A textual description of the pass pipeline.help
--poison-checking-function-local- Check that returns are non-poison (for testing)help
--print-breakpoints-for-testing- Print select breakpoints location for testinghelp
--print-passes- Print available passes that can be specified in -passes=foo and exithelp
--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
--relax-elf-relocations- Emit GOTPCRELX/REX_GOTPCRELX instead of GOTPCREL on x86-64 ELFhelp
--relocation-model value- Choose relocation model =static - Non-relocatable code =pic - Fully relocatable, position independent code =dynamic-no-pic - Relocatable external references, non-relocatable code =ropi - Code and…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
--aa- Function Alias Analysis Resultshelp
--aa-eval- Exhaustive Alias Analysis Precision Evaluatorhelp
--aarch64-O0-prelegalizer-combiner- Combine AArch64 machine instrs before legalizationhelp
--aarch64-a57-fp-load-balancing- AArch64 A57 FP Load-Balancinghelp
--aarch64-branch-targets- AArch64 Branch Targetshelp
--aarch64-ccmp- AArch64 CCMP Passhelp
--aarch64-collect-loh- AArch64 Collect Linker Optimization Hint (LOH)help
--aarch64-condopt- AArch64 CondOpt Passhelp
--aarch64-copyelim- AArch64 redundant copy elimination passhelp
--aarch64-dead-defs- AArch64 Dead register definitionshelp
--aarch64-expand-pseudo- AArch64 pseudo instruction expansion passhelp
--aarch64-falkor-hwpf-fix- Falkor HW Prefetch Fixhelp
--aarch64-falkor-hwpf-fix-late- Falkor HW Prefetch Fix Late Phasehelp
--aarch64-fix-cortex-a53-835769-pass- AArch64 fix for A53 erratum 835769help
--aarch64-jump-tables- AArch64 compress jump tables passhelp
--aarch64-ldst-opt- AArch64 load / store optimization passhelp
--aarch64-local-dynamic-tls-cleanup- AArch64 Local Dynamic TLS Access Clean-uphelp
--aarch64-lower-homogeneous-prolog-epilog- AArch64 homogeneous prolog/epilog lowering passhelp
--aarch64-mi-peephole-opt- AArch64 MI Peephole Optimizationhelp
--aarch64-post-select-optimize- Optimize AArch64 selected instructionshelp
--aarch64-postlegalizer-combiner- Combine AArch64 MachineInstrs after legalizationhelp
--aarch64-postlegalizer-lowering- Lower AArch64 MachineInstrs after legalizationhelp
--aarch64-prelegalizer-combiner- Combine AArch64 machine instrs before legalizationhelp
--aarch64-promote-const- AArch64 Promote Constant Passhelp
--aarch64-simd-scalar- AdvSIMD Scalar Operation Optimizationhelp
--aarch64-simdinstr-opt- AArch64 SIMD instructions optimization passhelp
--aarch64-sls-hardening- AArch64 sls hardening passhelp
--aarch64-speculation-hardening- AArch64 speculation hardening passhelp
--aarch64-stack-tagging- AArch64 Stack Tagginghelp
--aarch64-stack-tagging-pre-ra- AArch64 Stack Tagging PreRA Passhelp
--aarch64-stp-suppress- AArch64 Store Pair Suppressionhelp
--aarch64-sve-intrinsic-opts- SVE intrinsics optimizationshelp
--adce- Aggressive Dead Code Eliminationhelp
--add-discriminators- Add DWARF path discriminatorshelp
--aggressive-instcombine- Combine pattern based expressionshelp
--alignment-from-assumptions- Alignment from assumptionshelp
--alloca-hoisting- Hoisting alloca instructions in non-entry blocks to the entry blockhelp
--always-inline- Inliner for always_inline functionshelp
--amdgpu-aa- AMDGPU Address space based Alias Analysishelp
--amdgpu-aa-wrapper- AMDGPU Address space based Alias Analysis Wrapperhelp
--amdgpu-always-inline- AMDGPU Inline All Functionshelp
--amdgpu-annotate-kernel-features- Add AMDGPU function attributeshelp
--amdgpu-annotate-uniform- Add AMDGPU uniform metadatahelp
--amdgpu-argument-reg-usage-info- Argument Register Usage Information Storagehelp
--amdgpu-atomic-optimizer- AMDGPU atomic optimizationshelp
--amdgpu-attributor- AMDGPU Attributorhelp
--amdgpu-codegenprepare- AMDGPU IR optimizationshelp
--amdgpu-insert-delay-alu- AMDGPU Insert Delay ALUhelp
--amdgpu-isel- AMDGPU DAG->DAG Pattern Instruction Selectionhelp
--amdgpu-late-codegenprepare- AMDGPU IR late optimizationshelp
--amdgpu-lower-ctor-dtor- Lower ctors and dtors for AMDGPUhelp
--amdgpu-lower-enqueued-block- Lower OpenCL enqueued blockshelp
--amdgpu-lower-intrinsics- Lower intrinsicshelp
--amdgpu-lower-kernel-arguments- AMDGPU Lower Kernel Argumentshelp
--amdgpu-lower-kernel-attributes- AMDGPU Kernel Attributeshelp
--amdgpu-lower-module-lds- Lower uses of LDS variables from non-kernel functionshelp
--amdgpu-nsa-reassign- GCN NSA Reassignhelp
--amdgpu-perf-hint- Analysis if a function is memory boundhelp
--amdgpu-postlegalizer-combiner- Combine AMDGPU machine instrs after legalizationhelp
--amdgpu-pre-ra-optimizations- Pre-RA optimizationshelp
--amdgpu-prelegalizer-combiner- Combine AMDGPU machine instrs before legalizationhelp
--amdgpu-printf-runtime-binding- AMDGPU Printf loweringhelp
--amdgpu-promote-alloca- AMDGPU promote alloca to vector or LDShelp
--amdgpu-promote-alloca-to-vector- AMDGPU promote alloca to vectorhelp
--amdgpu-promote-kernel-arguments- AMDGPU Promote Kernel Argumentshelp
--amdgpu-propagate-attributes-early- Early propagate attributes from kernels to functionshelp
--amdgpu-propagate-attributes-late- Late propagate attributes from kernels to functionshelp
--amdgpu-regbank-combiner- Combine AMDGPU machine instrs after regbankselecthelp
--amdgpu-replace-lds-use-with-pointer- Replace within non-kernel function use of LDS with pointerhelp
--amdgpu-resource-usage- Function register usage analysishelp
--amdgpu-rewrite-out-arguments- AMDGPU Rewrite Out Argumentshelp
--amdgpu-simplifylib- Simplify well-known AMD library callshelp
--amdgpu-unify-divergent-exit-nodes- Unify divergent function exit nodeshelp
--amdgpu-unify-metadata- Unify multiple OpenCL metadata due to linkinghelp
--amdgpu-usenative- Replace builtin math calls with that native versions.help
--amode-opt- Optimize addressing modehelp
--annotation-remarks- Annotation Remarkshelp
--annotation2metadata- Annotation2Metadatahelp
--arm-block-placement- ARM block placementhelp
--arm-branch-targets- ARM Branch Targetshelp
--arm-cp-islands- ARM constant island placement and branch shortening passhelp
--arm-execution-domain-fix- ARM Execution Domain Fixhelp
--arm-fix-cortex-a57-aes-1742098- ARM fix for Cortex-A57 AES Erratum 1742098help
--arm-ldst-opt- ARM load / store optimization passhelp
--arm-low-overhead-loops- ARM Low Overhead Loops passhelp
--arm-mve-gather-scatter-lowering- MVE gather/scattering lowering passhelp
--arm-mve-vpt- ARM MVE VPT block passhelp
--arm-mve-vpt-opts- ARM MVE TailPred and VPT Optimisations passhelp
--arm-parallel-dsp- Transform functions to use DSP intrinsicshelp
--arm-prera-ldst-opt- ARM pre- register allocation load / store optimization passhelp
--arm-pseudo- ARM pseudo instruction expansion passhelp
--arm-sls-hardening- ARM sls hardening passhelp
--assume-builder- Assume Builderhelp
--assume-simplify- Assume Simplifyhelp
--assumption-cache-tracker- Assumption Cache Trackerhelp
--atomic-expand- Expand Atomic instructionshelp
--attributor- Deduce and propagate attributeshelp
--attributor-cgscc- Deduce and propagate attributes (CGSCC pass)help
--avr-expand-pseudo- AVR pseudo instruction expansion passhelp
--avr-shift-expand- AVR Shift Expansionhelp
--barrier- A No-Op Barrier Passhelp
--basic-aa- Basic Alias Analysis (stateless AA impl)help
--basiccg- CallGraph Constructionhelp
--bbsections-profile-reader- Reads and parses a basic block sections profile.help
--bdce- Bit-Tracking Dead Code Eliminationhelp
--block-freq- Block Frequency Analysishelp
--bounds-checking- Run-time bounds checkinghelp
--bpf-abstract-member-access- BPF Abstract Member Accesshelp
--bpf-adjust-opt- BPF Adjust Optimizationhelp
--bpf-check-and-opt-ir- BPF Check And Adjust IRhelp
--bpf-ir-peephole- BPF IR Peepholehelp
--bpf-mi-trunc-elim- BPF MachineSSA Peephole Optimization For TRUNC Eliminatehelp
--bpf-mi-zext-elim- BPF MachineSSA Peephole Optimization For ZEXT Eliminatehelp
--bpf-preserve-di-type- BPF Preserve Debuginfo Typehelp
--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
--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
--codegenprepare- Optimize for code generationhelp
--consthoist- Constant Hoistinghelp
--constmerge- Merge Duplicate Global Constantshelp
--constraint-elimination- Constraint Eliminationhelp
--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
--dfsan- DataFlowSanitizer: dynamic data flow analysis.help
--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
--dwarfehprepare- Prepare DWARF exceptionshelp
--early-cse- Early CSEhelp
--early-cse-memssa- Early CSE w/ MemorySSAhelp
--edge-bundles- Bundle Machine CFG Edgeshelp
--elim-avail-extern- Eliminate Available Externally Globalshelp
--expand-reductions- Expand reduction intrinsicshelp
--expandmemcmp- Expand memcmp() to load/storeshelp
--expandvp- Expand vector predication intrinsicshelp
--external-aa- External Alias Analysishelp
--extract-blocks- Extract basic blocks from modulehelp
--fastpretileconfig- Fast Tile Register Preconfigurehelp
--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-specialization- Propagate constant arguments by specializing the functionhelp
--gcn-create-vopd- GCN Create VOPD Instructionshelp
--gcn-dpp-combine- GCN DPP Combinehelp
--generic-to-nvvm- Ensure that the global variables are in the global address spacehelp
--gisel-known-bits- Analysis for ComputingKnownBitshelp
--global-merge- Merge global variableshelp
--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
--hardware-loops- Hardware Loop Insertionhelp
--hexagon-bit-simplify- Hexagon bit simplificationhelp
--hexagon-cext-opt- Hexagon constant-extender optimizationhelp
--hexagon-constp- Hexagon Constant Propagationhelp
--hexagon-copy-combine- Hexagon Copy-To-Combine Passhelp
--hexagon-early-if- Hexagon early if conversionhelp
--hexagon-gen-mux- Hexagon generate mux instructionshelp
--hexagon-loop-idiom- Recognize Hexagon-specific loop idiomshelp
--hexagon-nvj- Hexagon NewValueJumphelp
--hexagon-packetizer- Hexagon Packetizerhelp
--hexagon-rdf-opt- Hexagon RDF optimizationshelp
--hexagon-split-double- Hexagon Split Double Registershelp
--hexagon-vc- Hexagon Vector Combinehelp
--hexagon-vextract- Hexagon optimize vextracthelp
--hexagon-vlcr- Hexagon-specific predictive commoning for HVX vectorshelp
--hotcoldsplit- Hot Cold Splittinghelp
--hwloops- Hexagon Hardware Loopshelp
--indirectbr-expand- Expand indirectbr instructionshelp
--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
--interleaved-access- Lower interleaved memory accesses to target specific intrinsicshelp
--interleaved-load-combine- Combine interleaved loads into wide loads and shufflevector 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
--jmc-instrument- Instrument function entry with call to __CheckForDebuggerJustMyCodehelp
--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
--liveintervals- Live Interval Analysishelp
--liveregmatrix- Live Register Matrixhelp
--livevars- Live Variable Analysishelp
--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-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-global-dtors- Lower @llvm.global_dtors via `__cxa_atexit`help
--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
--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
--machine-trace-metrics- Machine Trace Metricshelp
--machinedomtree- MachineDominator Tree Constructionhelp
--machinepostdomtree- MachinePostDominator 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
--memprof- MemProfiler: profile memory allocations and accesses.help
--memprof-module- MemProfiler: profile memory allocations and accesses.ModulePasshelp
--mergefunc- Merge Functionshelp
--mergeicmps- Merge contiguous icmps into a memcmphelp
--mergereturn- Unify function exit nodeshelp
--metarenamer- Assign new names to everythinghelp
--micromips-reduce-size- MicroMips instruction size reduce passhelp
--mips-branch-expansion- Expand out of range branch instructions and fix forbidden slot hazardshelp
--mips-delay-slot-filler- Fill delay slot for MIPShelp
--mips-postlegalizer-combiner- Combine Mips machine instrs after legalizationhelp
--mips-prelegalizer-combiner- Combine Mips machine instrs before legalizationhelp
--mips-vr4300-mulmul-fix- Mips VR4300 mulmul bugfixhelp
--mldst-motion- MergedLoadStoreMotionhelp
--module-debuginfo- Decodes module-level debug infohelp
--module-summary-analysis- Module Summary Analysishelp
--module-summary-info- Module summary infohelp
--mve-laneinterleave- MVE lane interleavinghelp
--mve-tail-predication- Transform predicated vector loops to use MVE tail predicationhelp
--nary-reassociate- Nary reassociationhelp
--newgvn- Global Value Numberinghelp
--nvptx-assign-valid-global-names- Assign valid PTX names to globalshelp
--nvptx-atomic-lower- Lower atomics of local memory to simple load/storeshelp
--nvptx-lower-aggr-copies- Lower aggregate copies, and llvm.mem* intrinsics into loopshelp
--nvptx-lower-alloca- Lower Allocahelp
--nvptx-lower-args- Lower arguments (NVPTX)help
--nvptx-proxyreg-erasure- NVPTX ProxyReg Erasurehelp
--nvvm-intr-range- Add !range metadata to NVVM intrinsics.help
--nvvm-reflect- Replace occurrences of __nvvm_reflect() calls with 0/1help
--objc-arc- ObjC ARC optimizationhelp
--objc-arc-aa- ObjC-ARC-Based Alias Analysishelp
--objc-arc-apelim- ObjC ARC autorelease pool eliminationhelp
--objc-arc-contract- ObjC ARC contractionhelp
--objc-arc-expand- ObjC ARC expansionhelp
--openmp-opt-cgscc- OpenMP specific optimizationshelp
--opt-remark-emitter- Optimization Remark Emitterhelp
--pa-eval- Evaluate ProvenanceAnalysis on all pairshelp
--packets- R600 Packetizerhelp
--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
--postdomtree- Post-Dominator Tree Constructionhelp
--ppc-atomic-expand- PowerPC Expand Atomichelp
--ppc-bool-ret-to-int- Convert i1 constants to i32/i64 if they are returnedhelp
--ppc-branch-coalescing- Branch Coalescinghelp
--ppc-branch-select- PowerPC Branch Selectorhelp
--ppc-ctrloops- PowerPC CTR loops generationhelp
--ppc-early-ret- PowerPC Early-Return Creationhelp
--ppc-expand-isel- PowerPC Expand ISEL Generationhelp
--ppc-gen-scalar-mass- Generate Scalar MASS entrieshelp
--ppc-loop-instr-form-prep- Prepare loop for ppc preferred instruction formshelp
--ppc-lower-massv-entries- Lower MASSV entrieshelp
--ppc-mi-peepholes- PowerPC MI Peephole Optimizationhelp
--ppc-pre-emit-peephole- PowerPC Pre-Emit Peepholehelp
--ppc-reduce-cr-ops- PowerPC Reduce CR logical Operationhelp
--ppc-tls-dynamic-call- PowerPC TLS Dynamic Call Fixuphelp
--ppc-toc-reg-deps- PowerPC TOC Register Dependencieshelp
--ppc-vsx-copy- PowerPC VSX Copy Legalizationhelp
--ppc-vsx-fma-mutate- PowerPC VSX FMA Mutationhelp
--ppc-vsx-swaps- PowerPC VSX Swap Removalhelp
--pre-amx-config- Pre AMX Tile Confighelp
--pre-isel-intrinsic-lowering- Pre-ISel Intrinsic Loweringhelp
--print-alias-sets- Alias Set Printerhelp
--print-callgraph- Print a call graphhelp
--print-callgraph-sccs- Print SCCs of the Call Graphhelp
--print-cfg-sccs- Print SCCs of each function CFGhelp
--print-dom-info- Dominator Info Printerhelp
--print-externalfnconstants- Print external fn callsites passed constantshelp
--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
--r600-expand-special-instrs- R600ExpandSpecialInstrshelp
--r600cf- R600 Control Flow Finalizerhelp
--r600mergeclause- R600 Clause Mergehelp
--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
--release-vgprs- Release VGPRshelp
--replace-with-veclib- Replace intrinsics with calls to vector libraryhelp
--rewrite-statepoints-for-gc- Make relocations explicit at statepointshelp
--rewrite-symbols- Rewrite Symbolshelp
--riscv-codegenprepare- RISCV CodeGenPreparehelp
--riscv-expand-pseudo- RISCV pseudo instruction expansion passhelp
--riscv-gather-scatter-lowering- RISCV gather/scatter lowering passhelp
--riscv-insert-vsetvli- RISCV Insert VSETVLI passhelp
--riscv-make-compressible- RISCV Make Compressiblehelp
--riscv-merge-base-offset- RISCV Merge Base Offsethelp
--riscv-sextw-removal- RISCV sext.w Removalhelp
--rpo-function-attrs- Deduce function attributes in RPOhelp
--safe-stack- Safe Stack instrumentation passhelp
--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
--select-optimize- Optimize selectshelp
--separate-const-offset-from-gep- Split GEPs to a variadic base and a constant offset for better CSEhelp
--si-annotate-control-flow- Annotate SI Control Flowhelp
--si-fix-sgpr-copies- SI Fix SGPR copieshelp
--si-fix-vgpr-copies- SI Fix VGPR copieshelp
--si-fold-operands- SI Fold Operandshelp
--si-form-memory-clauses- SI Form memory clauseshelp
--si-i1-copies- SI Lower i1 Copieshelp
--si-insert-hard-clauses- SI Insert Hard Clauseshelp
--si-insert-waitcnts- SI Insert Waitcntshelp
--si-late-branch-lowering- SI insert s_cbranch_execz instructionshelp
--si-load-store-opt- SI Load Store Optimizerhelp
--si-lower-control-flow- SI lower control flowhelp
--si-lower-sgpr-spills- SI lower SGPR spill instructionshelp
--si-memory-legalizer- SI Memory Legalizerhelp
--si-mode-register- Insert required mode register valueshelp
--si-opt-vgpr-liverange- SI Optimize VGPR LiveRangehelp
--si-optimize-exec-masking- SI optimize exec mask operationshelp
--si-optimize-exec-masking-pre-ra- SI optimize exec mask operations pre-RAhelp

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