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.
Declared in <llvm/Transforms/Utils/CodeMoverUtils.h>
bool
nonStrictlyPostDominate(
BasicBlock const* ThisBlock,
BasicBlock const* OtherBlock,
DominatorTree const* DT,
PostDominatorTree const* PDT);
| Name | Description |
|---|---|
| ThisBlock | LLVM Basic Block Representation |
| OtherBlock | LLVM Basic Block Representation |
| DT | Concrete subclass of DominatorTreeBase that is used to compute a normal dominator tree. |
| PDT | PostDominatorTree Class - Concrete subclass of DominatorTree that is used to compute the post-dominator tree. |