Home
last modified time | relevance | path

Searched refs:DoLoopOp (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DDoLoopHelper.cpp15 fir::DoLoopOp
23 auto loop = builder.create<fir::DoLoopOp>(loc, lbi, ubi, inc); in createLoop()
32 fir::DoLoopOp
40 fir::DoLoopOp
H A DFIRBuilder.cpp1031 llvm::Optional<fir::DoLoopOp> outerLoop; in genComponentByComponentAssignment()
1044 auto loop = builder.create<fir::DoLoopOp>(loc, zero, ub, one); in genComponentByComponentAssignment()
/llvm-project-15.0.7/flang/lib/Optimizer/Transforms/
H A DAffinePromotion.cpp48 for (fir::DoLoopOp op : funcOp.getOps<fir::DoLoopOp>()) in AffineFunctionAnalysis()
52 AffineLoopAnalysis getChildLoopAnalysis(fir::DoLoopOp op) const;
63 if (isa<fir::DoLoopOp>(blockArg.getOwner()->getParentOp())) in analyzeCoordinate()
87 bool analyzeBody(fir::DoLoopOp loopOperation, in analyzeBody()
89 for (auto loopOp : loopOperation.getOps<fir::DoLoopOp>()) { in analyzeBody()
101 bool analyzeLoop(fir::DoLoopOp loopOperation, in analyzeLoop()
136 bool analyzeMemoryAccess(fir::DoLoopOp loopOperation) { in analyzeMemoryAccess()
225 if (isa<fir::DoLoopOp>(blockArg.getOwner()->getParentOp()) || in toAffineExpr()
451 matchAndRewrite(fir::DoLoopOp loop, in matchAndRewrite()
491 positiveConstantStep(fir::DoLoopOp op, int64_t step, in positiveConstantStep()
[all …]
H A DRewriteLoop.cpp31 class CfgLoopConv : public mlir::OpRewritePattern<fir::DoLoopOp> {
36 : mlir::OpRewritePattern<fir::DoLoopOp>(ctx), in CfgLoopConv()
40 matchAndRewrite(DoLoopOp loop, in matchAndRewrite()
312 target.addIllegalOp<ResultOp, DoLoopOp, IfOp, IterWhileOp>(); in runOnOperation()
H A DCharacterConversion.cpp51 auto loop = rewriter.create<fir::DoLoopOp>(loc, zero, countm1, one); in matchAndRewrite()
H A DArrayValueCopy.cpp170 if (auto rop = mlir::dyn_cast<DoLoopOp>(op)) { in collectArrayMentionFrom()
250 if (auto rop = mlir::dyn_cast<DoLoopOp>(parent)) { in collectArrayMentionFrom()
293 if (auto doLoop = mlir::dyn_cast_or_null<DoLoopOp>(seq.getDefiningOp())) in reachingValues()
391 if (auto ro = mlir::dyn_cast<DoLoopOp>(owner)) { in arrayMentions()
957 auto loop = rewriter.create<DoLoopOp>(loc, zero, ub, one); in genArrayCopy()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DDoLoopHelper.h32 fir::DoLoopOp createLoop(mlir::Value lb, mlir::Value ub, mlir::Value step,
36 fir::DoLoopOp createLoop(mlir::Value lb, mlir::Value ub,
40 fir::DoLoopOp createLoop(mlir::Value count,
H A DFactory.h73 auto loop = builder.template create<fir::DoLoopOp>(loc, zero, upper, one); in genCharacterCopy()
105 auto loop = builder.template create<fir::DoLoopOp>(loc, zero, len, one); in genCharacterCopy()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.h21 class DoLoopOp; variable
29 DoLoopOp getForInductionVarOwner(mlir::Value val);
H A DFIROps.td1998 ParentOneOf<["IfOp", "DoLoopOp", "IterWhileOp"]>]> {
2171 It is very similar to `fir::DoLoopOp` with the addition that it requires
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DIterationSpace.h417 void setOuterLoop(fir::DoLoopOp loop) {
476 fir::DoLoopOp getOuterLoop() {
526 void appendLoops(const llvm::SmallVector<fir::DoLoopOp> &loops) {
532 llvm::SmallVector<llvm::SmallVector<fir::DoLoopOp>> getLoopStack() const {
555 llvm::Optional<fir::DoLoopOp> outerLoop;
556 llvm::SmallVector<llvm::SmallVector<fir::DoLoopOp>> loopStack;
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp1941 void fir::DoLoopOp::build(mlir::OpBuilder &builder, in build()
1969 mlir::ParseResult fir::DoLoopOp::parse(mlir::OpAsmParser &parser, in parse()
2024 result.addAttribute(DoLoopOp::getFinalValueAttrName(result.name), in parse()
2042 DoLoopOp::ensureTerminator(*body, builder, result.location); in parse()
2047 fir::DoLoopOp fir::getForInductionVarOwner(mlir::Value val) { in getForInductionVarOwner()
2053 return mlir::dyn_cast_or_null<fir::DoLoopOp>(containingInst); in getForInductionVarOwner()
2057 mlir::LogicalResult fir::DoLoopOp::verify() { in verify()
2098 void fir::DoLoopOp::print(mlir::OpAsmPrinter &p) { in print()
2124 mlir::Region &fir::DoLoopOp::getLoopBody() { return getRegion(); } in getLoopBody()
2137 void fir::DoLoopOp::resultToSourceOps( in resultToSourceOps()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DVectorSubscripts.cpp279 builder.create<fir::DoLoopOp>(loc, lb, ub, step, /*unordered=*/false); in loopOverElementsBase()
308 loopOverElementsBase<fir::DoLoopOp, ElementalGenerator>( in loopOverElements()
H A DBridge.cpp99 fir::DoLoopOp doLoop = nullptr;
1222 info.doLoop = builder->create<fir::DoLoopOp>( in genFIRIncrementLoopBegin()
1482 llvm::SmallVector<fir::DoLoopOp> loops; in genFIR()
1519 auto lp = builder->create<fir::DoLoopOp>( in genFIR()
H A DConvertExpr.cpp4432 llvm::SmallVector<llvm::SmallVector<fir::DoLoopOp>> loopStack = in prepareRaggedArrays()
4590 llvm::SmallVector<fir::DoLoopOp> loops; in genImplicitLoops()
4600 fir::DoLoopOp loop; in genImplicitLoops()
4602 loop = builder.create<fir::DoLoopOp>( in genImplicitLoops()
4609 loop = builder.create<fir::DoLoopOp>(loc, zero, i.value(), one, in genImplicitLoops()
6540 builder.create<fir::DoLoopOp>(loc, lo, up, step, /*unordered=*/false, in genArrayCtorInitializer()
H A DIO.cpp702 auto doLoopOp = builder.create<fir::DoLoopOp>( in genIoLoop()