| 128 | } |
| 129 | |
| 130 | GcnLoop* GcnLoopInfo::getLoop(GcnCfgVertex vertex) const |
| 131 | { |
| 132 | GcnLoop* loop = nullptr; |
| 133 | auto iter = m_vertexMap.find(vertex); |
| 134 | if (iter != m_vertexMap.end()) |
| 135 | { |
| 136 | loop = iter->second; |
| 137 | } |
| 138 | return loop; |
| 139 | } |
| 140 | |
| 141 | bool GcnLoopInfo::isLoopHeader(GcnCfgVertex vtx) const |
| 142 | { |
no test coverage detected