CLANG-REPL(1)

πŸ“¦
version 14.0.6 Β· 5 versions
, in ubuntu questing

πŸ’– NAME πŸ’–

clang-repl β€” okay so this is the manual page for clang-repl 14, and bestie, it's a lot, but we're gonna get through it together πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the whole entire usage vibe:

USAGE: clang-repl [options] [code to run]

That's it. That's the shape of it. Options, and optionally some code you want to actually run, and she'll handle the rest ✨

πŸŽ€ OPTIONS πŸŽ€

🌈 Color Options 🌈

  • --color β€” bestie, this one just uses colors in the output. And yeah, it's default=autodetect, so she checks the vibe for herself before committing to a palette 🎨

πŸ‘‘ General options πŸ‘‘

  • --Xcc=<string> β€” an argument you're passing straight through to the CompilerInvocation. She'll take it from there 🫑
  • --aarch64-neon-syntax=<value> β€” pick which style of NEON code the AArch64 backend emits:
    • =generic β€” emit generic NEON assembly
    • =apple β€” emit Apple-style NEON assembly
  • --aarch64-use-aa β€” turn on the use of AA during codegen
  • --abort-on-max-devirt-iterations-reached β€” abort the whole thing when we hit the max iterations for the devirtualization CGSCC repeat pass πŸ’€
  • --addrsig β€” emit an address-significance table
  • --align-loops=<uint> β€” the default alignment for loops
  • --allow-ginsert-as-artifact β€” allow G_INSERT to be considered an artifact. It's a hack to work around AMDGPU test infinite loops, no cap πŸ™ˆ
  • --amdgpu-bypass-slow-div β€” skip the 64-bit divide for dynamic 32-bit values
  • --amdgpu-disable-loop-alignment β€” don't align and prefetch loops
  • --amdgpu-disable-power-sched β€” disable scheduling to minimize mAI power bursts
  • --amdgpu-dpp-combine β€” enable the 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> β€” the maximum byte size to consider when promoting alloca to vector
  • --amdgpu-sdwa-peephole β€” enable the 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 just there, existing, mysterious)
  • --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 the internal instruction representation into the 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 the first counter in a function (which is 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 whose relative frequency falls below the given value
  • --cfg-hide-deoptimize-paths β€” (no description, iconic silent type energy)
  • --cfg-hide-unreachable-paths β€” (also no description, matching her sister's vibe)
  • --code-model=<value> β€” choose the code model:
    • =tiny β€” Tiny code model
    • =small β€” Small code model
    • =kernel β€” Kernel code model
    • =medium β€” Medium code model
    • =large β€” Large code model
  • --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> β€” the kind of debug info to add:
    • =locations β€” Locations only
    • =location+variables β€” Locations and Variables
  • --debugify-quiet β€” suppress the 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> β€” same deal but for float: 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
  • --disable-i2p-p2i-opt β€” disables the 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-tail-calls β€” never emit tail calls. Never ever. Periodt βœ‹
  • --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 the emscripten EMSCRIPTEN_CATCHING_ALLOWED options)
  • --emulated-tls β€” use the emulated TLS model
  • --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 given, she's keeping it to herself πŸ™ˆ)
  • --enable-gvn-sink β€” enable the GVN sinking pass (default = off)
  • --enable-load-in-loop-pre β€” (no description, mysterious as ever)
  • --enable-load-pre β€” (also no description)
  • --enable-loop-simplifycfg-term-folding β€” (no description here either, we love a cryptic queen)
  • --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, staying mysterious πŸ’…)
  • --enable-unsafe-fp-math β€” enable optimizations that may decrease FP precision ⚠️ she is literally telling you the precision can drop, so listen
  • --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
  • --execute-concurrency=<uint> β€” the number of threads used to process all files in parallel. Set it to 0 for hardware concurrency. Heads up bestie: this flag only applies to all-TUs.
  • --executor=<string> β€” the name of the executor to use
  • --experimental-debug-variable-locations β€” use experimental new value-tracking variable locations πŸ§ͺ
  • --fatal-warnings β€” treat warnings as errors. No more "it's just a warning" delulu, every warning is now a whole error πŸ”₯

...and that's not even all of it, bestie β€” there's more where this came from πŸ’–

  • --filetype=<value> β€” bestie, pick your file type πŸŽ€ (and lowkey, not every target supports every single type, so check before you commit):
    • =asm β€” emit an assembly file, aka the .s one
    • =obj β€” emit a native object file, aka the .o one
    • =null β€” emit literally nothing at all β€” this one's purely for performance testing, no cap
  • --filter=<string> β€” only process the files that match this filter. heads up tho: this flag only applies to all-TUs, so don't come for me if it does nothing elsewhere πŸ’…
  • --float-abi=<value> β€” choose your float ABI type:
    • =default β€” the target's default float ABI type
    • =soft β€” soft float ABI (this one gets implied by -soft-float)
    • =hard β€” hard float ABI, it uses FP registers
  • --force-dwarf-frame-section β€” always emit a debug frame section. every time. periodt.
  • --fp-contract=<value> β€” enables aggressive formation of fused FP ops, which is giving optimizer main character energy:
    • =fast β€” fuse FP ops whenever it's profitable
    • =on β€” only fuse the '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 frames
    • =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).
  • --function-sections β€” emit functions into separate sections ✨
  • --generate-merged-base-profiles β€” when you're generating nested context-sensitive profiles, this always generates an extra base profile for a function with all of 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 a XCOFF object file.
  • --import-all-index β€” import all external functions in index.
  • --incremental-linker-compatible β€” when used with filetype=obj, emit an object file that 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 while looking for another guard.
  • --instcombine-max-iterations=<uint> β€” cap 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> β€” the maximum array size considered when doing a combine.
  • --instcombine-negator-enabled β€” should we even attempt to sink negations? asking for a friend.
  • --instcombine-negator-max-depth=<uint> β€” what's 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.
  • --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> β€” the architecture to generate code for (peep --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 the details, bestie).
  • --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 crank the register pressure up too much 😭
  • --mc-relax-all β€” when used with filetype=obj, relax all fixups in the emitted object file.
  • --mcabac β€” tbd 🫢 (no fr, that's what it says)
  • --mcpu=<cpu-name> β€” target a specific cpu type (-mcpu=help for the details).
  • --meabi=<value> β€” set the EABI type (the default depends on the triple):
    • =default β€” triple default EABI version
    • =4 β€” EABI version 4
    • =5 β€” EABI version 5
    • =gnu β€” EABI GNU
  • --merror-missing-parenthesis β€” error for a 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 (this one's the 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 into their single precision counterparts.
  • --mno-pairing β€” disable looking for duplex instructions for Hexagon.
  • --mwarn-missing-parenthesis β€” warn for a missing parenthesis around predicate registers.
  • --mwarn-noncontigious-register β€” warn for register names that arent contigious.
  • --mwarn-sign-mismatch β€” warn for mismatching a signed and an 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 the xray_fn_idx section.
  • --nozero-initialized-in-bss β€” don't place zero-initialized symbols into the bss section.
  • --nvptx-sched4reg β€” NVPTX Specific: schedule for register pressue.
  • --opaque-pointers β€” use opaque pointers.
  • --poison-checking-function-local β€” check that returns are non-poison (for testing).
  • --print-pipeline-passes β€” print a -passes compatible string describing the pipeline (best-effort only, so don't hold me to it πŸ’€).
  • --r600-ir-structurize β€” use the StructurizeCFG IR pass.
  • --rdf-dump β€” no description given, it's just vibes πŸ™ˆ
  • --rdf-limit=<uint> β€” also no description, we love a mystery πŸ¦‹
  • --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 β€” the combination of ropi and rwpi, bestie, both at once 🫢

  • --runtime-counter-relocation β€” enable relocating counters at runtime. moving them around, live, no biggie ✨
  • --safepoint-ir-verifier-print-only β€” that's literally all the manpage says, no description given, we move
  • --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 your profile is slacking, you get a lil heads up πŸ‘€
  • --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. yes, the CFG. we love a control flow graph moment ⭐
  • --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. the cold ones get their own lil corner ❄️
  • --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. no cap, strict πŸ’…
  • --summary-file=<string> β€” the summary file to use for function importing.
  • --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
bestie the force- ones say "might be unsafe" right there in the text. i'm just the messenger 🚨
  • --tailcallopt β€” turn fastcc calls into tail calls by (potentially) changing ABI. potentially changing the ABI. nbd. iconic actually
  • --thinlto-assume-merged β€” assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes.
  • --thread-model=<value> β€” choose threading model.
    • =posix β€” POSIX thread model
    • =single β€” Single thread model
  • --threads=<int> β€” the manpage gives no description here. just vibes. she's mysterious πŸŽ€
  • --tls-size=<uint> β€” bit size of immediate TLS offsets.
  • --unique-basic-block-section-names β€” give unique names to every basic block section. every single one gets her own name, main character treatment πŸ‘‘
  • --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-region-info β€” verify region info (time consuming). she's thorough. she's also slow. pick a lane bestie ⏳
  • --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. so like, 0 means no aligning, 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!! it can break your assumptions about labels β†’ instructions. read that twice, bestie πŸ’€
  • --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). the classic. the blueprint. use it, fr fr πŸ’–
  • --help-list β€” display list of available options (--help-list-hidden for more).
  • --version β€” display the version of this program. slay, now you know what you're running ✨

🌸 Polly Options 🌸 β€” Configure the polly loop optimizer

  • --polly β€” enable the polly optimizer (with -O1, -O2 or -O3). only those three optimization levels, periodt
  • --polly-2nd-level-tiling β€” enable a 2nd level loop of loop tiling. tiling on tiling. inception energy πŸŒ€
  • --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. zero means go feral, unlimited ops πŸŽ€
  • --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. ANY of them. not all. ANY 🫢
  • --polly-isl-arg=<argument> β€” option passed to ISL.
  • --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. just looking, not touching πŸ‘€
  • --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. ignoring the cost model entirely?? bold. we love a reckless queen πŸ’…
  • --polly-pattern-matching-based-opts β€” perform optimizations based on pattern matching.
  • --polly-postopts β€” apply post-rescheduling optimizations such as tiling (requires -polly-reschedule). note the requirement, bestie, she needs -polly-reschedule πŸ”₯
  • --polly-pragma-based-opts β€” apply user-directed transformation from metadata.
  • --polly-pragma-ignore-depcheck β€” skips the dependency check for pragma-based transformations. no dep check, no problem, we move 🫢
  • --polly-process-unprofitable β€” processes scops that are unlikely to benefit from Polly optimizations. it's giving "let me try anyway" energy ngl πŸ™ˆ
  • --polly-register-tiling β€” enables register tiling ✨
  • --polly-report β€” prints information about the activities of Polly. she's telling you what she's been up to πŸ’…
  • --polly-reschedule β€” optimizes SCoPs using ISL 🌸
  • --polly-show β€” highlights the code regions that will be optimized in a (CFG BBs and LLVM-IR instructions). yes bestie, show us the glow-up spots πŸ‘‘
  • --polly-show-only β€” highlights the code regions that will be optimized in a (CFG only BBs). same vibe, but CFG only β€” no LLVM-IR instructions on this one.
  • --polly-stmt-granularity=<value> β€” the algorithm to use 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 β€” enable loop tiling 🧱
  • --polly-vectorizer=<value> β€” select the vectorization strategy. choose wisely:
    • =none β€” no vectorization
    • =polly β€” Polly internal vectorizer
    • =stripmine β€” strip-mine outer loops for the loop-vectorizer to trigger

and that's the whole page, bestie!! πŸŽ€ that was clang-repl version 14, dated May 2025 β€” you've officially read the entire CLANG-REPL(1) manual top to bottom and honestly? iconic behavior 🌈⭐ go compile something slay πŸ’–πŸ¦‹

πŸ“¦ where this page comes from