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

Method OpBranch

Source/SpireCore/SpirVCodeGen.cpp:854–860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

852 streamFunctionBody.Add(label);
853 }
854 void OpBranch(const int ID)
855 {
856 sbTextFunctionBody << LR"(OpBranch %)" << ID << EndLine;
857
858 streamFunctionBody.Add(249 + (2 << 16));
859 streamFunctionBody.Add(ID);
860 }
861 void OpBranchConditional(const int cond, const int tb, const int fb)
862 {
863 sbTextFunctionBody << LR"(OpBranchConditional %)" << cond << LR"( %)" << tb << LR"( %)" << fb << EndLine;

Callers 1

AddInstrBranchMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected