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

Method OpLogicalNot

Source/SpireCore/SpirVCodeGen.cpp:1104–1112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;
1107
1108 streamFunctionBody.Add(168 + (4 << 16));
1109 streamFunctionBody.Add(typeID);
1110 streamFunctionBody.Add(ID);
1111 streamFunctionBody.Add(valueID);
1112 }
1113 void OpBinaryInstr(const int ID, String opStr, const int typeID, const int ID0, const int ID1)
1114 {
1115 sbTextFunctionBody << LR"(%)" << ID << LR"( = )";

Callers 1

AddInstrLogicalNotMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected