diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-02 00:36:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-02 00:36:03 +0000 |
commit | 5af344d79d33fc5844a27e54a256b566d7017d36 (patch) | |
tree | d3c34a694b9c66f551edfc02e6958bec76b3a110 /include | |
parent | 7a0b5bb7ab8ca2fa1089f1a217ea2643dc3e19af (diff) | |
download | llvm-5af344d79d33fc5844a27e54a256b566d7017d36.tar.gz llvm-5af344d79d33fc5844a27e54a256b566d7017d36.tar.bz2 llvm-5af344d79d33fc5844a27e54a256b566d7017d36.tar.xz |
Implement the "unknown flag" which mainly consists of aligning printing code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DSNode.h | 15 | ||||
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSNode.h | 15 |
2 files changed, 16 insertions, 14 deletions
diff --git a/include/llvm/Analysis/DSNode.h b/include/llvm/Analysis/DSNode.h index 0d5a0dfa38..74fd5afe53 100644 --- a/include/llvm/Analysis/DSNode.h +++ b/include/llvm/Analysis/DSNode.h @@ -61,13 +61,14 @@ class DSNode { void operator=(const DSNode &); // DO NOT IMPLEMENT public: enum NodeTy { - ShadowNode = 0, // Nothing is known about this node... - AllocaNode = 1 << 0, // This node was allocated with alloca - NewNode = 1 << 1, // This node was allocated with malloc - GlobalNode = 1 << 2, // This node was allocated by a global var decl - Incomplete = 1 << 3, // This node may not be complete - Modified = 1 << 4, // This node is modified in this context - Read = 1 << 5, // This node is read in this context + ShadowNode = 0, // Nothing is known about this node... + AllocaNode = 1 << 0, // This node was allocated with alloca + NewNode = 1 << 1, // This node was allocated with malloc + GlobalNode = 1 << 2, // This node was allocated by a global var decl + UnknownNode = 1 << 3, // This node points to unknown allocated memory + Incomplete = 1 << 4, // This node may not be complete + Modified = 1 << 5, // This node is modified in this context + Read = 1 << 6, // This node is read in this context }; /// 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 0d5a0dfa38..74fd5afe53 100644 --- a/include/llvm/Analysis/DataStructure/DSNode.h +++ b/include/llvm/Analysis/DataStructure/DSNode.h @@ -61,13 +61,14 @@ class DSNode { void operator=(const DSNode &); // DO NOT IMPLEMENT public: enum NodeTy { - ShadowNode = 0, // Nothing is known about this node... - AllocaNode = 1 << 0, // This node was allocated with alloca - NewNode = 1 << 1, // This node was allocated with malloc - GlobalNode = 1 << 2, // This node was allocated by a global var decl - Incomplete = 1 << 3, // This node may not be complete - Modified = 1 << 4, // This node is modified in this context - Read = 1 << 5, // This node is read in this context + ShadowNode = 0, // Nothing is known about this node... + AllocaNode = 1 << 0, // This node was allocated with alloca + NewNode = 1 << 1, // This node was allocated with malloc + GlobalNode = 1 << 2, // This node was allocated by a global var decl + UnknownNode = 1 << 3, // This node points to unknown allocated memory + Incomplete = 1 << 4, // This node may not be complete + Modified = 1 << 5, // This node is modified in this context + Read = 1 << 6, // This node is read in this context }; /// NodeType - A union of the above bits. "Shadow" nodes do not add any flags |