aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-08 22:28:55 +0000
committerChris Lattner <sabre@nondot.org>2002-11-08 22:28:55 +0000
commit02fd6870c1e375bc1f1a51f1aad8f04c1dc27a2c (patch)
tree9263e1a13ac16242b6e8a77532dd4a93d9d2e888
parent70925b05698aa5f393b8718daea2276f2f7f8839 (diff)
Add another option to cloneGraph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4641 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DSGraph.h5
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h5
2 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h
index 50123dc178..26dee954be 100644
--- a/include/llvm/Analysis/DSGraph.h
+++ b/include/llvm/Analysis/DSGraph.h
@@ -140,8 +140,9 @@ public:
// CloneFlags enum - Bits that may be passed into the cloneInto method to
// specify how to clone the function graph.
enum CloneFlags {
- StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
- DontCloneCallNodes = 2 << 0, CloneCallNodes = 0 << 0,
+ StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
+ DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
+ DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
};
// cloneInto - Clone the specified DSGraph into the current graph, returning
diff --git a/include/llvm/Analysis/DataStructure/DSGraph.h b/include/llvm/Analysis/DataStructure/DSGraph.h
index 50123dc178..26dee954be 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -140,8 +140,9 @@ public:
// CloneFlags enum - Bits that may be passed into the cloneInto method to
// specify how to clone the function graph.
enum CloneFlags {
- StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
- DontCloneCallNodes = 2 << 0, CloneCallNodes = 0 << 0,
+ StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
+ DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
+ DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
};
// cloneInto - Clone the specified DSGraph into the current graph, returning