| 200 | } |
| 201 | |
| 202 | bool IsLbiOnTaskEdge(const TaskEdge* edge, const LogicalBlobId& lbi) { |
| 203 | for (const auto& regst_desc : edge->GetRegsts()) { |
| 204 | if (regst_desc->HasLbi(lbi)) { return true; } |
| 205 | } |
| 206 | return false; |
| 207 | } |
| 208 | |
| 209 | std::function<bool(const LogicalBlobId&, const std::string&)> |
| 210 | MakePredicatorIsLbiAllConsumersReachable( |
no test coverage detected