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

Method OpConvertFToU

Source/SpireCore/SpirVCodeGen.cpp:1602–1610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1600 streamFunctionBody.Add(operandID);
1601 }
1602 void OpConvertFToU(const int ID, const int typeID, const int operandID)
1603 {
1604 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpConvertFToU %)" << typeID << LR"( %)" << operandID << EndLine;
1605
1606 streamFunctionBody.Add(109 + (4 << 16));
1607 streamFunctionBody.Add(typeID);
1608 streamFunctionBody.Add(ID);
1609 streamFunctionBody.Add(operandID);
1610 }
1611 void OpConvertUToF(const int ID, const int typeID, const int operandID)
1612 {
1613 sbTextFunctionBody << LR"(%)" << ID << LR"( = OpConvertUToF %)" << typeID << LR"( %)" << operandID << EndLine;

Callers 1

AddInstrConvertFToUMethod · 0.80

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected