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

Method OpStore

Source/SpireCore/SpirVCodeGen.cpp:1357–1364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1355 streamFunctionBody.Add(arg);
1356 }
1357 void OpStore(const int op0, const int op1)
1358 {
1359 sbTextFunctionBody << LR"(OpStore %)" << op0 << LR"( %)" << op1 << EndLine;
1360
1361 streamFunctionBody.Add(62 + (3 << 16));
1362 streamFunctionBody.Add(op0);
1363 streamFunctionBody.Add(op1);
1364 }
1365 void OpLoad(const int ID, const int typeID, const int variableID, const MemoryAccess ma)
1366 {
1367 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpLoad %)" << typeID << LR"( %)"

Callers 1

AddInstrStoreMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected