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

Method AddInstrFwidth

Source/SpireCore/SpirVCodeGen.cpp:3280–3293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3278 }
3279
3280 int AddInstrFwidth(ILOperand *op, RefPtr<ILType> typeIL, int ID)
3281 {
3282 int typeID = DefineType(typeIL);
3283 ++CurrentID;
3284 CodeGen.OpFwidth(CurrentID, typeID, ID);
3285 IDInfos[CurrentID] = IDInfo::CreateIDInfoForValue(
3286 CurrentID,
3287 typeIL,
3288 op,
3289 typeID
3290 );
3291 UpdateValue(op, CurrentID);
3292 return CurrentID;
3293 }
3294
3295 void ProduceFunction()
3296 {

Callers 1

PrintCallInstrMethod · 0.80

Calls 1

OpFwidthMethod · 0.80

Tested by

no test coverage detected