Searched refs:parentForOp (Results 1 – 2 of 2) sorted by relevance
405 auto *parentForOp = forOp->getParentOp(); in getLoopNestStats() local406 if (!llvm::isa<FuncOp>(parentForOp)) { in getLoopNestStats()407 if (!isa<AffineForOp>(parentForOp)) { in getLoopNestStats()412 stats->loopMap[parentForOp].push_back(forOp); in getLoopNestStats()
1487 auto parentForOp = dyn_cast<AffineForOp>(loop->getParentOp()); in isPerfectlyNested() local1489 if (parentForOp != enclosingLoop || !hasTwoElements(parentForOp.getBody())) in isPerfectlyNested()