to_ssa: Convert Blocks to Static Single-Assignment Form

View source: R/to_ssa.R

to_ssaR Documentation

Convert Blocks to Static Single-Assignment Form

Description

This function converts code blocks to static single-assignment form.

Usage

to_ssa(node, cfg = compute_cfg(node), dom_t = dominator_tree(cfg, 2),
  in_place = FALSE, ...)

Arguments

node

A Function or BlocksList object.

cfg

(igraph) The control flow graph for the code.

dom_t

(igraph) The dominator tree for the code.

in_place

(logical) Modify the node in-place? If FALSE, the node is copied.

...

Additional arguments to methods.

Details

This function modifies the blocks in place.

Value

NULL, because this function modifies the blocks in place.


nick-ulle/ast documentation built on May 14, 2024, 7:40 p.m.