Dominance
dominance
¶
DominanceInfo
¶
Computes and exposes the dominance relation amongst blocks of a region.
See external documentation.
Source code in xdsl/irdl/dominance.py
__init__(region: Region)
¶
Compute (improper) dominance.
See external documentation.
Source code in xdsl/irdl/dominance.py
strictly_dominates(a: Block, b: Block) -> bool
¶
Return if a strictly dominates b.
i.e., if it dominates b and is not b.
strictly_dominates(a: Block, b: Block) -> bool
¶
Returns true if block a strictly dominates block b, assuming they are in the
same region.