18 #include "mlir/IR/RegionKindInterface.cpp.inc"
21 auto regionKindOp = dyn_cast<RegionKindInterface>(region.
getParentOp());
30 auto regionKindOp = dyn_cast<RegionKindInterface>(region.
getParentOp());
bool isRegistered()
Returns true if this operation has a registered operation description, otherwise false.
This class contains a list of basic blocks and a link to the parent operation it is attached to.
unsigned getRegionNumber()
Return the number of this region in the parent operation.
Operation * getParentOp()
Return the parent operation this region is attached to.
Include the generated interface declarations.
bool mayBeGraphRegion(Region ®ion)
Return "true" if the given region may be a graph region without SSA dominance.
bool mayHaveSSADominance(Region ®ion)
Return "true" if the given region may have SSA dominance.