ssa_set_numbers: Set SSA Numbers on Symbols

Description Usage Arguments Details

View source: R/to_ssa.R

Description

This function sets the SSA numbers on Symbols in code.

Usage

1
ssa_set_numbers(node, cfg, dom_t, blocks, active, counter, ...)

Arguments

node

(Function) The code object to number.

cfg

(igraph) The control flow graph.

dom_t

(igraph) The dominator tree for the CFG.

blocks

(list) The blocks in the control flow graph.

active

(integer) A vector of active SSA numbers, set by previous blocks.

counter

(Counter) A counter to generate unique SSA numbers.

...

Additional arguments to methods.

Details

Generally, this function should only be called from to_ssa().


nick-ulle/ast documentation built on July 17, 2018, 4:16 a.m.