Man page - llvm-bcanalyzer-19(1)
Packages contas this manual
- llvm-remarkutil-19(1)
- llvm-cov-19(1)
- llvm-diff-19(1)
- llvm-readelf-19(1)
- clang-tblgen-19(1)
- llvm-libtool-darwin-19(1)
- llvm-profgen-19(1)
- bugpoint-19(1)
- llvm-cxxfilt-19(1)
- llvm-cxxmap-19(1)
- llvm-symbolizer-19(1)
- llvm-link-19(1)
- llvm-nm-19(1)
- mlir-tblgen-19(1)
- llvm-profdata-19(1)
- llvm-strings-19(1)
- llvm-objcopy-19(1)
- tblgen-19(1)
- llvm-tblgen-19(1)
- opt-19(1)
- llvm-otool-19(1)
- llvm-as-19(1)
- llvm-pdbutil-19(1)
- llc-19(1)
- llvm-ar-19(1)
- llvm-stress-19(1)
- llvm-mc-19(1)
- llvm-tli-checker-19(1)
- llvm-exegesis-19(1)
- llvm-strip-19(1)
- llvm-install-name-tool-19(1)
- llvm-locstats-19(1)
- llvm-rtdyld-19(1)
- llvm-dwarfutil-19(1)
- dsymutil-19(1)
- llvm-debuginfo-analyzer-19(1)
- llvm-ifs-19(1)
- llvm-lipo-19(1)
- llvm-reduce-19(1)
- lit-19(1)
- llvm-dis-19(1)
- llvm-readobj-19(1)
- llvm-addr2line-19(1)
- llvm-lib-19(1)
- llvm-bcanalyzer-19(1)
- llvm-config-19(1)
- llvm-opt-report-19(1)
- llvm-ranlib-19(1)
- llvm-dwarfdump-19(1)
- llvm-mca-19(1)
- llvm-objdump-19(1)
- llvm-size-19(1)
- lldb-tblgen-19(1)
- llvm-extract-19(1)
apt-get install llvm-19
Manual
| LLVM-BCANALYZER(1) | LLVM | LLVM-BCANALYZER(1) |
NAME
llvm-bcanalyzer - LLVM bitcode analyzer
SYNOPSIS
llvm-bcanalyzer [options] [filename]
DESCRIPTION
The llvm-bcanalyzer command is a small utility for analyzing bitcode files. The tool reads a bitcode file (such as generated with the llvm-as tool) and produces a statistical report on the contents of the bitcode file. The tool can also dump a low level but human readable version of the bitcode file. This tool is probably not of much interest or utility except for those working directly with the bitcode file format. Most LLVM users can just ignore this tool.
If filename is omitted or is -, then llvm-bcanalyzer reads its input from standard input. This is useful for combining the tool into a pipeline. Output is written to the standard output.
OPTIONS
- --dump
- Causes llvm-bcanalyzer to dump the bitcode in a human readable format. This format is significantly different from LLVM assembly and provides details about the encoding of the bitcode file.
- --help
- Print a summary of command line options.
EXIT STATUS
If llvm-bcanalyzer succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value, usually 1.
SUMMARY OUTPUT DEFINITIONS
The following items are always printed by llvm-bcanalyzer. They comprize the summary output.
Bitcode Analysis Of Module
Bitcode Version Number
File Size
Module Bytes
Function Bytes
Global Types Bytes
Constant Pool Bytes
Module Globals Bytes
Instruction List Bytes
Compaction Table Bytes
Symbol Table Bytes
Dependent Libraries Bytes
Number Of Bitcode Blocks
Number Of Functions
Number Of Types
Number Of Constants
Number Of Basic Blocks
Number Of Instructions
Number Of Long Instructions
Number Of Operands
Number Of Compaction Tables
Number Of Symbol Tables
Number Of Dependent Libs
Total Instruction Size
Average Instruction Size
Maximum Type Slot Number
Maximum Value Slot Number
Bytes Per Value
Bytes Per Global
Bytes Per Function
# of VBR 32-bit Integers
# of VBR 64-bit Integers
# of VBR Compressed Bytes
# of VBR Expanded Bytes
Bytes Saved With VBR
DETAILED OUTPUT DEFINITIONS
The following definitions occur only if the -nodetails option was not given. The detailed output provides additional information on a per-function basis.
Type
Byte Size
Basic Blocks
Instructions
Long Instructions
Operands
Instruction Size
Average Instruction Size
Bytes Per Instruction
Number of VBR 32-bit Integers
Number of VBR 64-bit Integers
Number of VBR Compressed Bytes
Number of VBR Expanded Bytes
Bytes Saved With VBR
SEE ALSO
llvm-dis(1), LLVM Bitcode File Format
AUTHOR
Maintained by the LLVM Team (https://llvm.org/).
COPYRIGHT
2003-2025, LLVM Project
| 2025-06-14 | 15 |