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

Method makeCode

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

Source from the content-addressed store, hash-verified

383 }
384
385 GcnToken* GcnTokenListBuilder::makeCode(GcnCfgVertex vtx)
386 {
387 const auto& block = m_cfg[vtx];
388
389 GcnTokenCode code;
390 code.vertexId = vtx;
391 code.pc = block.pcBegin;
392 code.insList = block.insList;
393 return m_factory.createCode(std::move(code));
394 }
395
396 GcnToken* GcnTokenListBuilder::makeIf(GcnCfgVertex vtx)
397 {

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
createCodeMethod · 0.80

Tested by

no test coverage detected