LLVM-REMARKUTIL(1)
π LLVM-REMARKUTIL β the llvm-remarkutil page, bestie edition π
okay so you opened the manual for llvm-remarkutil from the LLVM manual collection, and honestly? it's giving little tool, big power. come sit, i got you π«Ά
β¨ NAME β¨
llvm-remarkutil β Remark utility π
β¨ SYNOPSIS β¨
llvm-remarkutil [subcommmand] [options]
(and yes, that extra m in subcommmand is literally in the original, we do not touch it, we respect the typo, it's iconic now π)
β¨ DESCRIPTION β¨
It's a utility for displaying information from, and converting between different remark formats. that's the whole vibe. lowkey simple, highkey useful. πΈ
β¨ SUBCOMMANDS β¨
bitstream2yamlβ Reserialize bitstream remarks to YAML.yaml2bitstreamβ Reserialize YAML remarks to bitstream.instruction-countβ Output function instruction counts.
π¦ bitstream2yaml π¦
USAGE:
llvm-remarkutil bitstream2yaml <input file> -o <output file>
Summary
Takes a bitstream remark file as input, and reserializes that file as YAML. in goes bitstream, out comes YAML, no cap. β¨
π¦ yaml2bitstream π¦
USAGE:
llvm-remarkutil yaml2bitstream <input file> -o <output file>
Summary
Takes a YAML remark file as input, and reserializes that file in the bitstream format. same energy, opposite direction, we love a reversible situation π
π¦ instruction-count π¦
USAGE:
llvm-remarkutil instruction-count <input file>
βparser=<bitstream|yaml> -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.
Instruction count remarks require asm-printer remarks. like, fr fr, no asm-printer remarks, no instruction counts. π¨
CSV format is as follows:
Function,InstructionCount foo,123
β¨ AUTHOR β¨
Maintained by the LLVM Team (https://llvm.org/). π
β¨ COPYRIGHT β¨
2003-2024, LLVM Project π
and that's the page, bestie!! this one came out of the LLVM manual, dated 2024-04-14, page 15 of the collection, and the copyright belongs to the LLVM Project spanning 2003-2024. go convert some remarks, you absolute main character π¦β¨π
π¦ where this page comes from
- ubuntu noble: llvm-16 1:16.0.6-23ubuntu4 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms