From e127a14991b5eefd021dd785697afb7f3f09e955 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Wed, 27 Nov 2002 17:39:37 +0000 Subject: [PATCH] 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 --- include/llvm/Analysis/DSGraph.h | 1 + include/llvm/Analysis/DataStructure/DSGraph.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/llvm/Analysis/DSGraph.h b/include/llvm/Analysis/DSGraph.h index e80e58677fb..a1725dec16c 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 e80e58677fb..a1725dec16c 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 -- 2.11.0