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

Method AddInstrConvertSToU

Source/SpireCore/SpirVCodeGen.cpp:2788–2799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2786 }
2787
2788 int AddInstrConvertSToU(int destTypeID, int operandID)
2789 {
2790 ++CurrentID;
2791 CodeGen.OpBitCast(CurrentID, destTypeID, operandID);
2792 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
2793 CurrentID,
2794 IDInfos[destTypeID]().GetILType(),
2795 0,
2796 destTypeID
2797 );
2798 return CurrentID;
2799 }
2800
2801 int AddInstrConvertUToS(int destTypeID, int operandID)
2802 {

Callers

nothing calls this directly

Calls 2

OpBitCastMethod · 0.80
GetILTypeMethod · 0.80

Tested by

no test coverage detected