aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Dominators.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-02-27 18:38:29 +0000
committerDan Gohman <gohman@apple.com>2008-02-27 18:38:29 +0000
commitd2ade8306162784916a8a5e5af91658e8e19ec7e (patch)
tree4ed2a40b18efb359a45cb5873c387f2978cdb066 /include/llvm/Analysis/Dominators.h
parentf54c4937deaa499a6379fd2ecd8ec2a40646342d (diff)
downloadexternal_llvm-d2ade8306162784916a8a5e5af91658e8e19ec7e.zip
external_llvm-d2ade8306162784916a8a5e5af91658e8e19ec7e.tar.gz
external_llvm-d2ade8306162784916a8a5e5af91658e8e19ec7e.tar.bz2
Add -analyze support to postdomtree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r--include/llvm/Analysis/Dominators.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 517c481..ce305d5 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -508,7 +508,10 @@ public:
///
virtual void print(std::ostream &o, const Module* ) const {
o << "=============================--------------------------------\n";
- o << "Inorder Dominator Tree: ";
+ if (this->isPostDominator())
+ o << "Inorder PostDominator Tree: ";
+ else
+ o << "Inorder Dominator Tree: ";
if (this->DFSInfoValid)
o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
o << "\n";