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

Method AddInstrNot

Source/SpireCore/SpirVCodeGen.cpp:2869–2881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2867 }
2868
2869 int AddInstrNot(ILOperand *op, int typeID, int valueID)
2870 {
2871 ++CurrentID;
2872 CodeGen.OpNot(CurrentID, typeID, valueID);
2873 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2874 CurrentID,
2875 IDInfos[typeID]().GetILType(),
2876 op,
2877 typeID
2878 );
2879 UpdateValue(op, CurrentID);
2880 return CurrentID;
2881 }
2882
2883 int AddInstrLogicalNot(ILOperand *op, int typeID, int valueID)
2884 {

Callers 1

PrintUnaryInstrMethod · 0.80

Calls 2

OpNotMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected