LLVM API Documentation
#include <Analyzer.h>
Collaboration diagram for llvm::BytecodeAnalysis:
Public Types | |
typedef std::map< BytecodeFormat::CompressedBytecodeBlockIdentifiers, unsigned > | BlockSizeMap |
Public Attributes | |
std::string | ModuleId |
Identification of the module. | |
unsigned | version |
The version number of the bytecode file. | |
unsigned | byteSize |
The size of the bytecode file in bytes. | |
unsigned | numTypes |
The number of types. | |
unsigned | numValues |
The number of values. | |
unsigned | numBlocks |
The number of *bytecode* blocks. | |
unsigned | numFunctions |
The number of functions defined. | |
unsigned | numConstants |
The number of constants. | |
unsigned | numGlobalVars |
The number of global variables. | |
unsigned | numInstructions |
The number of instructions in all functions. | |
unsigned | numBasicBlocks |
The number of BBs in all functions. | |
unsigned | numOperands |
The number of BBs in all functions. | |
unsigned | numCmpctnTables |
The number of compaction tables. | |
unsigned | numSymTab |
The number of symbol tables. | |
unsigned | numAlignment |
The number of alignment bytes. | |
unsigned | numLibraries |
The number of dependent libraries. | |
unsigned | libSize |
Number of bytes taken by dep libs. | |
unsigned | maxTypeSlot |
The maximum slot number for types. | |
unsigned | maxValueSlot |
The maximum slot number for values. | |
double | fileDensity |
double | globalsDensity |
density of global defs (bytes/definition) | |
double | functionDensity |
Average density of functions (bytes/function). | |
unsigned | instructionSize |
Size of instructions in bytes. | |
unsigned | longInstructions |
Number of instructions > 4 bytes. | |
unsigned | vbrCount32 |
Number of 32-bit vbr values. | |
unsigned | vbrCount64 |
Number of 64-bit vbr values. | |
unsigned | vbrCompBytes |
Number of vbr bytes (compressed). | |
unsigned | vbrExpdBytes |
Number of vbr bytes (expanded). | |
BlockSizeMap | BlockSizes |
std::map< const Function *, BytecodeFunctionInfo > | FunctionInfo |
std::string | VerifyInfo |
The content of the progressive verification. | |
bool | detailedResults |
Flags for what should be done If true, FunctionInfo has contents. | |
bool | progressiveVerify |
If true, VerifyInfo has contents. | |
Classes | |
struct | BytecodeFunctionInfo |
This structure is used to contain the output of the Bytecode Analysis library. It simply contains fields to hold each item of the analysis results.
Definition at line 37 of file Analyzer.h.
typedef std::map<BytecodeFormat::CompressedBytecodeBlockIdentifiers,unsigned> llvm::BytecodeAnalysis::BlockSizeMap |
Definition at line 72 of file Analyzer.h.
std::string llvm::BytecodeAnalysis::ModuleId |
Identification of the module.
Definition at line 38 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::version |
The version number of the bytecode file.
Definition at line 39 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::byteSize |
The size of the bytecode file in bytes.
Definition at line 40 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numTypes |
The number of types.
Definition at line 41 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numValues |
The number of values.
Definition at line 42 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numBlocks |
The number of *bytecode* blocks.
Definition at line 43 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numFunctions |
The number of functions defined.
Definition at line 44 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numConstants |
The number of constants.
Definition at line 45 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
The number of global variables.
Definition at line 46 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
The number of instructions in all functions.
Definition at line 47 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
The number of BBs in all functions.
Definition at line 48 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numOperands |
The number of BBs in all functions.
Definition at line 49 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
The number of compaction tables.
Definition at line 50 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numSymTab |
The number of symbol tables.
Definition at line 51 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numAlignment |
The number of alignment bytes.
Definition at line 52 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::numLibraries |
The number of dependent libraries.
Definition at line 53 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::libSize |
Number of bytes taken by dep libs.
Definition at line 54 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::maxTypeSlot |
The maximum slot number for types.
Definition at line 55 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::maxValueSlot |
The maximum slot number for values.
Definition at line 56 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
Density of file (bytes/definition) This is the density of the bytecode file. It is the ratio of the number of bytes to the number of definitions in the file. Smaller numbers mean the file is more compact (denser). Larger numbers mean the file is more sparse.
Definition at line 57 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
density of global defs (bytes/definition)
Definition at line 62 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
Average density of functions (bytes/function).
Definition at line 63 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
Size of instructions in bytes.
Definition at line 64 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
Number of instructions > 4 bytes.
Definition at line 65 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::vbrCount32 |
Number of 32-bit vbr values.
Definition at line 66 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::vbrCount64 |
Number of 64-bit vbr values.
Definition at line 67 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::vbrCompBytes |
Number of vbr bytes (compressed).
Definition at line 68 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
unsigned llvm::BytecodeAnalysis::vbrExpdBytes |
Number of vbr bytes (expanded).
Definition at line 69 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
std::map<const Function*,BytecodeFunctionInfo> llvm::BytecodeAnalysis::FunctionInfo |
A mapping of function slot numbers to the collected information about the function.
Definition at line 96 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
std::string llvm::BytecodeAnalysis::VerifyInfo |
The content of the progressive verification.
Definition at line 99 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
Flags for what should be done If true, FunctionInfo has contents.
Definition at line 102 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().
If true, VerifyInfo has contents.
Definition at line 103 of file Analyzer.h.
Referenced by llvm::PrintBytecodeAnalysis().