*** empty log message ***
authorChris Lattner <sabre@nondot.org>
Fri, 26 Jul 2002 21:11:42 +0000 (21:11 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Jul 2002 21:11:42 +0000 (21:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3111 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/CallGraph.h
include/llvm/Analysis/DataStructure.h
include/llvm/Analysis/DataStructure/DataStructure.h
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/FindUnsafePointerTypes.h
include/llvm/Analysis/FindUsedTypes.h
include/llvm/Analysis/IntervalPartition.h
include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
include/llvm/Analysis/LoopInfo.h
include/llvm/CodeGen/FunctionLiveVarInfo.h

index 7e8ff9e08c2d0d487e7aff0cddd35884d3282622..3305c8526e7b2a9fb51e02ca7171badfe8ebca1d 100644 (file)
@@ -126,8 +126,6 @@ public:
   CallGraph() : Root(0) {}
   ~CallGraph() { destroy(); }
 
-  virtual const char *getPassName() const { return "Call Graph Construction"; }
-
   // run - Compute the call graph for the specified module.
   virtual bool run(Module &M);
 
index d4e61db64b98227628fff172d6addea652696ef5..c611574eadfc426568575044278bcec7587e3635 100644 (file)
@@ -332,10 +332,6 @@ public:
 
   ~LocalDataStructures() { releaseMemory(); }
 
-  virtual const char *getPassName() const {
-    return "Local Data Structure Analysis";
-  }
-
   virtual bool run(Module &M);
 
   // getDSGraph - Return the data structure graph for the specified function.
@@ -371,10 +367,6 @@ public:
 
   ~BUDataStructures() { releaseMemory(); }
 
-  virtual const char *getPassName() const {
-    return "Bottom-Up Data Structure Analysis Closure";
-  }
-
   virtual bool run(Module &M);
 
   // getDSGraph - Return the data structure graph for the specified function.
index d4e61db64b98227628fff172d6addea652696ef5..c611574eadfc426568575044278bcec7587e3635 100644 (file)
@@ -332,10 +332,6 @@ public:
 
   ~LocalDataStructures() { releaseMemory(); }
 
-  virtual const char *getPassName() const {
-    return "Local Data Structure Analysis";
-  }
-
   virtual bool run(Module &M);
 
   // getDSGraph - Return the data structure graph for the specified function.
@@ -371,10 +367,6 @@ public:
 
   ~BUDataStructures() { releaseMemory(); }
 
-  virtual const char *getPassName() const {
-    return "Bottom-Up Data Structure Analysis Closure";
-  }
-
   virtual bool run(Module &M);
 
   // getDSGraph - Return the data structure graph for the specified function.
index 9df1e656392bae83ae1d41c60a4b06ef18afa195..154b31ddd5a44d5e52e3c9049e573fa74827e354 100644 (file)
@@ -98,10 +98,6 @@ struct DominatorSet : public DominatorSetBase {
 
   DominatorSet() : DominatorSetBase(false) {}
 
-  virtual const char *getPassName() const {
-    return "Dominator Set Construction";
-  }
-
   virtual bool runOnFunction(Function &F);
 
   // getAnalysisUsage - This simply provides a dominator set
@@ -121,10 +117,6 @@ struct PostDominatorSet : public DominatorSetBase {
 
   PostDominatorSet() : DominatorSetBase(true) {}
 
-  virtual const char *getPassName() const {
-    return "Post-Dominator Set Construction";
-  }
-
   virtual bool runOnFunction(Function &F);
 
   // getAnalysisUsage - This obviously provides a dominator set, but it also
@@ -176,10 +168,6 @@ struct ImmediateDominators : public ImmediateDominatorsBase {
 
   ImmediateDominators() : ImmediateDominatorsBase(false) {}
 
-  virtual const char *getPassName() const {
-    return "Immediate Dominators Construction";
-  }
-
   virtual bool runOnFunction(Function &F) {
     IDoms.clear();     // Reset from the last time we were run...
     DominatorSet &DS = getAnalysis<DominatorSet>();
@@ -205,10 +193,6 @@ struct ImmediatePostDominators : public ImmediateDominatorsBase {
 
   ImmediatePostDominators() : ImmediateDominatorsBase(true) {}
 
-  virtual const char *getPassName() const {
-    return "Immediate Post-Dominators Construction";
-  }
-
   virtual bool runOnFunction(Function &F) {
     IDoms.clear();     // Reset from the last time we were run...
     PostDominatorSet &DS = getAnalysis<PostDominatorSet>();
@@ -287,10 +271,6 @@ struct DominatorTree : public DominatorTreeBase {
 
   DominatorTree() : DominatorTreeBase(false) {}
 
-  virtual const char *getPassName() const {
-    return "Dominator Tree Construction";
-  }
-
   virtual bool runOnFunction(Function &F) {
     reset();     // Reset from the last time we were run...
     DominatorSet &DS = getAnalysis<DominatorSet>();
@@ -318,10 +298,6 @@ struct PostDominatorTree : public DominatorTreeBase {
 
   PostDominatorTree() : DominatorTreeBase(true) {}
 
-  virtual const char *getPassName() const {
-    return "Post-Dominator Tree Construction";
-  }
-
   virtual bool runOnFunction(Function &F) {
     reset();     // Reset from the last time we were run...
     PostDominatorSet &DS = getAnalysis<PostDominatorSet>();
@@ -372,10 +348,6 @@ struct DominanceFrontier : public DominanceFrontierBase {
 
   DominanceFrontier() : DominanceFrontierBase(false) {}
 
-  virtual const char *getPassName() const {
-    return "Dominance Frontier Construction";
-  }
-
   virtual bool runOnFunction(Function &) {
     Frontiers.clear();
     DominatorTree &DT = getAnalysis<DominatorTree>();
@@ -405,10 +377,6 @@ struct PostDominanceFrontier : public DominanceFrontierBase {
 
   PostDominanceFrontier() : DominanceFrontierBase(true) {}
 
-  virtual const char *getPassName() const {
-    return "Post-Dominance Frontier Construction";
-  }
-
   virtual bool runOnFunction(Function &) {
     Frontiers.clear();
     PostDominatorTree &DT = getAnalysis<PostDominatorTree>();
index b4aa919b57043feb09ef7008dca95e1945fe0b4d..038d7639c3b5b96e7baf42cacf0e5da75d046876 100644 (file)
@@ -28,10 +28,6 @@ struct FindUnsafePointerTypes : public Pass {
 public:
   static AnalysisID ID;    // We are an analysis, we must have an ID
 
-  FindUnsafePointerTypes() {}
-
-  virtual const char *getPassName() const { return "Find Unsafe Pointer Types";}
-
   // Accessor for underlying type set...
   inline const std::set<PointerType*> &getUnsafeTypes() const {
     return UnsafeTypes;
index 4e5e0512561535e2aff86b2fcbea8ab82f123407..4888dda39359cf5cdc08f56e43f3d573c14fb3e1 100644 (file)
@@ -20,13 +20,10 @@ public:
   //
   static AnalysisID ID;
 
-  FindUsedTypes() {}
-  virtual const char *getPassName() const { return "Find Used Types"; }
-
   // getTypes - After the pass has been run, return the set containing all of
   // the types used in the module.
   //
-  inline const std::set<const Type *> &getTypes() const { return UsedTypes; }
+  const std::set<const Type *> &getTypes() const { return UsedTypes; }
 
   // Print the types found in the module.  If the optional Module parameter is
   // passed in, then the types are printed symbolically if possible, using the
index 307a70a87cd9e5016cc91c974e4f0bda4b762c9b..f21083f3bb400fc63515a70660b912cdc4811a12 100644 (file)
@@ -39,8 +39,6 @@ public:
 
   IntervalPartition() : RootInterval(0) {}
 
-  const char *getPassName() const { return "Interval Partition Construction"; }
-
   // run - Calculate the interval partition for this function
   virtual bool runOnFunction(Function &F);
 
index 38cb3f09e3e4cf6ba12ffb0424b138d0bab7f50f..ac21a26633366fc67cfa092c30e51148fb023d48 100644 (file)
@@ -58,8 +58,8 @@
 */
 
 
-#ifndef METH_LIVE_VAR_INFO_H
-#define METH_LIVE_VAR_INFO_H
+#ifndef FUNCTION_LIVE_VAR_INFO_H
+#define FUNCTION_LIVE_VAR_INFO_H
 
 #include "llvm/Pass.h"
 #include "llvm/Analysis/LiveVar/ValueSet.h"
@@ -91,8 +91,6 @@ class FunctionLiveVarInfo : public FunctionPass {
 public:
   static AnalysisID ID;    // We are an analysis, we must have an ID
 
-  virtual const char *getPassName() const { return "Live Variable Analysis"; }
-
   // --------- Implement the FunctionPass interface ----------------------
 
   // runOnFunction - Perform analysis, update internal data structures.
index c04dcfa5d18e6c609c72d3b339372cec24b42796..03eda2973a4e6406ceff81646b61fc40b982c82c 100644 (file)
@@ -71,8 +71,6 @@ public:
   // LoopInfo ctor - Calculate the natural loop information for a CFG
   ~LoopInfo() { releaseMemory(); }
 
-  const char *getPassName() const { return "Natural Loop Analysis"; }
-
   const std::vector<Loop*> &getTopLevelLoops() const { return TopLevelLoops; }
 
   // getLoopFor - Return the inner most loop that BB lives in.  If a basic block
index 38cb3f09e3e4cf6ba12ffb0424b138d0bab7f50f..ac21a26633366fc67cfa092c30e51148fb023d48 100644 (file)
@@ -58,8 +58,8 @@
 */
 
 
-#ifndef METH_LIVE_VAR_INFO_H
-#define METH_LIVE_VAR_INFO_H
+#ifndef FUNCTION_LIVE_VAR_INFO_H
+#define FUNCTION_LIVE_VAR_INFO_H
 
 #include "llvm/Pass.h"
 #include "llvm/Analysis/LiveVar/ValueSet.h"
@@ -91,8 +91,6 @@ class FunctionLiveVarInfo : public FunctionPass {
 public:
   static AnalysisID ID;    // We are an analysis, we must have an ID
 
-  virtual const char *getPassName() const { return "Live Variable Analysis"; }
-
   // --------- Implement the FunctionPass interface ----------------------
 
   // runOnFunction - Perform analysis, update internal data structures.