Lines Matching defs:parent

50 /// the parent operations and their "leaf" regions (that contain expression
88 /// regions effects are added to the "parent" effect list since evaluating the
378 // in case they need to be analyzed for any parent that might be
459 // parent control or masks. Note that these effects may already be in the
535 auto parent =
538 if (parent && parent.getSubTreeRegion() == node->getParentRegion()) {
539 parents.push_back(parent);
540 node = parent;
547 // Build the list of the parent nodes for this assignment. The list is built
548 // from the closest parent until the ordered assignment tree root (this is the
579 // hlfir.region_assign) in Fortran execution order so that any parent leaf
583 for (hlfir::OrderedAssignmentTreeOpInterface parent :
587 parent.getLeafRegions(yieldRegions);
589 bool evaluationsMayConflict = mlir::isa<hlfir::WhereOp>(parent) ||
590 mlir::isa<hlfir::ElseWhereOp>(parent);
630 mlir::Operation *parent = yieldRegion.getParentOp();
631 if (auto forall = mlir::dyn_cast<hlfir::ForallOp>(parent)) {
638 } else if (auto assign = mlir::dyn_cast<hlfir::ForallMaskOp>(parent)) {
641 } else if (auto assign = mlir::dyn_cast<hlfir::RegionAssignOp>(parent)) {
646 } else if (auto where = mlir::dyn_cast<hlfir::WhereOp>(parent)) {
649 } else if (auto elseWhereOp = mlir::dyn_cast<hlfir::ElseWhereOp>(parent)) {
661 hlfir::OrderedAssignmentTreeOpInterface parent) {
662 if (!parent || !parent.getSubTreeRegion())
666 for (mlir::Operation &op : parent.getSubTreeRegion()->getOps())
686 for (auto parent : llvm::reverse(parents)) {
687 os << parent->getName().stripDialect();
688 printNodeIndexInBody(os, parent, previousParent) << "/";
689 previousParent = parent;