Skip to content
Snippets Groups Projects
Commit 895ab0c5 authored by Devang Patel's avatar Devang Patel
Browse files

Add basic block level properlyDominates(A,B) interface.

llvm-svn: 37497
parent 9a4d987a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment