Home
last modified time | relevance | path

Searched refs:getUpperBound (Results 1 – 25 of 40) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DLoopSpecialization.cpp39 constantIndices.reserve(op.getUpperBound().size()); in specializeParallelLoopForUnrolling()
40 for (auto bound : op.getUpperBound()) { in specializeParallelLoopForUnrolling()
57 for (auto bound : llvm::zip(op.getUpperBound(), constantIndices)) { in specializeParallelLoopForUnrolling()
76 auto bound = op.getUpperBound(); in specializeForLoopForUnrolling()
115 auto ubInt = getConstantIntValue(forOp.getUpperBound()); in peelForLoop()
133 forOp.getUpperBound(), in peelForLoop()
178 Value previousUb = forOp.getUpperBound(); in peelAndCanonicalizeForLoop()
H A DParallelLoopTiling.cpp58 tileSizeConstants.reserve(op.getUpperBound().size()); in tileParallelLoop()
59 for (size_t i = 0, end = op.getUpperBound().size(); i != end; ++i) { in tileParallelLoop()
77 op.getUpperBound(), newSteps); in tileParallelLoop()
90 newBounds.reserve(op.getUpperBound().size()); in tileParallelLoop()
93 llvm::zip(outerLoop.getLowerBound(), outerLoop.getUpperBound(), in tileParallelLoop()
143 llvm::zip(outerLoop.getUpperBound(), outerLoop.getInductionVars(), in tileParallelLoop()
H A DParallelLoopFusion.cpp45 matchOperands(firstPloop.getUpperBound(), in equalIterationSpaces()
46 secondPloop.getUpperBound()) && in equalIterationSpaces()
H A DLoopCanonicalization.cpp160 ub = forOp.getUpperBound(); in matchAndRewrite()
168 ub = parOp.getUpperBound()[idx]; in matchAndRewrite()
H A DLoopRangeFolding.cpp58 ubMap.map(indVar, op.getUpperBound()); in runOnOperation()
H A DForToWhile.cpp58 beforeBlock->getArgument(0), forOp.getUpperBound()); in matchAndRewrite()
H A DLoopPipelining.cpp88 forOp.getUpperBound().getDefiningOp<arith::ConstantIndexOp>(); in initializeLoopInfo()
239 Value newUb = forOp.getUpperBound(); in createKernelLoop()
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DDoLoopHelperTest.cpp50 EXPECT_TRUE(mlir::isa<arith::SubIOp>(loop.getUpperBound().getDefiningOp())); in TEST_F()
51 auto subOp = dyn_cast<arith::SubIOp>(loop.getUpperBound().getDefiningOp()); in TEST_F()
68 checkConstantValue(loop.getUpperBound(), 20); in TEST_F()
85 checkConstantValue(loop.getUpperBound(), 20); in TEST_F()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp50 loop.getLoc(), loop.getLowerBound(), loop.getUpperBound(), loop.getStep(), in replaceLoopWithNewYields()
337 auto ubCstOp = forOp.getUpperBound().getDefiningOp<arith::ConstantIndexOp>(); in promoteIfSingleIteration()
477 auto upperBound = forOp.getUpperBound(); in loopUnrollByFactor()
604 loop.getLowerBound(), loop.getUpperBound(), in normalizeLoop()
628 Value upperBound = outermost.getUpperBound(); in coalesceLoops()
631 builder.create<arith::MulIOp>(loc, upperBound, loop.getUpperBound()); in coalesceLoops()
653 loc, previous, loops[idx].getUpperBound()); in coalesceLoops()
685 loops.getLowerBound()[i], loops.getUpperBound()[i], in collapseParallelLoops()
853 forOp.getUpperBound(), stepped); in stripmineSink()
855 forOp.getUpperBound(), stepped); in stripmineSink()
[all …]
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DControlFlowSinkUtils.cpp150 if (bound.getUpperBound() && *bound.getUpperBound() <= 1) in getSinglyExecutedRegionsToSink()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncParallelFor.cpp595 operands.append(op.getUpperBound().begin(), op.getUpperBound().end()); in doAsyncDispatch()
676 computeFuncOperands.append(op.getUpperBound().begin(), in doSequentialDispatch()
677 op.getUpperBound().end()); in doSequentialDispatch()
738 auto ub = op.getUpperBound()[i]; in matchAndRewrite()
774 integerConstants(op.getUpperBound()), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp363 return OpFoldResult(getUpperBound()); in getSingleUpperBound()
388 << getUpperBound() << " step " << getStep(); in print()
662 forOp.getLoc(), forOp.getLowerBound(), forOp.getUpperBound(), in matchAndRewrite()
728 if (op.getLowerBound() == op.getUpperBound()) { in matchAndRewrite()
734 auto ub = op.getUpperBound().getDefiningOp<arith::ConstantOp>(); in matchAndRewrite()
805 forOp.getLoc(), forOp.getLowerBound(), forOp.getUpperBound(), in replaceTensorCastForOpIterArg()
2281 << ") to (" << getUpperBound() << ") step (" << getStep() << ")"; in print()
2316 newUpperBounds.reserve(op.getUpperBound().size()); in matchAndRewrite()
2318 for (auto dim : llvm::zip(op.getLowerBound(), op.getUpperBound(), in matchAndRewrite()
2417 llvm::is_contained(innerOp.getUpperBound(), val) || in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DControlFlowInterfaces.h201 Optional<unsigned> getUpperBound() const { return upper; } in getUpperBound() function
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp64 auto high = loop.getUpperBound(); in matchAndRewrite()
255 auto upperBound = whileOp.getUpperBound(); in matchAndRewrite()
H A DAffinePromotion.cpp497 ValueRange(op.getUpperBound()), in positiveConstantStep()
513 ValueRange({op.getLowerBound(), op.getUpperBound(), op.getStep()})); in genericBounds()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DHoistPadding.cpp355 getUpperBoundForIndex(forOp.getUpperBound(), boundMap, boundOperands); in getPackedTensorSizes()
467 bvm.lookupOrDefault(forOp.getUpperBound()), in hoistPaddingOnTensors()
/llvm-project-15.0.7/polly/include/polly/CodeGen/
H A DIslNodeBuilder.h213 isl::ast_expr getUpperBound(isl::ast_node_for For,
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp331 Value upperBound = forOp.getUpperBound(); in matchAndRewrite()
463 parallelOp.getUpperBound(), parallelOp.getStep())) { in matchAndRewrite()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DIslNodeBuilder.cpp111 isl::ast_expr IslNodeBuilder::getUpperBound(isl::ast_node_for For, in getUpperBound() function in IslNodeBuilder
178 isl::ast_expr UB = getUpperBound(For, Predicate); in getNumberOfIterations()
563 isl::ast_expr UB = getUpperBound(For, Predicate); in createForSequential()
667 UB = getUpperBound(isl::manage_copy(For).as<isl::ast_node_for>(), Predicate) in createForParallel()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp213 loc, rewriter.getI1Type(), newIndVar, adaptor.getUpperBound()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Utils/
H A DLoopUtils.cpp572 AffineBound ub = origLoop.getUpperBound(); in setIntraTileBoundsParametric()
671 AffineBound ub = origLoop.getUpperBound(); in setInterTileBoundsParametric()
820 AffineBound ub = origLoops[i].getUpperBound(); in constructTiledIndexSetHyperRect()
1721 AffineBound ub = outermost.getUpperBound(); in coalesceLoops()
1746 ub = loop.getUpperBound(); in coalesceLoops()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h803 const SCEV *getUpperBound(BoundInfo *Bound) const;
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp391 parallelOp.getUpperBound(), parallelOp.getStep()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToGPU/
H A DSCFToGPU.cpp428 parallelOp.getUpperBound(), parallelOp.getStep())) { in processParallelLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp935 if (auto UB = Subrange->getUpperBound()) in dependencies()
948 if (auto UB = GenericSubrange->getUpperBound()) in dependencies()

12