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

Method UpdateValue

Source/SpireCore/SpirVCodeGen.cpp:1914–1919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1912 // There is no relation between VariableNameToStorageID and ValueIDToVariableNames.
1913
1914 void UpdateValue(ILOperand *op, int id)
1915 {
1916 if (op == nullptr)
1917 return;
1918 StackVariableNameToValueID.Last()[op] = id;
1919 }
1920
1921 int FindValueID(ILOperand *op)
1922 {

Callers 3

PrintCallInstrMethod · 0.80
PrintUnaryInstrMethod · 0.80
PrintBinaryInstrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected