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

Method OpLoopMerge

Source/SpireCore/SpirVCodeGen.cpp:870–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868 streamFunctionBody.Add(fb);
869 }
870 void OpLoopMerge(const int merge, const int cont)
871 {
872 sbTextFunctionBody << LR"(OpLoopMerge %)" << merge << LR"( %)" << cont << LR"( None)" << EndLine;
873
874 streamFunctionBody.Add(246 + (4 << 16));
875 streamFunctionBody.Add(merge);
876 streamFunctionBody.Add(cont);
877 streamFunctionBody.Add(0); //loop control: none
878 }
879 void OpSelectionMerge(const int merge)
880 {
881 sbTextFunctionBody << LR"(OpSelectionMerge %)" << merge << LR"( None)" << EndLine;

Callers 1

AddInstrLoopMergeMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected