| 78 | } |
| 79 | |
| 80 | bool BasicBlock::dominates(const BasicBlock& other) const { |
| 81 | return (this == &other) || |
| 82 | !(other.dom_end() == |
| 83 | std::find(other.dom_begin(), other.dom_end(), this)); |
| 84 | } |
| 85 | |
| 86 | bool BasicBlock::structurally_dominates(const BasicBlock& other) const { |
| 87 | return (this == &other) || !(other.structural_dom_end() == |
no test coverage detected