From 4502b37d7a1e5144b87c6441ccb7310e5efe80d9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 9 Jun 2004 06:18:53 +0000 Subject: [PATCH] Add some new fields for bytecode analysis. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14092 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bytecode/Analyzer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/llvm/Bytecode/Analyzer.h b/include/llvm/Bytecode/Analyzer.h index 3bc944f62f6..b1cd009fef4 100644 --- a/include/llvm/Bytecode/Analyzer.h +++ b/include/llvm/Bytecode/Analyzer.h @@ -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)