mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-24 21:05:23 +00:00
Add basic block level properlyDominates(A,B) interface.
llvm-svn: 37497
This commit is contained in:
parent
0f3c011fd5
commit
3aece48470
@ -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…
x
Reference in New Issue
Block a user