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

Method OpNot

Source/SpireCore/SpirVCodeGen.cpp:1095–1103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1093 streamFunctionBody.Add(id1);
1094 }
1095 void OpNot(const int ID, const int typeID, const int valueID)
1096 {
1097 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpNot %)" << typeID << LR"( %)" << valueID << EndLine;
1098
1099 streamFunctionBody.Add(200 + (4 << 16));
1100 streamFunctionBody.Add(typeID);
1101 streamFunctionBody.Add(ID);
1102 streamFunctionBody.Add(valueID);
1103 }
1104 void OpLogicalNot(const int ID, const int typeID, const int valueID)
1105 {
1106 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpLogicalNot %)" << typeID << LR"( %)" << valueID << EndLine;

Callers 1

AddInstrNotMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected