Home
last modified time | relevance | path

Searched refs:outerLoop (Results 1 – 13 of 13) sorted by relevance

/llvm-project/mlir/lib/Dialect/SCF/Transforms/
H A DParallelLoopTiling.cpp81 auto outerLoop = b.create<ParallelOp>(op.getLoc(), op.getLowerBound(), in tileParallelLoop() local
83 b.setInsertionPointToStart(outerLoop.getBody()); in tileParallelLoop()
98 llvm::zip(outerLoop.getLowerBound(), outerLoop.getUpperBound(), in tileParallelLoop()
99 outerLoop.getStep(), outerLoop.getInductionVars(), in tileParallelLoop()
146 llvm::zip(outerLoop.getUpperBound(), outerLoop.getInductionVars(), in tileParallelLoop()
169 innerLoop.getInductionVars(), outerLoop.getInductionVars()))) { in tileParallelLoop()
180 outerLoop.getInductionVars())) { in tileParallelLoop()
189 return std::make_pair(outerLoop, innerLoop); in tileParallelLoop()
H A DTileUsingInterface.cpp456 for (auto [outerLoop, innerLoop] :
460 cast<scf::ForOp>(outerLoop.getOperation()).getBody());
461 rewriter.create<scf::YieldOp>(outerLoop.getLoc(), innerLoop->getResults()); in addInitOperandsToLoopNest()
916 for (auto [outerLoop, innerLoop] : in tileAndFuseProducerOfSlice()
919 auto outerForLoop = cast<scf::ForOp>(outerLoop); in tileAndFuseProducerOfSlice()
1867 auto outerLoop = dyn_cast<scf::ForOp>(loop->getParentOp());
1871 [](scf::ForOp outerLoop) -> LogicalResult {
1872 Block *body = outerLoop.getBody();
1883 while (outerLoop && succeeded(isForOpYieldResultOfInnerLoop(outerLoop))) {
[all...]
/llvm-project/flang/lib/Lower/
H A DVectorSubscripts.cpp268 LoopType outerLoop; in loopOverElementsBase() local
275 if (!outerLoop) in loopOverElementsBase()
276 outerLoop = loop; in loopOverElementsBase()
282 if (!outerLoop) in loopOverElementsBase()
283 outerLoop = loop; in loopOverElementsBase()
288 assert(outerLoop && !inductionVariables.empty() && in loopOverElementsBase()
297 builder.setInsertionPointAfter(outerLoop); in loopOverElementsBase()
298 return outerLoop.getResult(0); in loopOverElementsBase()
301 builder.setInsertionPointAfter(outerLoop); in loopOverElementsBase()
H A DIterationSpace.cpp319 outerLoop = std::nullopt; in conditionalCleanup()
H A DConvertExpr.cpp7709 esp.outerLoop = std::nullopt;
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
H A DHoistPadding.cpp548 scf::ForOp outerLoop = analysis.outermostEnclosingForOp; in buildPackingLoopNestImpl() local
560 if (forOp != outerLoop && !outerLoop->isAncestor(forOp)) in buildPackingLoopNestImpl()
605 buildLoopIterationCount(rewriter, outerLoop, clonedForOp); in buildPackingLoopNestImpl()
706 scf::ForOp outerLoop = analysis.outermostEnclosingForOp; in buildPackingLoopNestImpl() local
708 rewriter.setInsertionPoint(outerLoop); in buildPackingLoopNestImpl()
893 scf::ForOp outerLoop = analysis.outermostEnclosingForOp; in replaceByPackingResult() local
903 return buildLoopIterationCount(rewriter, outerLoop, in replaceByPackingResult()
/llvm-project/flang/lib/Optimizer/HLFIR/Transforms/
H A DLowerHLFIROrderedAssignments.cpp1082 mlir::Operation *outerLoop = constructStack[0];
1089 return !dominanceInfo.properlyDominates(value, outerLoop); in currentLoopNestIterationNumberCanBeComputed()
1095 if (currentConstruct == outerLoop) in currentLoopNestIterationNumberCanBeComputed()
1087 mlir::Operation *outerLoop = constructStack[0]; currentLoopNestIterationNumberCanBeComputed() local
/llvm-project/flang/include/flang/Lower/
H A DIterationSpace.h399 outerLoop = loop;
457 assert(outerLoop.has_value());
458 return *outerLoop;
535 std::optional<fir::DoLoopOp> outerLoop;
/llvm-project/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1350 std::optional<fir::DoLoopOp> outerLoop; in recordTypeCanBeMemCopied()
1364 if (!outerLoop) in genRecordAssignment()
1365 outerLoop = loop; in genRecordAssignment()
1396 if (outerLoop) in genRecordAssignment()
1397 builder.setInsertionPointAfter(*outerLoop); in genRecordAssignment()
1283 std::optional<fir::DoLoopOp> outerLoop; genComponentByComponentAssignment() local
H A DHLFIRTools.cpp922 fir::DoLoopOp outerLoop = nullptr; in translateVariableToExtendedValue()
951 if (!outerLoop)
952 outerLoop = doLoop; in translateToExtendedValue()
962 builder.setInsertionPointAfter(outerLoop); in translateToExtendedValue()
963 return outerLoop->getResults(); in translateToExtendedValue()
/llvm-project/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp950 auto outerLoop = loops[i - 1]; in coalescePerfectlyNestedSCFForLoops()
955 assert(llvm::equal(outerLoop.getRegionIterArgs(), innerLoop.getInitArgs())); in coalescePerfectlyNestedSCFForLoops()
962 // `outerLoop` iter args identical to the `innerLoop` init args. in collapseParallelLoops()
971 llvm::append_range(innerBlockArgs, outerLoop.getRegionIterArgs()); in collapseParallelLoops()
972 rewriter.inlineBlockBefore(innerLoop.getBody(), outerLoop.getBody(), in collapseParallelLoops()
862 auto outerLoop = loops[i - 1]; coalesceLoops() local
/llvm-project/flang/include/flang/Optimizer/Builder/
H A DHLFIRTools.h360 fir::DoLoopOp outerLoop; global() member
/llvm-project/flang/lib/Lower/OpenMP/
H A DReductionProcessor.cpp