LLI(1)

πŸ’… LLI β€” manual page for lli 14 πŸ’…

okay bestie, sit down, hydrate, because this is lli(1) from the User Commands section of the manual and she is LONG. Like, four-parts long. This is part one. We're doing this together, no skimming, no skipping, every single flag is getting its moment. 🫢


✨ NAME ✨

lli β€” manual page for lli 14


πŸ¦‹ DESCRIPTION πŸ¦‹

OVERVIEW: llvm interpreter & dynamic compiler

USAGE:

lli [options] <input bitcode> <program arguments>...

OPTIONS:


πŸŽ€ Color Options πŸŽ€

  • --color β€” Use colors in output (default=autodetect). yes she will make it pretty, and yes she figures out whether your terminal can handle it all by herself ✨

πŸ‘‘ General options πŸ‘‘

Okay this is the big one. Every single flag. Buckle up, bestie. πŸ’–

  • -O=<char> β€” Optimization level. [-O0, -O1, -O2, or -O3] (default = '-O2')
  • --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. (a hack, she said it herself, we respect the honesty)
  • --amdgpu-bypass-slow-div β€” Skip 64-bit divide for dynamic 32-bit values
  • --amdgpu-disable-loop-alignment β€” Do not align and prefetch loops
  • --amdgpu-disable-power-sched β€” Disable scheduling to minimize mAI power bursts
  • --amdgpu-dpp-combine β€” Enable DPP combiner
  • --amdgpu-dump-hsa-metadata β€” Dump AMDGPU HSA Metadata
  • --amdgpu-enable-flat-scratch β€” Use flat scratch instructions
  • --amdgpu-enable-merge-m0 β€” Merge and hoist M0 initializations
  • --amdgpu-promote-alloca-to-vector-limit=<uint> β€” Maximum byte size to consider promote alloca to vector
  • --amdgpu-sdwa-peephole β€” Enable SDWA peepholer
  • --amdgpu-use-aa-in-codegen β€” Enable the use of AA during codegen.
  • --amdgpu-verify-hsa-metadata β€” Verify AMDGPU HSA Metadata
  • --amdgpu-vgpr-index-mode β€” Use GPR indexing mode instead of movrel for vector indexing
  • --arm-add-build-attributes β€” (no description given, she's simply there, mysterious queen energy πŸ’…)
  • --arm-implicit-it=<value> β€” Allow conditional instructions outdside of an IT block (yes, "outdside", we keep the typo, we do not touch the artifacts)
    • =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 β€” (description not included in the original, so no guessing from me, bestie)
  • --cfg-hide-unreachable-paths β€” (also mysterious, also iconic)
  • --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
  • --compile-threads=<uint> β€” Choose the number of compile threads (jit-kind=orc-lazy only)
  • --cost-kind=<value> β€” Target cost kind
    • =throughput β€” Reciprocal throughput
    • =latency β€” Instruction latency
    • =code-size β€” Code size
    • =size-latency β€” Code size and latency
  • --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-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-i2p-p2i-opt β€” Disables inttoptr/ptrtoint roundtrip optimization
  • --disable-lazy-compilation β€” Disable JIT lazy compilation
  • --disable-promote-alloca-to-lds β€” Disable promote alloca to LDS
  • --disable-promote-alloca-to-vector β€” Disable promote alloca to vector
  • --disable-tail-calls β€” Never emit tail calls
  • --dlopen=<string> β€” Dynamic libraries to load before linking
  • --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.
  • --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-cache-manager β€” Use cache manager to save/load modules
  • --enable-cse-in-irtranslator β€” Should enable CSE in irtranslator
  • --enable-cse-in-legalizer β€” Should enable CSE in Legalizer
  • --enable-emscripten-cxx-exceptions β€” WebAssembly Emscripten-style exception handling
  • --enable-emscripten-sjlj β€” WebAssembly Emscripten-style setjmp/longjmp handling
  • --enable-gvn-hoist β€” Enable the GVN hoisting pass (default = off)
  • --enable-gvn-memdep β€” (no description, just vibes πŸ¦‹)
  • --enable-gvn-sink β€” Enable the GVN sinking pass (default = off)
  • --enable-load-in-loop-pre β€” (no description given)
  • --enable-load-pre β€” (no description given)
  • --enable-loop-simplifycfg-term-folding β€” (no description given)
  • --enable-name-compression β€” Enable name/filename string compression
  • --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 β€” (no description given)
  • --enable-unsafe-fp-math β€” Enable optimizations that may decrease FP precision
  • --entry-function=<function> β€” Specify the entry function (default = 'main') of the executable
  • --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

and that's the end of part one, bestie!! do NOT close the tab, there's more, we're so not done πŸ’œ

  • =wineh β€” the Windows exception model πŸͺŸ
    • =wasm β€” WebAssembly exception handling πŸ•ΈοΈ

  • --experimental-debug-variable-locations β€” use the shiny new experimental value-tracking variable locations. it's giving beta energy, bestie πŸ™ˆ
  • --extra-archive=<input archive> β€” extra archive files to be loaded
  • --extra-module=<input bitcode> β€” extra modules to be loaded
  • --extra-object=<input object> β€” extra object files to be loaded
  • --fake-argv0=<executable> β€” override the 'argv[0]' value that gets passed into the executing program. catfishing the process, fr fr 🎭
  • --fatal-warnings β€” treat warnings as errors. no chill mode activated πŸ’€
  • --filetype=<value> β€” choose a file type (not all types are supported by all targets, so check before you commit πŸ’…):
    • =asm β€” emit an assembly ('.s') file
    • =obj β€” emit a native object ('.o') file
    • =null β€” emit nothing, purely for performance testing. the void. the emptiness. iconic ✨
  • --float-abi=<value> β€” choose your 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. every single time. no skipping 🌸
  • --force-interpreter β€” force interpretation: disable JIT 🚫
  • --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 the debug message if the source branch weight is greater than this value.
  • --fs-profile-debug-prob-diff-threshold=<uint> β€” only show the debug message if the branch probility is greater than this value (in percentage). (yes, "probility", we're quoting the original, no cap) 😭
  • --function-sections β€” emit functions into separate sections
  • --generate-merged-base-profiles β€” when generating nested context-sensitive profiles, always generate an extra base profile for a 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 the counter variable of a comdat function based on cfg hash
  • --hot-cold-split β€” enable the hot-cold splitting pass πŸ”₯🧊
  • --ignore-xcoff-visibility β€” don't emit the visibility attribute for asm in AIX OS, or give all symbols 'unspecified' visibility in the 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 of phis to handle in intptr/ptrint folding
  • --instcombine-maxarray-size=<uint> β€” maximum array size considered when doing a combine
  • --instcombine-negator-enabled β€” should we attempt to sink negations?
  • --instcombine-negator-max-depth=<uint> β€” what is the maximal lookup depth when trying to check for viability of negation sinking.
  • --instrprof-atomic-counter-update-all β€” make all profile counter updates atomic (for testing only) βš›οΈ
  • --internalize-public-api-file=<filename> β€” a file containing a 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.
  • --jd=<string> β€” specifies the JITDylib to be used for any subsequent -extra-module arguments.
  • --jit-kind=<value> β€” choose the underlying JIT kind.
    • =mcjit β€” MCJIT
    • =orc β€” Orc JIT
    • =orc-lazy β€” Orc-based lazy JIT. πŸ’€
  • --jit-linker=<value> β€” choose the dynamic linker/loader.
    • =default β€” default for platform and JIT-kind
    • =rtdyld β€” RuntimeDyld
    • =jitlink β€” Orc-specific linker
  • --load=<pluginfilename> β€” load the specified plugin πŸ”Œ
  • --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 of counter promotions per loop, so we don't increase register pressure too much
  • --mc-relax-all β€” when used with filetype=obj, relax all fixups in the emitted object file
  • --mcabac β€” tbd. that's it. that's the whole description. mysterious queen behavior πŸ‘‘
  • --mcjit-remote-process=<filename> β€” specify the filename of the process to launch for remote MCJIT execution. if none is specified, remote execution will be simulated in-process.
  • --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 (again with the spelling, we're keeping it exactly as written bestie) πŸ™ˆ
  • --mhvx β€” enable Hexagon Vector eXtensions
  • --mhvx=<value> β€” enable Hexagon Vector eXtensions
    • =v60 β€” build for HVX v60
    • =v62 β€” build for HVX v62
    • =v65 β€” build for HVX v65
    • =v66 β€” build for HVX v66
    • =v67 β€” build for HVX v67
    • =v68 β€” build for HVX v68
    • =v69 β€” build for HVX v69
  • --mips-compact-branches=<value> β€” MIPS Specific: Compact branch policy.
    • =never β€” do not use compact branches if possible.
    • =optimal β€” use compact branches where appropriate (default).
    • =always β€” always use compact branches if possible.
  • --mips16-constant-islands β€” enable mips16 constant islands.
  • --mips16-hard-float β€” enable mips16 hard float.
  • --mir-strip-debugify-only β€” should mir-strip-debug only strip debug info from debugified modules by default
  • --mno-compound β€” disable looking for compound instructions for Hexagon
  • --mno-fixup β€” disable fixing up resolved relocations for Hexagon
  • --mno-ldc1-sdc1 β€” expand double precision loads and stores to their single precision counterparts
  • --mno-pairing β€” disable looking for duplex instructions for Hexagon
  • --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 β€” bestie, this one warns for mismatching a signed and unsigned value. it's giving β€œtype safety said no” πŸ’…
  • --no-deprecated-warn β€” Suppress all deprecated warnings. the deprecated stuff can still exist, it just stops yelling at you about it. lowkey peaceful 🫢
  • --no-discriminators β€” Disable generation of discriminator information. bye bye discriminators, not today πŸ’€
  • --no-process-syms β€” Do not resolve lli process symbols in JIT'd code. no cap ✨
  • --no-type-check β€” Suppress type errors (Wasm). only Wasm, iykyk 🌸
  • --no-warn β€” Suppress all warnings. silence is golden, periodt πŸ‘‘
  • --no-xray-index β€” Don't emit xray_fn_idx section. that section? not invited πŸ’…
  • --nozero-initialized-in-bss β€” Don't place zero-initialized symbols into bss section. they're not moving into bss today πŸ™ˆ
  • --nvptx-sched4reg β€” NVPTX Specific: schedule for register pressue. (yes, β€œpressue” is literally how it's spelled in the original, I'm not fixing it πŸ’€) NVPTX only, bestie.
  • --object-cache-dir=<string> β€” Directory to store cached object files (must be user writable). so like, make sure you can write there or it's gonna be a whole thing 😭
  • --opaque-pointers β€” Use opaque pointers. slay ✨
  • --per-module-lazy β€” Performs lazy compilation on whole module boundaries rather than individual functions. it's giving big-picture lazy, not tiny-function lazy πŸ¦‹
  • --poison-checking-function-local β€” Check that returns are non-poison (for testing). for testing only, bestie 🧚
  • --print-pipeline-passes β€” Print a '-passes' compatible string describing the pipeline (best-effort only). best-effort only, so don't come for it if it's not perfect πŸ’–
  • --r600-ir-structurize β€” Use StructurizeCFG IR pass. R600 said structure, periodt 🌈
  • --rdf-dump β€” no description in the original, just an empty lil space. mysterious main character energy πŸ’€
  • --rdf-limit=<uint> β€” also no description, so... vibes only. it takes a <uint> though ✨
  • --relax-elf-relocations β€” Emit GOTPCRELX/REX_GOTPCRELX instead of GOTPCREL on x86-64 ELF. x86-64 ELF specific, no cap πŸ”₯
  • --relocation-model=<value> β€” Choose relocation model. the options are giving choose-your-own-adventure:
    • =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
  • --remote-mcjit β€” Execute MCJIT'ed code in a separate process. separate process, separate vibes πŸ’…
  • --runtime-counter-relocation β€” Enable relocating counters at runtime. runtime relocation, slay ✨
  • --safepoint-ir-verifier-print-only β€” no description again, just the option name and a dream ✨
  • --sample-profile-check-record-coverage=<N> β€” Emit a warning if less than N% of records in the input profile are matched to the IR. so if coverage is low, it's gonna tattle πŸ‘€
  • --sample-profile-check-sample-coverage=<N> β€” Emit a warning if less than N% of samples in the input profile are matched to the IR. same energy but for samples πŸ’–
  • --sample-profile-max-propagate-iterations=<uint> β€” Maximum number of iterations to go through when propagating sample block/edge weights through the CFG. it's giving max effort πŸ”₯
  • --skip-ret-exit-block β€” Suppress counter promotion if exit blocks contain ret. if there's a ret, promotion is not happening πŸ™…β€β™€οΈ
  • --soft-float β€” Generate software floating point library calls. software float, iconic 🌸
  • --speculative-counter-promotion-max-exiting=<uint> β€” The max number of exiting blocks of a loop to allow speculative counter promotion. so like, how many exits before we stop being speculative? πŸ€”
  • --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. read that twice, bestie, it's a whole sentence 😭
  • --split-machine-functions β€” Split out cold basic blocks from machine functions based on profile information. cold blocks get their own lil section, periodt 🧊
  • --stack-size-section β€” Emit a section containing stack size metadata. stack size metadata said hello πŸ‘‹
  • --stack-symbol-ordering β€” Order local stack symbols. alphabetical? no, just ordered. don't ask me, I just write the vibe πŸ’…
  • --stackrealign β€” Force align the stack to the minimum alignment. alignment forced, no negotiation πŸ’€
  • --strict-dwarf β€” use strict dwarf. lowercase β€œuse” and all, iconic ✨
  • --summary-file=<string> β€” The summary file to use for function importing. it's the file that says who gets imported πŸŽ€
  • --swift-async-fp=<value> β€” Determine when the Swift async frame pointer should be set. choose your fighter:
    • =auto β€” Determine based on deployment target
    • =always β€” Always set the bit
    • =never β€” Never set the bit
  • --tail-predication=<value> β€” MVE tail-predication pass options. the menu is:
    • =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
the force ones might be unsafe, so be careful bestie ⚠️
  • --tailcallopt β€” Turn fastcc calls into tail calls by (potentially) changing ABI. ABI might change, so heads up 🫢
  • --thinlto-assume-merged β€” Assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes. it's assuming, okay? πŸ™ˆ
  • --thread-entry=<string> β€” calls the given entry-point on a new thread (jit-kind=orc-lazy only). only for jit-kind=orc-lazy, iykyk 🧡
  • --thread-model=<value> β€” Choose threading model. pick your thread vibe:
    • =posix β€” POSIX thread model
    • =single β€” Single thread model
  • --threads=<int> β€” no description, just a number of threads and a dream πŸ’€
  • --tls-size=<uint> β€” Bit size of immediate TLS offsets. TLS offsets said bit size ✨
  • --unique-basic-block-section-names β€” Give unique names to every basic block section. uniqueness slay πŸ’…
  • --unique-section-names β€” Give unique names to every section. every section gets a unique name, no duplicates πŸ‘‘
  • --use-ctors β€” Use .ctors instead of .init_array. old school? maybe. iconic? yes 🌈
  • --vec-extabi β€” Enable the AIX Extended Altivec ABI. AIX extended altivec ABI, periodt πŸ’–
  • --verify-region-info β€” Verify region info (time consuming). time consuming, so maybe grab a snack πŸ“
  • --vp-counters-per-site=<number> β€” The average number of profile counters allocated per value profiling site. average, bestie ✨
  • --vp-static-alloc β€” Do static counter allocation for value profiler. static allocation, no cap πŸ’…
  • --wasm-enable-eh β€” WebAssembly exception handling. Wasm EH said hi πŸ‘‹
  • --wasm-enable-sjlj β€” WebAssembly setjmp/longjmp handling. setjmp/longjmp but make it Wasm πŸ¦‹
  • --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. so default 0 = no alignment, and if you set it, power of 2, at least 32. got it πŸ”₯
  • --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. ⚠️ caution bestie, it can break label assumptions.
  • --x86-pad-max-prefix-size=<uint> β€” Maximum number of prefixes to use for padding. max prefixes, periodt πŸ’…
  • --xcoff-traceback-table β€” Emit the XCOFF traceback table. XCOFF traceback table said hello πŸ‘‘

🌈 Generic Options 🌈

  • --help β€” Display available options (--help-hidden for more). so meta, bestie ✨
  • --help-list β€” Display list of available options (--help-list-hidden for more). list girlies rise πŸ’–
  • --version β€” Display the version of this program. version check, slay πŸ‘‘

πŸ¦‹ Polly Options: Configure the polly loop optimizer πŸ¦‹

  • --polly β€” Enable the polly optimizer (with -O1, -O2 or -O3). only with those optimization levels, iykyk πŸ”₯
  • --polly-2nd-level-tiling β€” Enable a 2nd level loop of loop tiling. second level tiling, obsessed πŸ’…
  • --polly-ast-print-accesses β€” Print memory access functions. memory access functions said print me πŸŽ€
  • --polly-context=<isl parameter set> β€” Provide additional constraints on the context parameters. context constraints, periodt ✨
  • --polly-dce-precise-steps=<int> β€” The number of precise steps between two approximating iterations. (A value of -1 schedules another approximation stage before the actual dead code elimination. (yes, the paren is open, iconic πŸ’€)
  • --polly-delicm-max-ops=<int> β€” Maximum number of isl operations to invest for lifetime analysis; 0=no limit. zero means no limit, so go off 🫢
  • --polly-detect-full-functions β€” Allow the detection of full functions. full functions detected, slay 🌈
  • --polly-dump-after β€” drops a dump of the module after Polly has done its thing ✨ into a file whose name gets the suffix "-after" glued on the end πŸ’…
  • --polly-dump-after-file=<string> β€” same energy as above, but you pick the file, bestie β€” dump the post-Polly module straight into the <string> path you hand it πŸŽ€
  • --polly-dump-before β€” dump the module before Polly touches anything, and it lands in a file suffixed with "-before" 🌸
  • --polly-dump-before-file=<string> β€” pre-Polly module, your choice of destination β€” write it to <string> πŸ¦‹
  • --polly-enable-simplify β€” simplifies the SCoP after optimizations have run πŸ’–
  • --polly-ignore-func=<string> β€” skips any function matching a regex. You can pass multiple regexes separated by commas. Scop detection will ignore every function that matches ANY of the regexes you gave it πŸ™ˆ
  • --polly-isl-arg=<argument> β€” an option handed straight through to ISL
  • --polly-on-isl-error-abort β€” the moment an isl error shows up, we abort. no chill, no recovery πŸ’€
  • --polly-only-func=<string> β€” only run on functions matching a regex. Multiple regexes = comma separated. Scop detection will run on all functions that match ANY of the provided regexes ⭐
  • --polly-only-region=<identifier> β€” only run on certain regions. (The provided identifier must appear in the name of the region's entry block πŸ‘‘
  • --polly-only-scop-detection β€” scop detection only, bestie β€” no other optimizations ride along 🧚
  • --polly-optimized-scops β€” Polly: dumps the polyhedral description of Scops optimized with the isl scheduling optimizer, and the set of post-scheduling transformations is applied on the schedule tree 🌈
  • --polly-parallel β€” generates thread parallel code (isl codegen only) πŸ”₯
  • --polly-parallel-force β€” forces generation of thread parallel code and ignores any cost model while doing it πŸ’…
  • --polly-pattern-matching-based-opts β€” optimizations based on pattern matching ✨
  • --polly-postopts β€” applies post-rescheduling optimizations like tiling. Heads up: this one requires -polly-reschedule ⚠️
  • --polly-pragma-based-opts β€” applies user-directed transformation from metadata πŸŽ€
  • --polly-pragma-ignore-depcheck β€” skips the dependency check for pragma-based transformations 😳
  • --polly-process-unprofitable β€” processes scops that are unlikely to benefit from Polly optimizations. Chaotic? maybe. Iconic? absolutely πŸ‘‘
  • --polly-register-tiling β€” enables register tiling πŸ“
  • --polly-report β€” prints info about what Polly's been up to, like a little gossip session πŸ’–
  • --polly-reschedule β€” optimizes SCoPs using ISL 🌟
  • --polly-show β€” highlights the code regions that will be optimized in a (CFG BBs and LLVM-IR instructions) πŸ¦‹
  • --polly-show-only β€” highlights the code regions that will be optimized in a (CFG only BBs) 🌸
  • --polly-stmt-granularity=<value> β€” the algorithm used for splitting basic blocks into multiple statements. Pick your fighter:
    • =bb β€” one statement per basic block
    • =scalar-indep β€” scalar independence heuristic
    • =store β€” store-level granularity
  • --polly-target=<value> β€” the hardware to target:
    • =cpu β€” generate CPU code
  • --polly-tiling β€” enables loop tiling 🧩
  • --polly-vectorizer=<value> β€” picks the vectorization strategy:
    • =none β€” No Vectorization
    • =polly β€” Polly internal vectorizer
    • =stripmine β€” strip-mine outer loops for the loop-vectorizer to trigger

and that's the whole Polly buffet, bestie 🫢 go forth and optimize, you absolute legend.

this page is lli version 14, dated May 2025 β€” so if you're reading this, shoutout to the version, shoutout to the date, they ate πŸ’…βœ¨

πŸ“¦ where this page comes from