diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-06-09 06:18:53 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-06-09 06:18:53 +0000 |
commit | 4502b37d7a1e5144b87c6441ccb7310e5efe80d9 (patch) | |
tree | 05e3a6ccf9f180ce0b442beccb90df54151b64b1 /include/llvm/Bytecode | |
parent | edc3b582ae2e1e26ff1b16f03f82ce47422df088 (diff) | |
download | external_llvm-4502b37d7a1e5144b87c6441ccb7310e5efe80d9.zip external_llvm-4502b37d7a1e5144b87c6441ccb7310e5efe80d9.tar.gz external_llvm-4502b37d7a1e5144b87c6441ccb7310e5efe80d9.tar.bz2 |
Add some new fields for bytecode analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bytecode')
-rw-r--r-- | include/llvm/Bytecode/Analyzer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Bytecode/Analyzer.h b/include/llvm/Bytecode/Analyzer.h index 3bc944f..b1cd009 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) |