Mark the loop |loop_to_add| as needing to be added when the user calls PostModificationCleanup. |parent| may be null.
| 507 | // Mark the loop |loop_to_add| as needing to be added when the user calls |
| 508 | // PostModificationCleanup. |parent| may be null. |
| 509 | inline void AddLoop(std::unique_ptr<Loop>&& loop_to_add, Loop* parent) { |
| 510 | loops_to_add_.emplace_back(std::make_pair(parent, std::move(loop_to_add))); |
| 511 | } |
| 512 | |
| 513 | // Creates pre-header blocks for all loops in the function that do not have |
| 514 | // one. Returns `LoopDescriptor::Status::kSuccessWithChange` if any change is |
no test coverage detected