Skip to content

DominatorTreesAndDominanceFrontiers::ControlFlowGraph::getNode

given a node id (and which numbering scheme to use), return the appropriate control node

Synopsis

Declared in <src/midend/programAnalysis/staticInterproceduralSlicing/ControlFlowGraph.h>

ControlNode*
getNode(
    int id,
    ID_dir dir);

Return Value

This class is a node in the CFG. It can either be an SgNode or it can be a special entry or exit node (since there are some empty blocks in the CFG).

Parameters

Name

Description

dir

determines the ordering of id numbers

Created with MrDocs