[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSGraph.h

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 19 20:30:29 PST 2005



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DSGraph.h updated: 1.95 -> 1.96
---
Log message:

Remove the InlinedGlobals set which is always empty.


---
Diffs of the changes:  (+0 -14)

 DSGraph.h |   14 --------------
 1 files changed, 14 deletions(-)


Index: llvm/include/llvm/Analysis/DataStructure/DSGraph.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.95 llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.96
--- llvm/include/llvm/Analysis/DataStructure/DSGraph.h:1.95	Sat Mar 19 16:13:13 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSGraph.h	Sat Mar 19 22:30:16 2005
@@ -174,7 +174,6 @@
   // Public data-type declarations...
   typedef DSScalarMap ScalarMapTy;
   typedef hash_map<Function*, DSNodeHandle> ReturnNodesTy;
-  typedef hash_set<GlobalValue*> GlobalSetTy;
   typedef ilist<DSNode> NodeListTy;
 
   /// NodeMapTy - This data type is used when cloning one graph into another to
@@ -212,11 +211,6 @@
   //
   std::list<DSCallSite> AuxFunctionCalls;
 
-  // InlinedGlobals - This set records which globals have been inlined from
-  // other graphs (callers or callees, depending on the pass) into this one.
-  // 
-  GlobalSetTy InlinedGlobals;
-
   /// TD - This is the target data object for the machine this graph is
   /// constructed for.
   const TargetData &TD;
@@ -318,13 +312,6 @@
   afc_iterator afc_begin() const { return AuxFunctionCalls.begin(); }
   afc_iterator afc_end() const { return AuxFunctionCalls.end(); }
 
-  /// getInlinedGlobals - Get the set of globals that are have been inlined
-  /// (from callees in BU or from callers in TD) into the current graph.
-  ///
-  GlobalSetTy& getInlinedGlobals() {
-    return InlinedGlobals;
-  }
-
   /// getNodeForValue - Given a value that is used or defined in the body of the
   /// current function, return the DSNode that it points to.
   ///
@@ -443,7 +430,6 @@
     DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0,
     StripModRefBits       = 1 << 3, KeepModRefBits    = 0,
     StripIncompleteBit    = 1 << 4, KeepIncompleteBit = 0,
-    UpdateInlinedGlobals  = 1 << 5, DontUpdateInlinedGlobals = 0,
   };
 
   void updateFromGlobalGraph();






More information about the llvm-commits mailing list