LLVM-RTDYLD(1)
π NAME π
bestie, this is llvm-rtdyld β the manual page for llvm-rtdyld 12. It's giving LLVM-RTDYLD(1) energy, and it lives in User Commands, naturally. π
π DESCRIPTION π
okay so first up, the vibe:
OVERVIEW: llvm MC-JIT tool
USAGE: llvm-rtdyld [options] <input files> --args <program arguments>...
and then we get into the options, which are a whole menu. buckle up, bestie. π
π OPTIONS π
π Color Options π
--colorβ Use colors in output (default=autodetect) π
β¨ General options β¨
--aarch64-neon-syntax=<value>β Choose style of NEON code to emit from AArch64 backend:=genericβ Emit generic NEON assembly=appleβ Emit Apple-style NEON assembly
--abort-on-max-devirt-iterations-reachedβ Abort when the max iterations for devirtualization CGSCC repeat pass is reached π--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-reserve-vgpr-for-sgpr-spillβ Allocates one VGPR for future SGPR Spill--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--args <string>...β<program arguments>...β literally the program arguments, bestie. π«Ά--arm-add-build-attributesβ (no description in the original β a mystery, but iconic) π--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
--atomic-counter-update-promotedβ Do counter update using atomic fetch add for promoted counters only--atomic-first-counterβ Use atomic fetch add for first counter in a function (usually the entry counter)--bounds-checking-single-trapβ Use one trap block per function--cfg-hide-deoptimize-pathsβ (no description in the original β spooky) π--cfg-hide-unreachable-pathsβ (no description in the original β also spooky) π»--check=<string>β File containing RuntimeDyld verifier checks.--cost-kind=<value>β Target cost kind=throughputβ Reciprocal throughput=latencyβ Instruction latency=code-sizeβ Code size=size-latencyβ Code size and latency
--cvp-dont-add-nowrap-flagsβ (no description in the original β mysterious) β¨--debugify-level=<value>β Kind of debug info to add=locationsβ Locations only=location+variablesβ Locations and Variables
--debugify-quietβ Suppress verbose debugify output--disable-promote-alloca-to-ldsβ Disable promote alloca to LDS--disable-promote-alloca-to-vectorβ Disable promote alloca to vector--do-counter-promotionβ Do counter register promotion--dot-cfg-mssa=<file name for generated dot file>β file name for generated dot file--dylib=<string>β Add library.--emscripten-cxx-exceptions-allowed=<string>β The list of function names in which Emscripten-style exception handling is enabled (see emscripten EMSCRIPTEN_CATCHING_ALLOWED options)--enable-cse-in-irtranslatorβ Should enable CSE in irtranslator--enable-cse-in-legalizerβ Should enable CSE in Legalizer--enable-emscripten-cxx-exceptionsβ WebAssembly Emscripten-style exception handling--enable-emscripten-sjljβ WebAssembly Emscripten-style setjmp/longjmp handling--enable-gvn-hoistβ Enable the GVN hoisting pass (default = off)--enable-gvn-memdepβ (no description in the original β it's giving mystery) π--enable-gvn-sinkβ Enable the GVN sinking pass (default = off)--enable-load-in-loop-preβ (no description in the original) π΅οΈββοΈ--enable-load-preβ (no description in the original) π΅οΈββοΈ--enable-loop-simplifycfg-term-foldingβ (no description in the original) π΅οΈββοΈ--enable-name-compressionβ Enable name/filename string compression--enable-split-backedge-in-load-preβ (no description in the original) π΅οΈββοΈ--entry=<string>β Function to call as entry point.--gpsize=<uint>β Global Pointer Addressing Size. The default size is 8.--hash-based-counter-splitβ Rename counter variable of a comdat function based on cfg hash--hot-cold-splitβ Enable hot-cold splitting pass--import-all-indexβ Import all external functions in index.--instcombine-code-sinkingβ Enable code sinking--instcombine-guard-widening-window=<uint>β How wide an instruction window to bypass looking for another guard--instcombine-max-iterations=<uint>β Limit the maximum number of instruction combining iterations--instcombine-max-num-phis=<uint>β Maximum number phis to handle in intptr/ptrint folding--instcombine-maxarray-size=<uint>β Maximum array size considered when doing a combine--instcombine-negator-enabledβ Should we attempt to sink negations?--instcombine-negator-max-depth=<uint>β What is the maximal lookup depth when trying to check for viability of negation sinking.--instcombine-unsafe-select-transformβ Enable poison-unsafe select to and/or transform--instrprof-atomic-counter-update-allβ Make all profile counter updates atomic (for testing only) π--internalize-public-api-file=<filename>β A file containing list of symbol names to preserve--internalize-public-api-list=<list>β A list of symbol names to preserve--iterative-counter-promotionβ Allow counter promotion across the whole loop nest.--lto-embed-bitcode=<value>β Embed LLVM bitcode in object files produced by LTO=noneβ Do not embed=optimizedβ Embed after all optimization passes=post-merge-pre-optβ Embed post merge, but before optimizations
--lto-pass-remarks-filter=<regex>β Only record optimization remarks from passes whose names match the given regular expression--lto-pass-remarks-format=<format>β The format used for serializing remarks (default: YAML)--lto-pass-remarks-output=<filename>β Output filename for pass remarks--matrix-default-layout=<value>β Sets the default matrix layout=column-majorβ Use column-major layout=row-majorβ Use row-major layout
--max-counter-promotions=<int>β Max number of allowed counter promotions--max-counter-promotions-per-loop=<uint>β Max number counter promotions per loop to avoid increasing register pressure too much--mcpu=<cpu-name>β Target a specific cpu type (-mcpu=helpfor details)--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
--mips-compact-branches=<value>β MIPS Specific: Compact branch policy.=neverβ Do not use compact branches if possible.=optimalβ Use compact branches where appropriate (default).=alwaysβ Always use compact branches if possible.
--mips16-constant-islandsβ Enable mips16 constant islands.--mips16-hard-floatβ Enable mips16 hard float.--mir-strip-debugify-onlyβ Should mir-strip-debug only strip debug info from debugified modules by default--mno-compoundβ Disable looking for compound instructions for Hexagon--mno-fixupβ Disable fixing up resolved relocations for Hexagon--mno-ldc1-sdc1β Expand double precision loads and stores to their single precision counterparts--mno-pairingβ Disable looking for duplex instructions for Hexagon--mwarn-missing-parenthesisβ Warn for missing parenthesis around predicate registers--mwarn-noncontigious-registerβ Warn for register names that arent contigious--mwarn-sign-mismatchβ Warn for mismatching a signed and unsigned value--no-discriminatorsβ Disable generation of discriminator information.--nvptx-sched4regβ NVPTX Specific: schedule for register pressue (yes, that's how it's spelled, we don't make the rules π )--poison-checking-function-localβ Check that returns are non-poison (for testing) β like a vibe check for your returns β¨--preallocate=<ulong>β Allocate memory upfront rather than on-demand β get it all out the way, no waiting bestie π--r600-ir-structurizeβ Use StructurizeCFG IR pass--rdf-dumpβ (no description, it's a mystery π)--rdf-limit=<uint>β (no description, just vibes)--runtime-counter-relocationβ Enable relocating counters at runtime.--safepoint-ir-verifier-print-onlyβ (no description, iconic silence π)--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.--show-timesβ Show times forllvm-rtdyldphases--skip-ret-exit-blockβ Suppress counter promotion if exit blocks containret.--speculative-counter-promotion-max-exiting=<uint>β The max number of exiting blocks of a loop to allow speculative counter promotion--speculative-counter-promotion-to-loopβ When the option is false, if the target block is in a loop, the promotion will be disallowed unless the promoted counter update can be further/iteratively promoted into an acyclic region.--summary-file=<string>β The summary file to use for function importing.--tail-predication=<value>β MVE tail-predication pass options=disabledβ Don't tail-predicate loops=enabled-no-reductionsβ Enable tail-predication, but not for reduction loops=enabledβ Enable tail-predication, including reduction loops=force-enabled-no-reductionsβ Enable tail-predication, but not for reduction loops, and force this which might be unsafe=force-enabledβ Enable tail-predication, including reduction loops, and force this which might be unsafe
--thinlto-assume-mergedβ Assume the input has already undergone ThinLTO function importing and the other pre-optimization pipeline changes.--threads=<int>β (no description, just a number bestie π)--triple=<string>β Target triple for disassembler
π¬ Action to perform
--executeβ Load, link, and execute the inputs.--printlineβ Load, link, and print line information for each function.--printdebuglineβ Load, link, and print line information for each function using the debug object--printobjlineβ Like-printlineinfobut does not load the object first--verifyβ Load, link and verify the resulting memory image.--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--x86-align-branch=<string>β Specify types of branches to align (plus separated list of types):jccβ indicates conditional jumpsfusedβ indicates fused conditional jumpsjmpβ indicates direct unconditional jumpscallβ indicates direct and indirect callsretβ indicates retsindirectβ 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.
β οΈ bestie this one is giving "handle with care" energy β it might break your label assumptions, so use with caution fr fr
--x86-pad-max-prefix-size=<uint>β Maximum number of prefixes to use for padding
β¨ Generic Options β¨
--helpβ Display available options (--help-hiddenfor more)--help-listβ Display list of available options (--help-list-hiddenfor more)--versionβ Display the version of this program
π Polly Options: Configure the polly loop optimizer π
--pollyβ Enable the polly optimizer (only at-O3)--polly-2nd-level-tilingβ Enable a 2nd level loop of loop tiling--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-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-process-unprofitableβ Process scops that are unlikely to benefit from Polly optimizations.--polly-register-tilingβ Enable register tiling--polly-reportβ Print information about the activities of Polly--polly-showβ Highlight the code regions that will be optimized in a (CFG BBs and LLVM-IR instructions)--polly-show-onlyβ Highlight the code regions that will be optimized in a (CFG only BBs)--polly-stmt-granularity=<value>β Algorithm to use for splitting basic blocks into multiple statements=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=noneβ No Vectorization=pollyβ Polly internal vectorizer=stripmineβ Strip-mine outer loops for the loop-vectorizer to trigger
And that's the whole vibe bestie! This page was served fresh from llvm-rtdyld 12, dated February 2022. Stay slaying, keep linking, and remember: when in doubt, read the manual π
β¨π¦
π¦ where this page comes from
- ubuntu jammy: llvm-12 1:12.0.1-19ubuntu3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms