MCPcopy Create free account
hub / github.com/csyonghe/Spire / OpLabel_AtFunctionHeader

Method OpLabel_AtFunctionHeader

Source/SpireCore/SpirVCodeGen.cpp:840–846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838 streamTypeDefinition.Add(arg);
839 }
840 void OpLabel_AtFunctionHeader(const int label)
841 {
842 sbTextFunctionHeader << LR"(%)" << label << LR"( = OpLabel)" << EndLine;
843
844 streamFunctionHeader.Add(248 + (2 << 16));
845 streamFunctionHeader.Add(label);
846 }
847 void OpLabel_AtFunctionBody(const int label)
848 {
849 sbTextFunctionBody << LR"(%)" << label << LR"( = OpLabel)" << EndLine;

Callers 1

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected