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

Method AddInstrBitcast

Source/SpireCore/SpirVCodeGen.cpp:2814–2825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2812 }
2813
2814 int AddInstrBitcast(int destTypeID, int operandID)
2815 {
2816 ++CurrentID;
2817 CodeGen.OpBitCast(CurrentID, destTypeID, operandID);
2818 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2819 CurrentID,
2820 IDInfos[destTypeID]().GetILType(),
2821 0,
2822 destTypeID
2823 );
2824 return CurrentID;
2825 }
2826
2827 int AddInstrFunctionCall(ILOperand *op, int typeID, int funcID, List<int> &args)
2828 {

Callers 2

PrintExportInstrMethod · 0.80
PrintImportInstrMethod · 0.80

Calls 2

OpBitCastMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected