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

Method OpName

Source/SpireCore/SpirVCodeGen.cpp:1792–1801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1790 }
1791
1792 void OpName(int ID, String Name)
1793 {
1794 sbDebug << LR"(OpName %)" << ID << LR"( ")" << Name << LR"(")" << EndLine;
1795
1796 int len_i = streamDebug.Count();
1797 streamDebug.Add(0);
1798 streamDebug.Add(ID);
1799 int len = EncodeString(streamDebug, Name);
1800 streamDebug[len_i] = 5 + ((2 + len) << 16);
1801 }
1802
1803 void OpMemberName(int ID, int index, String Name)
1804 {

Callers 4

DefineTypeMethod · 0.80
AddInstrFunctionMethod · 0.80

Calls 2

CountMethod · 0.45
AddMethod · 0.45

Tested by

no test coverage detected