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

Method AddInstrFunctionCall

Source/SpireCore/SpirVCodeGen.cpp:2827–2839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2825 }
2826
2827 int AddInstrFunctionCall(ILOperand *op, int typeID, int funcID, List<int> &args)
2828 {
2829 ++CurrentID;
2830 CodeGen.OpFunctionCall(CurrentID, typeID, funcID, args);
2831 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2832 CurrentID,
2833 IDInfos[typeID]().GetILType(),
2834 op,
2835 typeID
2836 );
2837 UpdateValue(op, CurrentID);
2838 return CurrentID;
2839 }
2840
2841 int AddInstrFnegate(ILOperand *op, int typeID, int valueID)
2842 {

Callers 1

PrintCallInstrMethod · 0.80

Calls 2

OpFunctionCallMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected