LLVM-REMARKUTIL(1)

πŸ“¦
version 16.0.6 Β· 3 versions
, in ubuntu noble

πŸ’– 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/). πŸ‘‘


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