[llvm-commits] CVS: llvm/include/llvm/Bytecode/Analyzer.h

LLVM llvm at cs.uiuc.edu
Wed Jun 9 01:24:00 PDT 2004


Changes in directory llvm/include/llvm/Bytecode:

Analyzer.h updated: 1.3 -> 1.4

---
Log message:

Add some new fields for bytecode analysis.


---
Diffs of the changes:  (+4 -1)

Index: llvm/include/llvm/Bytecode/Analyzer.h
diff -u llvm/include/llvm/Bytecode/Analyzer.h:1.3 llvm/include/llvm/Bytecode/Analyzer.h:1.4
--- llvm/include/llvm/Bytecode/Analyzer.h:1.3	Tue Jun  8 08:49:17 2004
+++ llvm/include/llvm/Bytecode/Analyzer.h	Wed Jun  9 01:18:53 2004
@@ -29,7 +29,8 @@
 /// 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 @@
   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) 





More information about the llvm-commits mailing list