mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +00:00
Add an isReachableFromEntry to MachineDominators, following the one
in Dominators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100454 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2952c86c60
commit
54ab2e9326
@ -157,6 +157,11 @@ public:
|
||||
DT->splitBlock(NewBB);
|
||||
}
|
||||
|
||||
/// isReachableFromEntry - Return true if A is dominated by the entry
|
||||
/// block of the function containing it.
|
||||
bool isReachableFromEntry(MachineBasicBlock *A) {
|
||||
return DT->isReachableFromEntry(A);
|
||||
}
|
||||
|
||||
virtual void releaseMemory();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user