Home
last modified time | relevance | path

Searched refs:getLowerBound (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DDoLoopHelperTest.cpp49 checkConstantValue(loop.getLowerBound(), 0); in TEST_F()
67 checkConstantValue(loop.getLowerBound(), 1); in TEST_F()
84 checkConstantValue(loop.getLowerBound(), 1); in TEST_F()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DParallelLoopFusion.cpp43 return matchOperands(firstPloop.getLowerBound(), in equalIterationSpaces()
44 secondPloop.getLowerBound()) && in equalIterationSpaces()
H A DLoopCanonicalization.cpp159 lb = forOp.getLowerBound(); in matchAndRewrite()
167 lb = parOp.getLowerBound()[idx]; in matchAndRewrite()
H A DParallelLoopTiling.cpp76 auto outerLoop = b.create<ParallelOp>(op.getLoc(), op.getLowerBound(), in tileParallelLoop()
93 llvm::zip(outerLoop.getLowerBound(), outerLoop.getUpperBound(), in tileParallelLoop()
H A DLoopRangeFolding.cpp56 lbMap.map(indVar, op.getLowerBound()); in runOnOperation()
H A DLoopSpecialization.cpp114 auto lbInt = getConstantIntValue(forOp.getLowerBound()); in peelForLoop()
132 ValueRange{forOp.getLowerBound(), in peelForLoop()
H A DForToWhile.cpp46 initArgs.push_back(forOp.getLowerBound()); in matchAndRewrite()
H A DLoopPipelining.cpp90 forOp.getLowerBound().getDefiningOp<arith::ConstantIndexOp>(); in initializeLoopInfo()
244 rewriter.create<scf::ForOp>(forOp.getLoc(), forOp.getLowerBound(), newUb, in createKernelLoop()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DHoistPadding.cpp365 (ub - lb).ceilDiv(step), ValueRange{forOp.getLowerBound(), ubVal, in getPackedTensorSizes()
387 if (!isDefinedOutsideOrConstant(outer, forOp.getLowerBound()) || in buildLoopIterationCount()
390 Value ivVal = forOp.getInductionVar(), lbVal = forOp.getLowerBound(), in buildLoopIterationCount()
466 loc, bvm.lookupOrDefault(forOp.getLowerBound()), in hoistPaddingOnTensors()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/
H A DUtils.cpp50 loop.getLoc(), loop.getLowerBound(), loop.getUpperBound(), loop.getStep(), in replaceLoopWithNewYields()
336 auto lbCstOp = forOp.getLowerBound().getDefiningOp<arith::ConstantIndexOp>(); in promoteIfSingleIteration()
436 auto lbCstOp = forOp.getLowerBound().getDefiningOp<arith::ConstantIndexOp>(); in loopUnrollByFactor()
476 auto lowerBound = forOp.getLowerBound(); in loopUnrollByFactor()
604 loop.getLowerBound(), loop.getUpperBound(), in normalizeLoop()
685 loops.getLowerBound()[i], loops.getUpperBound()[i], in collapseParallelLoops()
948 forOp.getLowerBound()); in extractFixedOuterLoops()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncParallelFor.cpp594 operands.append(op.getLowerBound().begin(), op.getLowerBound().end()); in doAsyncDispatch()
674 computeFuncOperands.append(op.getLowerBound().begin(), in doSequentialDispatch()
675 op.getLowerBound().end()); in doSequentialDispatch()
737 auto lb = op.getLowerBound()[i]; in matchAndRewrite()
773 integerConstants(op.getLowerBound()), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp355 return OpFoldResult(getLowerBound()); in getSingleLowerBound()
387 p << " " << getInductionVar() << " = " << getLowerBound() << " to " in print()
662 forOp.getLoc(), forOp.getLowerBound(), forOp.getUpperBound(), in matchAndRewrite()
728 if (op.getLowerBound() == op.getUpperBound()) { in matchAndRewrite()
733 auto lb = op.getLowerBound().getDefiningOp<arith::ConstantOp>(); in matchAndRewrite()
756 blockArgs.push_back(op.getLowerBound()); in matchAndRewrite()
805 forOp.getLoc(), forOp.getLowerBound(), forOp.getUpperBound(), in replaceTensorCastForOpIterArg()
2315 newLowerBounds.reserve(op.getLowerBound().size()); in matchAndRewrite()
2343 if (newLowerBounds.size() == op.getLowerBound().size()) in matchAndRewrite()
2416 if (llvm::is_contained(innerOp.getLowerBound(), val) || in matchAndRewrite()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExprOpenMP.h94 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); } in getLowerBound() function
95 const Expr *getLowerBound() const { in getLowerBound() function
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DControlFlowInterfaces.h198 unsigned getLowerBound() const { return lower; } in getLowerBound() function
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DRewriteLoop.cpp63 auto low = loop.getLowerBound(); in matchAndRewrite()
254 auto lowerBound = whileOp.getLowerBound(); in matchAndRewrite()
H A DAffinePromotion.cpp494 op.getLoc(), ValueRange(op.getLowerBound()), in positiveConstantStep()
513 ValueRange({op.getLowerBound(), op.getUpperBound(), op.getStep()})); in genericBounds()
530 {affineFor.getInductionVar(), op.getLowerBound(), op.getStep()})); in genericBounds()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp180 Value adapLowerBound = adaptor.getLowerBound(); in matchAndRewrite()
203 SmallVector<Value, 8> args(1, adaptor.getLowerBound()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp330 Value lowerBound = forOp.getLowerBound(); in matchAndRewrite()
462 llvm::zip(parallelOp.getInductionVars(), parallelOp.getLowerBound(), in matchAndRewrite()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h798 const SCEV *getLowerBound(BoundInfo *Bound) const;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DMetadataTest.cpp1203 auto Lower = N->getLowerBound(); in TEST_F()
1219 auto Lower = N->getLowerBound(); in TEST_F()
1238 auto Lower = N->getLowerBound(); in TEST_F()
1271 auto Lower = N->getLowerBound(); in TEST_F()
1321 auto Lower = N->getLowerBound(); in TEST_F()
1359 auto Lower = N->getLowerBound(); in TEST_F()
1401 auto Lower = N->getLowerBound(); in TEST_F()
1453 auto Lower = N->getLowerBound(); in TEST_F()
1497 auto Lower = N->getLowerBound(); in TEST_F()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp390 parallelOp.getLoc(), parallelOp.getLowerBound(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToGPU/
H A DSCFToGPU.cpp427 mapping, parallelOp.getInductionVars(), parallelOp.getLowerBound(), in processParallelLoop()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp932 if (auto LB = Subrange->getLowerBound()) in dependencies()
945 if (auto LB = GenericSubrange->getLowerBound()) in dependencies()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp447 os << emitter.getOrCreateName(forOp.getLowerBound()); in printOperation()
/llvm-project-15.0.7/clang/lib/AST/
H A DComputeDependence.cpp423 if (auto *LB = E->getLowerBound()) in computeDependence()

12