Debian Codegraph @

lib/mlrisc-lib/MLRISC/SSA/ssa-ccp-basis.sig

raw
1 (*
2 * This module performs a conditional constant propagation analysis
3 * No update to the SSA graph is performed.
4 *
5 * -- Allen ([email protected])
6 *)
7 signature SSA_CONDITIONAL_CONSTANT_PROPAGATION =
8 sig
9 structure SSA : SSA
10 structure CF : SSA_CONSTANT_FOLDING
11 sharing CF.SSA = SSA
12
13 type valueMap = CF.valnum Array.array (* SSA.value -> CF.valnum *)
14
15 val condConstProp : SSA.ssa -> valueMap
16 end