summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-17 22:13:28 +0000
committerChris Lattner <sabre@nondot.org>2002-10-17 22:13:28 +0000
commitac2de97c75393d646a9e4acdac8be5ec6a47ae10 (patch)
treee661d96847268d0815f7c771182719aa96d2eaa7 /llvm/lib/Analysis
parentb4e800aabf076a7494ea158a582f3df9270af716 (diff)
downloadbcm5719-llvm-ac2de97c75393d646a9e4acdac8be5ec6a47ae10.tar.gz
bcm5719-llvm-ac2de97c75393d646a9e4acdac8be5ec6a47ae10.zip
Print Mod/ref info
llvm-svn: 4224
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/DataStructure/Printer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Printer.cpp b/llvm/lib/Analysis/DataStructure/Printer.cpp
index dade3f750a5..8b29c1c6c0b 100644
--- a/llvm/lib/Analysis/DataStructure/Printer.cpp
+++ b/llvm/lib/Analysis/DataStructure/Printer.cpp
@@ -39,6 +39,8 @@ static string getCaption(const DSNode *N, const DSGraph *G) {
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";
for (unsigned i = 0, e = N->getGlobals().size(); i != e; ++i) {
WriteAsOperand(OS, N->getGlobals()[i], false, true, M);
OpenPOWER on IntegriCloud