Documentation

SSA.Core.MLIRSyntax.Transform.NameMapping

@[reducible, inline]

Store the names of the raw SSA variables (as strings). The order in the list should match the order in which they appear in the code.

Equations
Instances For
    Equations
    Instances For

      Add a new name to the mapping, assuming the name is not present in the list yet. If the name is already present, return none

      Equations
      • nm.add name = match nm.lookup name with | none => some (name :: nm) | some val => none
      Instances For