Factor the dominator tree calculation details out into DominatorCalculation.h. This
authorOwen Anderson <resistor@mac.com>
Sun, 23 Sep 2007 21:31:44 +0000 (21:31 +0000)
committerOwen Anderson <resistor@mac.com>
Sun, 23 Sep 2007 21:31:44 +0000 (21:31 +0000)
commitd20c824b201b1408d7ea7a4e2d601aee14db5cec
tree32d27a02df3a1cdae2c7164770979e6bf9668a00
parentc557a9c00a579417ed7125ee2c998d29572b5144
Factor the dominator tree calculation details out into DominatorCalculation.h.  This
change is not useful in and of itself, but it lays the groundwork for combining
the dominator and postdominator implementations.

Also, factor a few methods that are common to DominatorTree and PostDominatorTree
into DominatorTreeBase.  Again, this will make merging the two calculation methods
simpler in the future.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42248 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/Dominators.h
include/llvm/Analysis/PostDominators.h
lib/VMCore/DominatorCalculation.h [new file with mode: 0644]
lib/VMCore/Dominators.cpp