18 while ((parent = parent->getParentOp())) {
22 return op->emitOpError(
"must not be in a procedural region");
29 while ((parent = parent->getParentOp())) {
33 return op->emitOpError(
"must not be in a non-procedural region");
39 for (Operation *parent = op->getParentOp(); parent;
40 parent = parent->getParentOp()) {
Signals that an operation's regions are non-procedural.
Signals that an operation's regions are procedural.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
LogicalResult verifyNotInNonProceduralRegion(Operation *op)
Returns success if the operation has no closer surrounding parent marked as non-procedural region tha...
LogicalResult verifyNotInProceduralRegion(Operation *op)
Returns success if the operation has no closer surrounding parent marked as procedural region than it...
bool isInProceduralRegion(Operation *op)
Returns true if op has a parent marked as a procedural region that is closer than any parent marked a...