forked from OSchip/llvm-project
Add basic block level properlyDominates(A,B) interface.
llvm-svn: 37497
This commit is contained in:
parent
9a4d987a5f
commit
895ab0c570
|
@ -160,6 +160,10 @@ protected:
|
|||
return dominatedBySlowTreeWalk(A, B);
|
||||
}
|
||||
|
||||
inline bool properlyDominates(BasicBlock *A, BasicBlock *B) {
|
||||
return properlyDominates(getNode(A), getNode(B));
|
||||
}
|
||||
|
||||
bool dominatedBySlowTreeWalk(const DomTreeNode *A,
|
||||
const DomTreeNode *B) const {
|
||||
const DomTreeNode *IDom;
|
||||
|
|
Loading…
Reference in New Issue