Generate the ordered list of basic blocks in the |loop| and cache it for later use.
| 977 | // Generate the ordered list of basic blocks in the |loop| and cache it for |
| 978 | // later use. |
| 979 | void LoopUnrollerUtilsImpl::ComputeLoopOrderedBlocks(Loop* loop) { |
| 980 | loop_blocks_inorder_.clear(); |
| 981 | loop->ComputeLoopStructuredOrder(&loop_blocks_inorder_); |
| 982 | } |
| 983 | |
| 984 | // Adds the blocks_to_add_ to both the loop and to the parent. |
| 985 | void LoopUnrollerUtilsImpl::AddBlocksToLoop(Loop* loop) const { |
nothing calls this directly
no test coverage detected