OSDN Git Service

Added flags to CloneFlags to strip/keep Mod/Ref bits when cloning a graph.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 27 Nov 2002 17:39:37 +0000 (17:39 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Wed, 27 Nov 2002 17:39:37 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4835 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DSGraph.h
include/llvm/Analysis/DataStructure/DSGraph.h

index e80e586..a1725de 100644 (file)
@@ -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
index e80e586..a1725de 100644 (file)
@@ -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