Module Dominance
Provides dominance predicates for control-flow nodes.
These variations of the dominance relation are used for computing SSA
form. Formally, a node d
dominates a node n
if all paths from the
function entry point to n
go through d
; this applies within a function
and only for nodes reachable from the entry point. Unreachable nodes are not
part the dominance relation.
Import path
import semmle.code.cpp.controlflow.Dominance
Imports
cpp |
Provides classes and predicates for working with C/C++ code. |
Predicates
bbDominates |
Holds if |
bbIDominates |
Holds if |
bbIPostDominates |
Holds if |
bbPostDominates |
Holds if |
bbStrictlyDominates |
Holds if |
bbStrictlyPostDominates |
Holds if |
dominates |
Holds if |
functionEntry |
Holds if |
functionExit |
Holds if |
iDominates |
Holds if |
iPostDominates |
Holds if |
postDominates |
Holds if |
strictlyDominates |
Holds if |
strictlyPostDominates |
Holds if |