mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Add some new fields for bytecode analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edc3b582ae
commit
4502b37d7a
@ -29,7 +29,8 @@ namespace llvm {
|
||||
/// results.
|
||||
/// @brief Bytecode Analysis results structure
|
||||
struct BytecodeAnalysis {
|
||||
unsigned byteSize; ///< The size of the bytecode file in bytes
|
||||
std::string ModuleId; ///< Identification of the module
|
||||
unsigned byteSize; ///< The size of the bytecode file in bytes
|
||||
unsigned numTypes; ///< The number of types
|
||||
unsigned numValues; ///< The number of values
|
||||
unsigned numFunctions; ///< The number of functions defined
|
||||
@ -38,6 +39,8 @@ struct BytecodeAnalysis {
|
||||
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 maxTypeSlot; ///< The maximum slot number for types
|
||||
unsigned maxValueSlot; ///< The maximum slot number for values
|
||||
double density; ///< Density of file (bytes/defs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user