[llvm-commits] CVS: llvm/include/llvm/Analysis/DSGraph.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 22 19:43:04 PST 2004
Changes in directory llvm/include/llvm/Analysis:
DSGraph.h updated: 1.66 -> 1.67
---
Log message:
Add new flag, other minor modifications
---
Diffs of the changes: (+7 -5)
Index: llvm/include/llvm/Analysis/DSGraph.h
diff -u llvm/include/llvm/Analysis/DSGraph.h:1.66 llvm/include/llvm/Analysis/DSGraph.h:1.67
--- llvm/include/llvm/Analysis/DSGraph.h:1.66 Thu Jan 22 10:56:13 2004
+++ llvm/include/llvm/Analysis/DSGraph.h Thu Jan 22 19:42:32 2004
@@ -240,18 +240,19 @@
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0,
StripModRefBits = 1 << 3, KeepModRefBits = 0,
StripIncompleteBit = 1 << 4, KeepIncompleteBit = 0,
+ UpdateInlinedGlobals = 1 << 5, DontUpdateInlinedGlobals = 0,
};
private:
void cloneReachableNodes(const DSNode* Node, unsigned BitsToClear,
- NodeMapTy& OldNodeMap);
+ NodeMapTy& OldNodeMap, GlobalSetTy &Globals);
public:
void updateFromGlobalGraph();
- void cloneReachableSubgraph(const DSGraph& G,
- const hash_set<const DSNode*>& RootNodes,
- NodeMapTy& OldNodeMap,
+ void cloneReachableSubgraph(const DSGraph &G,
+ hash_set<const DSNode*> &RootNodes,
+ NodeMapTy &OldNodeMap,
unsigned CloneFlags = 0);
@@ -289,7 +290,8 @@
///
/// The CloneFlags member controls various aspects of the cloning process.
///
- void clonePartiallyInto(const DSGraph &G, Function &F, const DSNodeHandle &RetVal,
+ void clonePartiallyInto(const DSGraph &G, Function &F,
+ const DSNodeHandle &RetVal,
const ScalarMapTy &ValBindings, NodeMapTy &OldNodeMap,
unsigned CloneFlags = 0);
More information about the llvm-commits
mailing list