Searched refs:parentForOp (Results 1 – 2 of 2) sorted by relevance
382 AffineForOp parentForOp = forOp->getParentOfType<AffineForOp>(); in promoteSingleIterReductionLoop() local384 b, parentForOp, iterOperands, newOperands, forOp.getRegionIterArgs()); in promoteSingleIterReductionLoop()426 parentForOp.erase(); in promoteSingleIterReductionLoop()484 auto *parentForOp = forOp->getParentOp(); in getLoopNestStats() local485 if (!llvm::isa<func::FuncOp>(parentForOp)) { in getLoopNestStats()486 if (!isa<AffineForOp>(parentForOp)) { in getLoopNestStats()491 stats->loopMap[parentForOp].push_back(forOp); in getLoopNestStats()
1476 auto parentForOp = dyn_cast<AffineForOp>(loop->getParentOp()); in isPerfectlyNested() local1478 if (parentForOp != enclosingLoop || !hasTwoElements(parentForOp.getBody())) in isPerfectlyNested()