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

Method erase

GPCS4/Graphics/Gcn/ControlFlowGraph/GcnStackifier.cpp:572–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570 }
571
572 void GcnTokenListOptimizer::erase(GcnToken* token)
573 {
574 uint32_t depth = m_iterStack.size();
575 for (uint32_t i = 0; i != depth; ++i)
576 {
577 if (token->getIterator() == m_iterStack[i])
578 {
579 m_removeFlagStack[i] = true;
580 ++m_iterStack[i];
581 }
582 }
583 m_tokens->erase(token);
584 }
585
586 void GcnTokenListOptimizer::removeEmptyIfs()
587 {

Callers 5

divergeCodeMethod · 0.45
verifyMethod · 0.45
processVertexMethod · 0.45
moveOutwardIfMethod · 0.45
moveOutwardLoopMethod · 0.45

Calls 2

getIteratorMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected