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 /lib/Analysis/DataStructure/Printer.cpp | |
parent | 7a0b5bb7ab8ca2fa1089f1a217ea2643dc3e19af (diff) |
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 'lib/Analysis/DataStructure/Printer.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Printer.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index fd6006c2a5..26424bed07 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -36,12 +36,13 @@ static string getCaption(const DSNode *N, const DSGraph *G) { OS << "\n"; } - if (N->NodeType & DSNode::AllocaNode) OS << "A"; - if (N->NodeType & DSNode::NewNode ) OS << "N"; - if (N->NodeType & DSNode::GlobalNode) OS << "G"; - if (N->NodeType & DSNode::Incomplete) OS << "I"; - if (N->NodeType & DSNode::Modified ) OS << "M"; - if (N->NodeType & DSNode::Read ) OS << "R"; + if (N->NodeType & DSNode::AllocaNode ) OS << "A"; + if (N->NodeType & DSNode::NewNode ) OS << "N"; + if (N->NodeType & DSNode::GlobalNode ) OS << "G"; + if (N->NodeType & DSNode::UnknownNode) OS << "U"; + if (N->NodeType & DSNode::Incomplete ) OS << "I"; + if (N->NodeType & DSNode::Modified ) OS << "M"; + if (N->NodeType & DSNode::Read ) OS << "R"; for (unsigned i = 0, e = N->getGlobals().size(); i != e; ++i) { WriteAsOperand(OS, N->getGlobals()[i], false, true, M); |