aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-11-27 17:39:37 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-11-27 17:39:37 +0000
commite127a14991b5eefd021dd785697afb7f3f09e955 (patch)
tree09419d8441fd8e75f8d1ed576882e9bebf09eea6 /include
parentf443e6698f23001b35d1f905eb7b84a4076e3d20 (diff)
downloadexternal_llvm-e127a14991b5eefd021dd785697afb7f3f09e955.zip
external_llvm-e127a14991b5eefd021dd785697afb7f3f09e955.tar.gz
external_llvm-e127a14991b5eefd021dd785697afb7f3f09e955.tar.bz2
Added flags to CloneFlags to strip/keep Mod/Ref bits when cloning a graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DSGraph.h1
-rw-r--r--include/llvm/Analysis/DataStructure/DSGraph.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h
index e80e586..a1725de 100644
--- a/include/llvm/Analysis/DSGraph.h
+++ b/include/llvm/Analysis/DSGraph.h
@@ -153,6 +153,7 @@ public:
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
+ StripModRefBits = 1 << 3, KeepModRefBits = 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 e80e586..a1725de 100644
--- a/include/llvm/Analysis/DataStructure/DSGraph.h
+++ b/include/llvm/Analysis/DataStructure/DSGraph.h
@@ -153,6 +153,7 @@ public:
StripAllocaBit = 1 << 0, KeepAllocaBit = 0 << 0,
DontCloneCallNodes = 1 << 1, CloneCallNodes = 0 << 0,
DontCloneAuxCallNodes = 1 << 2, CloneAuxCallNodes = 0 << 0,
+ StripModRefBits = 1 << 3, KeepModRefBits = 0 << 0,
};
// cloneInto - Clone the specified DSGraph into the current graph, returning