aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-02-01 03:28:26 +0000
committerChris Lattner <sabre@nondot.org>2003-02-01 03:28:26 +0000
commitcb98327142f46a59246caa32f5b2f4dad3b48af0 (patch)
tree4e68a883b5ebed1b4e4884ffe7177545d5c7d801
parent0eea1d5b7e798f797d462b760074cc8102437177 (diff)
Add new composition mask
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5454 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DSNode.h2
-rw-r--r--include/llvm/Analysis/DataStructure/DSNode.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DSNode.h b/include/llvm/Analysis/DSNode.h
index cf298a234e..5edbd72f83 100644
--- a/include/llvm/Analysis/DSNode.h
+++ b/include/llvm/Analysis/DSNode.h
@@ -62,6 +62,8 @@ public:
#if 1
DEAD = 1 << 8, // This node is dead and should not be pointed to
#endif
+
+ Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode,
};
/// NodeType - A union of the above bits. "Shadow" nodes do not add any flags
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h
index cf298a234e..5edbd72f83 100644
--- a/include/llvm/Analysis/DataStructure/DSNode.h
+++ b/include/llvm/Analysis/DataStructure/DSNode.h
@@ -62,6 +62,8 @@ public:
#if 1
DEAD = 1 << 8, // This node is dead and should not be pointed to
#endif
+
+ Composition = AllocaNode | HeapNode | GlobalNode | UnknownNode,
};
/// NodeType - A union of the above bits. "Shadow" nodes do not add any flags