ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("clava.graphs.cfg.CfgBuilder");

(.lara)
import clava.graphs.cfg.CfgBuilder;

CfgBuilder

Constructor

CfgBuilder

new CfgBuilder()

Instance Members

_addAuxComments

_addAuxComments()

_cleanCfg

_cleanCfg()

_connectNodes

_connectNodes()

_createNodes

_createNodes()

Creates all nodes (except start and end), with only the leader statement


_getOrAddNode

_getOrAddNode($stmt, create, forceNodeType)

Returns the node corresponding to this statement, or creates a new one if one does not exist yet.

Parameters

$stmt: unknown
create: unknown
forceNodeType: unknown

build

build()

constructor

constructor($jp, deterministicIds)

Calculates what node is unconditionally executed after a given statement

Parameters

$jp: unknown
deterministicIds: unknown