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

Method OpSelectionMerge

Source/SpireCore/SpirVCodeGen.cpp:879–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877 streamFunctionBody.Add(0); //loop control: none
878 }
879 void OpSelectionMerge(const int merge)
880 {
881 sbTextFunctionBody << LR"(OpSelectionMerge %)" << merge << LR"( None)" << EndLine;
882
883 streamFunctionBody.Add(247 + (3 << 16));
884 streamFunctionBody.Add(merge);
885 streamFunctionBody.Add(0); //selection control: none
886 }
887 void OpPhi(const int ID, const int typeID, const List<int> branches)
888 {
889 //<branches>: (variable1, parent branch1), (variable2, parent branch2), ...

Callers 1

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected