Return true if ThisBlock is reached after OtherBlock in the CFG.
Declared in <llvm/Transforms/Utils/CodeMoverUtils.h>
bool
nonStrictlyPostDominate(
BasicBlock const* ThisBlock,
BasicBlock const* OtherBlock,
DominatorTree const* DT,
PostDominatorTree const* PDT);
In case that two BBs ThisBlock and OtherBlock are control flow equivalent but they do not strictly dominate and post-dominate each other, we determine if ThisBlock is reached after OtherBlock in the control flow.
True if ThisBlock is reached after OtherBlock in the CFG.
| Name | Description |
|---|---|
| ThisBlock | Block that may be reached later. |
| OtherBlock | Block that may be reached earlier. |
| DT | Dominator tree used to find a common dominator. |
| PDT | Post-dominator tree used to order the blocks. |