LLVM-REMARKUTIL(1)
Hey bestie π welcome to LLVM-REMARKUTIL(1) β the page for llvm-remarkutil, aka the remark utility. No cap, this is the little tool that shows you information from remark formats and converts between them. Letβs go! π«Ά
π NAME π
llvm-remarkutilβ Remark utility.
β¨ SYNOPSIS β¨
llvm-remarkutil [subcommmand] [options]
Yes, thatβs subcommmand with three mβs in the original β weβre keeping it exactly, bestie π
πΈ DESCRIPTION πΈ
Utility for displaying information from, and converting between different remark formats. Itβs giving βremark Swiss Army knifeβ energy β thatβs the whole vibe. β¨
π¦ SUBCOMMANDS π¦
bitstream2yamlβ Reserialize bitstream remarks to YAML.yaml2bitstreamβ Reserialize YAML remarks to bitstream.instruction-countβ Output function instruction counts.annotation-countβ Output remark type count from annotation remarks.
π bitstream2yaml
π οΈ USAGE
USAGE: llvm-remarkutil bitstream2yaml <input file> -o <output file>
π Summary
Bestie, this one takes a bitstream remark file as input, and reserializes that file as YAML. Bitstream in, YAML out β slay. π
π yaml2bitstream
π οΈ USAGE
USAGE: llvm-remarkutil yaml2bitstream <input file> -o <output file>
π Summary
This one takes a YAML remark file as input, and reserializes that file in the bitstream format. YAML in, bitstream out β reverse icon behavior. π¦
π₯ instruction-count
π οΈ USAGE
USAGE: llvm-remarkutil instruction-count <input file>
--parser=<bitstream|yaml> [--use-debug-loc] -o <output file>
π Summary
Outputs instruction count remarks for every function. Instruction count remarks encode the number of instructions in a function at assembly printing time. Main character stats, but for functions. β¨
β οΈ Important: Instruction count remarks require asm-printer remarks.
CSV format is as follows:
:: Function,InstructionCount foo,123
if --use-debug-loc is passed then the CSV will include the source path, line number and column.
:: Source,Function,InstructionCount path:line:column,foo,3
π annotation-count
π οΈ USAGE
USAGE: llvm-remarkutil annotation-count <input file>
--parser=<bitstream|yaml> --annotation-type=<type> [--use-debug-loc] -o
<output file>
π Summary
Outputs a count for annotation-type <type> remark for every function. The count expresses the number of remark checks inserted at the function. Literally counting the annotation-type <type> checks per function. π
β οΈ Important: Annotation count remarks require AnnotationRemarksPass remarks.
CSV format is as follows:
:: Function,Count foo,123
if --use-debug-loc is passed then the CSV will include the source path, line number and column.
:: Source,Function,Count path:line:column,foo,3
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). Shoutout to the LLVM Team, fr fr. π
π COPYRIGHT π
2003-2023, LLVM Project. Respect the copyright, bestie. π«Ά
Okay thatβs the whole page! π This one is LLVM 17, dated 2023-12-01, and the manual page is LLVM-REMARKUTIL(1). Bye bestie! π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm17 17.0.6-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms