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

Method AddInstrLogicalNot

Source/SpireCore/SpirVCodeGen.cpp:2883–2895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2881 }
2882
2883 int AddInstrLogicalNot(ILOperand *op, int typeID, int valueID)
2884 {
2885 ++CurrentID;
2886 CodeGen.OpLogicalNot(CurrentID, typeID, valueID);
2887 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2888 CurrentID,
2889 IDInfos[typeID]().GetILType(),
2890 op,
2891 typeID
2892 );
2893 UpdateValue(op, CurrentID);
2894 return CurrentID;
2895 }
2896
2897 int AddInstrMatrixTimesScalar(ILOperand *op, int ID0, int ID1)
2898 {

Callers 1

PrintUnaryInstrMethod · 0.80

Calls 2

OpLogicalNotMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected