MODULARIZE(1)

πŸ“¦
version 22.1.8 Β· 3 versions
, in ubuntu stonking

🌈 NAME 🌈

modularize β€” manual page for modularize 22. Like, that's the whole name section, bestie. πŸ’–

✨ DESCRIPTION ✨

OVERVIEW: modularize.

okay so, OVERVIEW: modularize. That's literally it. That's the overview. Periodt. πŸ’…

USAGE: modularize [options] <list of one or more header list files> <arguments to be passed to front end>...

modularize [options] <list of one or more header list files> <arguments to be passed to front end>...

So you slap your options on first, then one or more header list files (a list of lists? iconic), then all the args that get passed straight to the front end. FR FR. πŸ¦‹

OPTIONS:

Color Options:

  • --color β€” Use colors in output (default=autodetect). Bestie, this makes everything pretty. 🌈

General options:

  • -I <path> β€” Include path for coverage check. πŸ‘‘
  • --aarch64-neon-syntax=<value> β€” Choose style of NEON code to emit from AArch64 backend:
    • =generic β€” Emit generic NEON assembly
    • =apple β€” Emit Apple-style NEON assembly
  • --aarch64-use-aa β€” Enable the use of AA during codegen.
  • --abort-on-max-devirt-iterations-reached β€” Abort when the max iterations for devirtualization CGSCC repeat pass is reached. 😀
  • --allow-ginsert-as-artifact β€” Allow G_INSERT to be considered an artifact. Hack around AMDGPU test infinite loops.
  • --amdgpu-atomic-optimizer-strategy=<value> β€” Select DPP or Iterative strategy for scan:
    • =DPP β€” Use DPP operations for scan
    • =Iterative β€” Use Iterative approach for scan
    • =None β€” Disable atomic optimizer
  • --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-indirect-call-specialization-threshold=<uint> β€” A threshold controls whether an indirect call will be specialized.
  • --amdgpu-kernarg-preload β€” Enable preload kernel arguments to SGPRs.
  • --amdgpu-kernarg-preload-count=<uint> β€” How many kernel arguments to preload onto SGPRs.
  • --amdgpu-module-splitting-max-depth=<uint> β€” maximum search depth. 0 forces a greedy approach. warning: the algorithm is up to O(2^N), where N is the max depth. ⚠️
  • --amdgpu-promote-alloca-to-vector-limit=<uint> β€” Maximum byte size to consider promote alloca to vector.
  • --amdgpu-promote-alloca-to-vector-max-regs=<uint> β€” Maximum vector size (in 32b registers) to use when promoting alloca.
  • --amdgpu-promote-alloca-to-vector-vgpr-ratio=<uint> β€” Ratio of VGPRs to budget for promoting alloca to vectors.
  • --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.
  • --arc-contract-use-objc-claim-rv β€” Enable generation of calls to objc_claimAutoreleasedReturnValue.
  • --argext-abi-check β€” Verify that narrow int args are properly extended per the SystemZ ABI.
  • --arm-add-build-attributes β€” (no description in the original)
  • --arm-implicit-it=<value> β€” Allow conditional instructions outside 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-section-match-infer β€” Enable matching and inference when generating basic block sections.
  • --block-check-header-list-only β€” Only warn if #include directives are inside extern or namespace blocks if the included header is in the header list.
  • --bounds-checking-single-trap β€” Use one trap block per function.
  • --bpf-stack-size=<int> β€” Specify the BPF stack size limit.
  • --cfg-hide-cold-paths=<number> β€” Hide blocks with relative frequency below the given value.
  • --cfg-hide-deoptimize-paths β€” (no description in the original)
  • --cfg-hide-unreachable-paths β€” (no description in the original)
  • --check-functions-filter=<regex> β€” Only emit checks for arguments of functions whose names match the given regular expression.
  • --conditional-counter-update β€” Do conditional counter updates in single byte counters mode)
  • --cost-kind=<value> β€” Target cost kind:
    • =throughput β€” Reciprocal throughput
    • =latency β€” Instruction latency
    • =code-size β€” Code size
    • =size-latency β€” Code size and latency
    • =all β€” Print all cost kinds
  • --coverage-check-only β€” Only do the coverage check.
  • --crel β€” Use CREL relocation format for ELF.
  • --cs-profile-generate β€” Perform context sensitive PGO instrumentation.
  • --cs-profile-path=<string> β€” Context sensitive profile file path.
  • --ctx-prof-include-empty β€” Also write profiles with all-zero counters. Intended for testing/debugging.
  • --ctx-profile-force-is-specialized β€” Treat the given module as-if it were containing the post-thinlink module containing the root.
  • --debugify-atoms β€” (no description in the original)
  • --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.
  • --devirtualize-speculatively β€” Enable speculative devirtualization optimization.
  • --disable-auto-upgrade-debug-info β€” Disable autoupgrade of debug info.
  • --disable-i2p-p2i-opt β€” Disables inttoptr/ptrtoint roundtrip optimization.
  • --disable-promote-alloca-to-lds β€” Disable promote alloca to LDS.
  • --disable-promote-alloca-to-vector β€” Disable promote alloca to vector.
  • --disable-qfp-opt β€” Disable optimization of Qfloat operations.
  • --disable-qfp-opt-mul β€” Disable optimization of Qfloat operations for multiply.
  • --display-file-lists β€” Display lists of good files (no compile errors), problem files, and a combined list with problem files preceded by a '#'.
  • --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.
  • --elide-all-zero-branch-weights β€” (no description in the original)
  • --emit-bb-hash β€” Emit the hash of basic block in the SHT_LLVM_BB_ADDR_MAP section.
  • --emit-compact-unwind-non-canonical β€” Whether to try to emit Compact Unwind for non canonical entries.
  • --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
  • --emit-gnuas-syntax-on-zos β€” Emit GNU Assembly Syntax on z/OS.
  • --emscripten-cxx-exceptions-allowed=<string> β€” The list of function names in which Emscripten-style exception handling is enabled (see emscripten EMSCRIPTEN_CATCHING_ALLOWED options).
  • --enable-cse-in-irtranslator β€” Should enable CSE in irtranslator.
  • --enable-cse-in-legalizer β€” Should enable CSE in Legalizer.
  • --enable-devirtualize-speculatively β€” Enable speculative devirtualization optimization.
  • --enable-emscripten-cxx-exceptions β€” WebAssembly Emscripten-style exception handling.
  • --enable-emscripten-sjlj β€” WebAssembly Emscripten-style setjmp/longjmp handling
  • --enable-gvn-hoist β€” turn on the GVN hoisting pass (default = off)
  • --enable-gvn-memdep β€” no description on this one bestie, it's just vibing in the list
  • --enable-gvn-memoryssa β€” also out here with zero blurb
  • --enable-gvn-sink β€” turn on the GVN sinking pass (default = off)
  • --enable-jump-table-to-switch β€” turn on the JumpTableToSwitch pass (default = off)
  • --enable-load-in-loop-pre β€” mystery entry, no description provided
  • --enable-load-pre β€” same deal, no description πŸ’€
  • --enable-loop-simplifycfg-term-folding β€” no description given
  • --enable-name-compression β€” turn on name/filename string compression
  • --enable-poison-reuse-guard β€” turn on the poison-reuse guard
  • --enable-split-backedge-in-load-pre β€” no description, we move
  • --enable-split-loopiv-heuristic β€” turn on the loop iv regalloc heuristic
  • --enable-vtable-profile-use β€” if ThinLTO and WPD are enabled and this option is true, vtable profiles will be used by the ICP pass for a more efficient indirect call sequence. If false, type profiles won't be used.
  • --enable-vtable-value-profiling β€” if true, the virtual table address will be instrumented to know the types of a C++ pointer. That info gets used in indirect call promotion to do selective vtable-based comparison.
  • --execute-concurrency=<uint> β€” the number of threads used to process all files in parallel. Set it to 0 for hardware concurrency. Heads up: this flag only applies to all-TUs.
  • --executor=<string> β€” the name of the executor to use.
  • --expand-variadics-override=<value> β€” override the behaviour of expand-variadics
    • =unspecified β€” use the implementation defaults
    • =disable β€” disable the pass entirely
    • =optimize β€” optimise without changing ABI
    • =lowering β€” change variadic calling convention
  • --experimental-debug-variable-locations β€” use experimental new value-tracking variable locations
  • --fatal-warnings β€” treat warnings as errors πŸ’€
  • --fdpic β€” use the FDPIC ABI
  • --filter=<string> β€” only process files that match this filter. This flag only applies to all-TUs.
  • --force-tail-folding-style=<value> β€” force the tail folding style
    • =none β€” disable tail folding
    • =data β€” create lane mask for data only, using active.lane.mask intrinsic
    • =data-without-lane-mask β€” create lane mask with compare/stepvector
    • =data-and-control β€” create lane mask using active.lane.mask intrinsic, and use it for both data and control flow
    • =data-and-control-without-rt-check β€” similar to data-and-control, but remove the runtime check
    • =data-with-evl β€” use predicated EVL instructions for tail folding. If EVL is unsupported, fallback to data-without-lane-mask.
  • --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 probability is greater than this value (in percentage).
  • --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.
  • --gsframe β€” whether to emit .sframe unwind sections.
  • --hash-based-counter-split β€” rename counter variable of a comdat function based on cfg hash
  • --hexagon-add-build-attributes β€” no description, she's mysterious ✨
  • --hexagon-rdf-limit=<uint> β€” also no description, we simply do not know
  • --hot-cold-split β€” turn on the hot-cold splitting pass
  • --hwasan-percentile-cutoff-hot=<int> β€” Hot percentile cutoff.
  • --hwasan-random-rate=<number> β€” probability value in the range [0.0, 1.0] to keep instrumentation of a function. Note: instrumentation can be skipped randomly OR because of the hot percentile cutoff, if both are supplied.
  • --implicit-mapsyms β€” allow mapping symbol at section beginning to be implicit, lowering the number of mapping symbols at the expense of some portability. Recommended for projects that can build all their object files using this option
  • --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 β€” turn on code sinking
  • --instcombine-guard-widening-window=<uint> β€” how wide an instruction window to bypass looking for another guard
  • --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
  • --intrinsic-cost-strategy=<value> β€” costing strategy for intrinsic instructions
    • =instruction-cost β€” use TargetTransformInfo::getInstructionCost
    • =intrinsic-cost β€” use TargetTransformInfo::getIntrinsicInstrCost
    • =type-based-intrinsic-cost β€” calculate the intrinsic cost based only on argument types
  • --iterative-counter-promotion β€” allow counter promotion across the whole loop nest.
  • --loongarch-use-aa β€” turn on the use of AA during codegen.
  • --lower-allow-check-percentile-cutoff-hot=<int> β€” Hot percentile cutoff.
  • --lower-allow-check-random-rate=<number> β€” probability value in the range [0.0, 1.0] of unconditional pseudo-random checks.
  • --lto-aix-system-assembler=<path> β€” path to a system assembler, picked up on AIX only
  • --lto-embed-bitcode=<value> β€” embed LLVM bitcode in object files produced by LTO
    • =none β€” do not embed
    • =optimized β€” embed after all optimization passes
    • =post-merge-pre-opt β€” embed post merge, but before optimizations
  • --lto-pass-remarks-filter=<regex> β€” only record optimization remarks from passes whose names match the given regular expression
  • --lto-pass-remarks-format=<format> β€” the format used for serializing remarks (default: YAML)
  • --lto-pass-remarks-output=<filename> β€” output filename for pass remarks
  • --matrix-default-layout=<value> β€” sets the default matrix layout
    • =column-major β€” use column-major layout
    • =row-major β€” use row-major layout
  • --matrix-print-after-transpose-opt β€” no description, just here existing 🌸
  • --max-counter-promotions=<int> β€” max number of allowed counter promotions
  • --max-counter-promotions-per-loop=<uint> β€” max number counter promotions per loop, so you 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 πŸ™ˆ
  • --merror-missing-parenthesis β€” error for missing parenthesis around predicate registers
  • --merror-noncontigious-register β€” error for register names that aren't contigious
  • --mhvx β€” turn on Hexagon Vector eXtensions
  • --mhvx=<value> β€” turn on 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
    • =v71 β€” build for HVX v71
    • =v73 β€” build for HVX v73
  • =v75 β€” Build for HVX v75 ✨
  • =v79 β€” Build for HVX v79 ✨
  • =v81 β€” Build for HVX v81 ✨

  • --mips-compact-branches=<value> β€” MIPS specific: the compact branch policy, bestie. Pick one of these:
    • =never β€” Do not use compact branches if possible.
    • =optimal β€” Use compact branches where appropriate β€” this one's the default, it's giving sensible πŸ’…
    • =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 emitting diagnostics when profile counts are within N% of the threshold.. (yes, two dots, that's literally how it's written, no cap)
  • --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-map-path=<string> β€” Turn on module map output and specify the output path or file name. If no path is specified, and if the prefix option is specified, then it uses the prefix for the file path πŸ“
  • --ms-secure-hotpatch-functions-file=<filename> β€” A file containing a list of mangled function names to mark for Windows Secure Hot-Patching 🩹
  • --ms-secure-hotpatch-functions-list=<list> β€” A list of mangled function names to mark for Windows Secure Hot-Patching 🩹
  • --mwarn-missing-parenthesis β€” Warn for a missing parenthesis around predicate registers.
  • --mwarn-noncontigious-register β€” Warn for register names that aren't contigious (we're keeping their spelling, don't come for me)
  • --mwarn-sign-mismatch β€” Warn for mismatching a signed and unsigned value.
  • --no-coverage-check β€” Don't do the coverage check. 🚫
  • --no-deprecated-warn β€” Suppress all deprecated warnings.
  • --no-discriminators β€” Disable generation of discriminator information.
  • --no-type-check β€” Suppress type errors (Wasm).
  • --no-warn β€” Suppress all warnings 🀫
  • --nvptx-approx-log2f32 β€” NVPTX specific: whether to use lg2.approx for log2.
  • --nvptx-sched4reg β€” NVPTX specific: schedule for register pressue (their typo, keeping it, it's iconic at this point)
  • --object-size-offset-visitor-max-visit-instructions=<uint> β€” Maximum number of instructions for ObjectSizeOffsetVisitor to look at.
  • --pgo-block-coverage β€” Use this option to enable basic block coverage instrumentation πŸ“Š
  • --pgo-temporal-instrumentation β€” Use this option to enable temporal instrumentation ⏱️
  • --pgo-view-block-coverage-graph β€” Create a dot file of CFGs with block coverage inference information πŸ•ΈοΈ
  • --prefix=<string> β€” Prepend header file paths with this prefix. If it's not specified, the files are considered to be relative to the header list file.
  • --print-pipeline-passes β€” Print a '-passes' compatible string describing the pipeline (best-effort only, so don't come at it if it's not perfect πŸ™ˆ).
  • --problem-files-list=<string> β€” List of files with compilation or modularization problems for assistant mode. This will be excluded.
  • --profcheck-annotate-select β€” Also inject (if missing) and verify MD_prof for select instructions.
  • --profcheck-default-function-entry-count=<long> β€” (no description given in the original, just vibes and a <long>)
  • --profcheck-default-select-false-weight=<uint> β€” When annotating select instructions, this value will be used for the second ('false') case.
  • --profcheck-default-select-true-weight=<uint> β€” When annotating select instructions, this value will be used for the first ('true') case.
  • --profcheck-weights-for-test β€” Generate weights with small values for tests πŸ§ͺ
  • --profile-correlate=<value> β€” Use debug info or a binary file to correlate profiles. Options are:
    • =<empty> β€” No profile correlation.
    • =debug-info β€” Use debug info to correlate.
    • =binary β€” Use binary to correlate.
  • --promote-alloca-vector-loop-user-weight=<uint> β€” The bonus weight of users of allocas within a loop when sorting profitable allocas.
  • --propeller-infer-threshold=<number> β€” Threshold for inferring a stale profile.
  • --r600-ir-structurize β€” Use the StructurizeCFG IR pass πŸ—οΈ
  • --riscv-add-build-attributes β€” (no description in the original β€” it's just out here existing, main character energy with zero explanation ✨)
  • --riscv-use-aa β€” Enable the use of AA during codegen.
  • --root-module=<string> β€” Specify the name of the root module 🌱
  • --runtime-counter-relocation β€” Enable relocating counters at runtime.
  • --safepoint-ir-verifier-print-only β€” (also no description, bestie. It just is. πŸ’€)
  • --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.
  • --sampled-instr-burst-duration=<uint> β€” Set the profile instrumentation burst duration, which can range from 1 to the value of 'sampled-instr-period' (0 is invalid πŸ™…). This number of samples will be recorded for each 'sampled-instr-period' count update. Setting it to 1 enables simple sampling, in which case it is recommended to set 'sampled-instr-period' to a prime number.
  • --sampled-instr-period=<uint> β€” Set the profile instrumentation sample period. A sample period of 0 is invalid. For each sample period, a fixed number of consecutive samples will be recorded. That number is controlled by the 'sampled-instr-burst-duration' flag. The default sample period of 65536 is optimized for generating efficient code that leverages unsigned short integer wrapping in overflow, but this is disabled under simple sampling (burst duration = 1).
  • --sampled-instrumentation β€” Do PGO instrumentation sampling.
  • --sanitizer-early-opt-ep β€” Insert sanitizers on OptimizerEarlyEP.
  • --save-temp-labels β€” Don't discard temporary labels.
  • --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.
  • --spirv-emit-op-names β€” Emit OpName for all instructions.
  • --spirv-ext=<value> β€” Specify the list of enabled SPIR-V extensions.
  • --spv-allow-unknown-intrinsics[=<intrinsic_prefix_0,intrinsic_prefix_1>] β€” Emit unknown intrinsics as calls to external functions. A comma-separated input list of intrinsic prefixes must be provided, and only intrinsics carrying a listed prefix get emitted as described. (note the optional-ish bracket situation, it's a whole vibe)
  • --spv-dump-deps β€” Dump MIR with SPIR-V dependencies info.
  • --spv-emit-nonsemantic-debug-info β€” Emit SPIR-V NonSemantic.Shader.DebugInfo.100 instructions 🌈
  • --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, where the option is specified in the form (Initial)[+(Flag1|Flag2|...)]. The values:
    • disabled β€” (Initial) No loop types will vectorize using tail-folding.
    • default β€” (Initial) Uses the default tail-folding settings for the target CPU.
    • all β€” (Initial) All legal loop types will vectorize using tail-folding.
    • simple β€” (Initial) Use tail-folding for simple loops (not reductions or recurrences).
    • reductions β€” Use tail-folding for loops containing reductions.
    • noreductions β€” Inverse of above.
    • recurrences β€” Use tail-folding for loops containing fixed order recurrences.
    • norecurrences β€” Inverse of above.
    • reverse β€” Use tail-folding for loops requiring reversed predicates.
    • noreverse β€” Inverse of above.

still going, bestie, don't you dare close the tab yet πŸ’–

  • --tail-predication=<value> β€” bestie this one is the MVE tail-predication pass options, and let me tell you, it has choices:
    • =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 πŸ’€
okay so for the *force* ones: the manpage literally says "might be unsafe". I am not making that up. proceed with the caution of someone touching a hot pan πŸ™ˆ
  • --target-abi=<string> β€” the name of the ABI to be targeted from the backend
  • --thinlto-assume-merged β€” assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes
  • --threads=<int> β€” that's it. that's the whole note. no description given πŸ™ˆ
  • --translator-compatibility-mode β€” SPIR-V Translator compatibility mode
  • --ubsan-guard-checks β€” guard UBSAN checks with llvm.allow.ubsan.check()
  • --use-undef β€” use undef when generating programs
  • --verify-region-info β€” verify region info. heads up, it's 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
  • --wasm-use-legacy-eh β€” WebAssembly exception handling (legacy)
  • --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. fr fr, read that twice.
  • --x86-enable-apx-for-relocation β€” enable APX features (EGPR, NDD and NF) for instructions with relocations on x86-64 ELF
  • --x86-pad-max-prefix-size=<uint> β€” maximum number of prefixes to use for padding
  • --x86-relax-relocations β€” emit GOTPCRELX/REX_GOTPCRELX/CODE_4_GOTPCRELX instead of GOTPCREL on x86-64 ELF
  • --x86-sse2avx β€” specify that the assembler should encode SSE instructions with VEX prefix

✨ Generic Options ✨

the little guys every program has, but make it iconic πŸ’…

  • --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

🌸 IR2Vec Options 🌸

  • --ir2vec-arg-weight=<number> β€” weight for argument embeddings
  • --ir2vec-kind=<value> β€” IR2Vec embedding kind
    • =symbolic β€” generate symbolic embeddings
    • =flow-aware β€” generate flow-aware embeddings
  • --ir2vec-opc-weight=<number> β€” weight for opcode embeddings
  • --ir2vec-type-weight=<number> β€” weight for type embeddings
  • --ir2vec-vocab-path=<string> β€” path to the vocabulary file for IR2Vec

πŸ¦‹ MIR2Vec Options πŸ¦‹

  • --mir2vec-common-operand-weight=<number> β€” weight for common operand embeddings
  • --mir2vec-kind=<value> β€” MIR2Vec embedding kind
    • =symbolic β€” generate symbolic embeddings for MIR
  • --mir2vec-opc-weight=<number> β€” weight for machine opcode embeddings
  • --mir2vec-reg-operand-weight=<number> β€” weight for register operand embeddings
  • --mir2vec-vocab-path=<string> β€” path to the vocabulary file for MIR2Vec

πŸ‘‘ Polly Options πŸ‘‘

Configure the polly loop optimizer. she's got range, bestie, look at this list πŸ’œ

  • --polly β€” enable the polly optimizer (with -O1, -O2 or -O3)
  • --polly-2nd-level-tiling β€” enable a 2nd level loop of loop tiling
  • --polly-annotate-metadata-vectorize β€” append vectorize enable/disable metadata from polly
  • --polly-ast-print-accesses β€” print memory access functions
  • --polly-context=<isl parameter set> β€” provide additional constraints on the context parameters
  • --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.
  • --polly-delicm-max-ops=<int> β€” maximum number of isl operations to invest for lifetime analysis; 0=no limit
  • --polly-detect-full-functions β€” allow the detection of full functions
  • --polly-dump-after β€” dump module after Polly transformations into a file suffixed with "-after"
  • --polly-dump-after-file=<string> β€” dump module after Polly transformations to the given file
  • --polly-dump-before β€” dump module before Polly transformations into a file suffixed with "-before"
  • --polly-dump-before-file=<string> β€” dump module before Polly transformations to the given file
  • --polly-enable-simplify β€” simplify SCoP after optimizations
  • --polly-ignore-func=<string> β€” ignore functions that match a regex. Multiple regexes can be comma separated. Scop detection will ignore all functions that match ANY of the regexes provided.
  • --polly-isl-arg=<argument> β€” option passed to ISL
  • --polly-matmul-opt β€” perform optimizations of matrix multiplications based on pattern matching
  • --polly-on-isl-error-abort β€” abort if an isl error is encountered
  • --polly-only-func=<string> β€” only run on functions that match a regex. Multiple regexes can be comma separated. Scop detection will run on all functions that match ANY of the regexes provided.
  • --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 β€” only run scop detection, but no other optimizations
  • --polly-optimized-scops β€” Polly - Dump 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 β€” generate thread parallel code (isl codegen only)
  • --polly-parallel-force β€” force generation of thread parallel code ignoring any cost model
  • --polly-pattern-matching-based-opts β€” perform optimizations based on pattern matching
  • --polly-postopts β€” apply post-rescheduling optimizations such as tiling (requires -polly-reschedule)
  • --polly-pragma-based-opts β€” apply user-directed transformation from metadata
  • --polly-pragma-ignore-depcheck β€” skip the dependency check for pragma-based transformations
  • --polly-print-ast β€” print the ISL abstract syntax tree
  • --polly-print-delicm β€” Polly - Print DeLICM/DePRE
  • --polly-print-deps β€” Polly - Print dependences
  • --polly-print-detect β€” Polly - Print static control parts (SCoPs)
  • --polly-print-flatten-schedule β€” a polly pass
  • --polly-print-import-jscop β€” Polly - Print Scop import result
  • --polly-print-mse β€” Polly - Print Maximal static expansion of SCoP
  • --polly-print-opt-isl β€” a polly pass. that's it, that's the whole description 🫢 (the manpage really said "a polly pass" and dipped, and honestly? respect.)
  • --polly-print-optree β€” Polly, bestie, print the forward operand tree result 🌳
  • --polly-print-scops β€” prints the polyhedral description of all the regions ✨
  • --polly-print-simplify β€” Polly says: show me the Simplify actions πŸ‘€
  • --polly-process-unprofitable β€” go ahead and process the scops that are unlikely to benefit from Polly optimizations. lowkey a "do it anyway" flag, no cap 😭
  • --polly-register-tiling β€” enable register tiling, slay πŸ’…
  • --polly-report β€” print info about what Polly's been up to. it's giving activity tracker πŸŽ€
  • --polly-reschedule β€” optimize SCoPs using ISL πŸ”₯
  • --polly-show β€” highlight the code regions that are gonna get optimized β€” and it does it in a CFG, BBs, and LLVM-IR instructions</>, all of it, the whole fit ✨
  • --polly-show-only β€” same highlight energy, but the only place you get it is the CFG (BBs only)</>. no LLVM-IR instructions invited to this party πŸ™ˆ
  • --polly-stmt-granularity=<value> β€” which algorithm do we use to split basic blocks into multiple statements? pick your fighter:
    • =bb β€” one statement per basic block
    • =scalar-indep β€” the scalar independence heuristic
    • =store β€” store-level granularity
  • --polly-tc-opt β€” do optimizations of tensor contractions based on pattern matching 🧚
  • --polly-tiling β€” enable loop tiling πŸ¦‹
  • --polly-vectorizer=<value> β€” select the vectorization strategy, choose wisely bestie:
    • =none β€” no Vectorization 🚫
    • =stripmine β€” strip-mine the outer loops so the loop-vectorizer actually triggers πŸ‘‘

and that's a wrap on the polly pack, my love πŸ’– you read all of it, you're literally the main character of man pages rn 🌈

little credits moment: this page is modularize version 22, dated September 2026, and you're living in MODULARIZE(1) β€” periodt. πŸ’…β­
πŸ“¦ where this page comes from