Man page - llvm-remarkutil-17(1)
Packages contas this manual
- llvm-ar-17(1)
- llvm-reduce-17(1)
- tblgen-17(1)
- llvm-link-17(1)
- llvm-strings-17(1)
- llvm-locstats-17(1)
- llvm-lipo-17(1)
- llvm-dis-17(1)
- llvm-mca-17(1)
- llvm-opt-report-17(1)
- llvm-readelf-17(1)
- llvm-nm-17(1)
- dsymutil-17(1)
- llc-17(1)
- llvm-cov-17(1)
- llvm-objcopy-17(1)
- llvm-ifs-17(1)
- llvm-debuginfo-analyzer-17(1)
- lit-17(1)
- llvm-profdata-17(1)
- llvm-otool-17(1)
- bugpoint-17(1)
- llvm-libtool-darwin-17(1)
- llvm-install-name-tool-17(1)
- llvm-strip-17(1)
- llvm-diff-17(1)
- lldb-tblgen-17(1)
- llvm-exegesis-17(1)
- llvm-bcanalyzer-17(1)
- clang-tblgen-17(1)
- llvm-tli-checker-17(1)
- llvm-cxxfilt-17(1)
- llvm-profgen-17(1)
- llvm-size-17(1)
- llvm-remark-size-diff-17(1)
- llvm-mc-17(1)
- llvm-symbolizer-17(1)
- llvm-stress-17(1)
- llvm-objdump-17(1)
- llvm-dwarfutil-17(1)
- llvm-addr2line-17(1)
- llvm-lib-17(1)
- llvm-config-17(1)
- llvm-readobj-17(1)
- llvm-ranlib-17(1)
- llvm-cxxmap-17(1)
- llvm-rtdyld-17(1)
- mlir-tblgen-17(1)
- llvm-tblgen-17(1)
- llvm-dwarfdump-17(1)
- llvm-extract-17(1)
- llvm-remarkutil-17(1)
- llvm-pdbutil-17(1)
- opt-17(1)
- llvm-as-17(1)
apt-get install llvm-17
Manual
| LLVM-REMARKUTIL(1) | LLVM | LLVM-REMARKUTIL(1) |
NAME
llvm-remarkutil - Remark utility
SYNOPSIS
llvm-remarkutil [subcommmand] [options]
DESCRIPTION
Utility for displaying information from, and converting between different remark formats.
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: llvm-remarkutil bitstream2yaml <input file> -o <output file>
Summary
Takes a bitstream remark file as input, and reserializes that file as YAML.
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.
instruction-count
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.
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: 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.
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/).
COPYRIGHT
2003-2025, LLVM Project
| 2025-06-15 | 15 |