Removes the Basic Block id |bb_id| from this loop and its parents. It the user responsibility to make sure the removed block is not a merge, header or continue block.
| 215 | // It the user responsibility to make sure the removed block is not a merge, |
| 216 | // header or continue block. |
| 217 | void RemoveBasicBlock(uint32_t bb_id) { |
| 218 | for (Loop* loop = this; loop != nullptr; loop = loop->parent_) { |
| 219 | loop->loop_basic_blocks_.erase(bb_id); |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | // Removes all the basic blocks from the set of basic blocks within the loop. |
| 224 | // This does not affect any of the stored pointers to the header, preheader, |
no test coverage detected