module greed.block


class Block

A TAC Basic Block.

method __init__

__init__(statements: List[TAC_Statement], block_id: str)

Args:

  • statements: List of TAC statements
  • block_id: Block id

property acyclic_subgraph

Returns: Subgraph with this basic block as the root node (without cycles)


property ancestors

Returns: List of ancestors blocks


property descendants

Returns: List of descendants blocks


property pred

Returns: List of predecessors blocks


property subgraph

Returns: Subgraph with this basic block as the root node (with cycles)


property succ

Returns: List of successors blocks


This file was automatically generated via lazydocs.