aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure/DSGraph.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-20 04:30:16 +0000
committerChris Lattner <sabre@nondot.org>2005-03-20 04:30:16 +0000
commit1fd7d4a67067980e6a8c6575bcf0bf59ee79be17 (patch)
treec729b6ca44a8627ca850023e73d0015c7d198671 /include/llvm/Analysis/DataStructure/DSGraph.h
parent36474c923fee694916ca6b9fad6ab65f9b9b6214 (diff)
Remove the InlinedGlobals set which is always empty.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSGraph.h')
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index 711fc25193..4463d638de 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -174,7 +174,6 @@ public:
// 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 @@ private:
//
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 @@ public:
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 @@ public:
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0,
StripModRefBits = 1 << 3, KeepModRefBits = 0,
StripIncompleteBit = 1 << 4, KeepIncompleteBit = 0,
- UpdateInlinedGlobals = 1 << 5, DontUpdateInlinedGlobals = 0,
};
void updateFromGlobalGraph();