Averest


BasicBlock Type

BasicBlock is a record to hold the data of a basic block of the CDFG of a cmd program. rdVars and wrVars hold the sets of variables that were read and written by that basic block, cmdProg is the program of that basic block, and actDepGraph is its action dependency graph. nextBBs is the set of successor basic blocks (either one or two). Finally, lineBegin and lineEnd are the first and last lines of the cmd program that belong to this basic block.

Record fields

Record Field Description

actDepGraph

Full Usage: actDepGraph

Field type: Map<int, Set<int>>

Field type: Map<int, Set<int>>

cmdProg

Full Usage: cmdProg

Field type: Map<int, CmdType>

Field type: Map<int, CmdType>

lineBegin

Full Usage: lineBegin

Field type: int

Field type: int

lineEnd

Full Usage: lineEnd

Field type: int

Field type: int

nextBBs

Full Usage: nextBBs

Field type: Set<int>

Field type: Set<int>

rdVars

Full Usage: rdVars

Field type: Set<string>

Field type: Set<string>

wrVars

Full Usage: wrVars

Field type: Set<string>

Field type: Set<string>