MCPcopy Create free account
hub / github.com/Inori/GPCS4 / getLoop

Method getLoop

GPCS4/Graphics/Gcn/ControlFlowGraph/GcnLoopInfo.cpp:130–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 4

processLoopScopesMethod · 0.80
popScopesMethod · 0.80
isBackedgeMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected