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

Method AddInstrConvertUToS

Source/SpireCore/SpirVCodeGen.cpp:2801–2812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2799 }
2800
2801 int AddInstrConvertUToS(int destTypeID, int operandID)
2802 {
2803 ++CurrentID;
2804 CodeGen.OpBitCast(CurrentID, destTypeID, operandID);
2805 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2806 CurrentID,
2807 IDInfos[destTypeID]().GetILType(),
2808 0,
2809 destTypeID
2810 );
2811 return CurrentID;
2812 }
2813
2814 int AddInstrBitcast(int destTypeID, int operandID)
2815 {

Callers

nothing calls this directly

Calls 2

OpBitCastMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected