aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Dominators.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-09-23 22:16:38 +0000
committerOwen Anderson <resistor@mac.com>2007-09-23 22:16:38 +0000
commit421f1cc16eb59bcf1d7a0ef95afe8293fdf61367 (patch)
treebd144482772d1380b70861b38b1a6afcd3441534 /include/llvm/Analysis/Dominators.h
parent2842252a8650bc50762cc35f43d55d8b31c3d807 (diff)
downloadexternal_llvm-421f1cc16eb59bcf1d7a0ef95afe8293fdf61367.zip
external_llvm-421f1cc16eb59bcf1d7a0ef95afe8293fdf61367.tar.gz
external_llvm-421f1cc16eb59bcf1d7a0ef95afe8293fdf61367.tar.bz2
Move DFSPass back down into DominatorTree. I need to figure out what the difference is between it
and the PostDomTree version first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r--include/llvm/Analysis/Dominators.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index eec87d4..f4c31a5 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -129,7 +129,6 @@ protected:
// Info - Collection of information used during the computation of idoms.
DenseMap<BasicBlock*, InfoRec> Info;
- unsigned DFSPass(BasicBlock *V, unsigned N);
public:
DominatorTreeBase(intptr_t ID, bool isPostDom)
@@ -319,6 +318,8 @@ private:
friend BasicBlock *DTEval(DominatorTree& DT, BasicBlock *v);
friend void DTLink(DominatorTree& DT, BasicBlock *V,
BasicBlock *W, InfoRec &WInfo);
+
+ unsigned DFSPass(BasicBlock *V, unsigned N);
};
//===-------------------------------------