Home
last modified time | relevance | path

Searched refs:getLoopBody (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DStructuralTypeConversions.cpp53 rewriter.inlineRegionBefore(op.getLoopBody(), newOp.getLoopBody(), in matchAndRewrite()
54 newOp.getLoopBody().end()); in matchAndRewrite()
59 if (failed(rewriter.convertRegionTypes(&newOp.getLoopBody(), in matchAndRewrite()
H A DBufferizableOpInterfaceImpl.cpp407 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in bufferRelation()
442 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in resolveConflicts()
485 Block *oldLoopBody = &forOp.getLoopBody().front(); in bufferize()
505 Block *loopBody = &newForOp.getLoopBody().front(); in bufferize()
539 cast<scf::YieldOp>(forOp.getLoopBody().front().getTerminator()); in verifyAnalysis()
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DLoopLikeInterface.td34 return value.getParentRegion()->isProperAncestor(&$_op.getLoopBody());
41 "::mlir::Region &", "getLoopBody"
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DMultiBuffer.cpp121 builder.setInsertionPoint(&candidateLoop.getLoopBody().front(), in multiBuffer()
122 candidateLoop.getLoopBody().front().begin()); in multiBuffer()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DLoopInvariantCodeMotionUtils.cpp99 &loopLike.getLoopBody(), in moveLoopInvariantCode()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DAffineLoopInvariantCodeMotion.cpp79 if (!areAllOpsInTheBlockListInvariant(forOp.getLoopBody(), indVar, iterArgs, in isOpLoopInvariant()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp461 Region &ForOp::getLoopBody() { return getRegion(); } in getLoopBody() function in ForOp
495 regions.push_back(RegionSuccessor(&getLoopBody(), getRegionIterArgs())); in getSuccessorRegions()
501 regions.push_back(RegionSuccessor(&getLoopBody(), getRegionIterArgs())); in getSuccessorRegions()
758 replaceOpWithRegion(rewriter, op, op.getLoopBody(), blockArgs); in matchAndRewrite()
2292 Region &ParallelOp::getLoopBody() { return getRegion(); } in getLoopBody() function in ParallelOp
2351 for (auto &bodyOp : op.getLoopBody().front().without_terminator()) { in matchAndRewrite()
2407 Block &outerBody = op.getLoopBody().front(); in matchAndRewrite()
2427 Block &innerBody = innerOp.getLoopBody().front(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp741 newLoop.getLoopBody().getBlocks().splice( in replaceForOpWithNewSignature()
742 newLoop.getLoopBody().getBlocks().begin(), in replaceForOpWithNewSignature()
743 loop.getLoopBody().getBlocks()); in replaceForOpWithNewSignature()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DLoops.cpp191 llvm::make_early_inc_range(loopOp.getLoopBody().getOps<IndexOp>())) in replaceIndexOpsByInductionVariables()
H A DHoisting.cpp191 Value arg = forUser.getLoopBody().getArgument( in tensorChunkAccessedByUnknownOp()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp195 body = rewriter.applySignatureConversion(&forOp.getLoopBody(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncParallelFor.cpp427 for (auto &bodyOp : op.getLoopBody().getOps()) in createParallelComputeFunction()
731 cloneConstantsIntoTheRegion(op.getLoopBody(), rewriter); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/
H A DAffineOps.cpp1946 regions.push_back(RegionSuccessor(&getLoopBody(), getRegionIterArgs())); in getSuccessorRegions()
1964 regions.push_back(RegionSuccessor(&getLoopBody(), getRegionIterArgs())); in getSuccessorRegions()
2100 Region &AffineForOp::getLoopBody() { return getRegion(); } in getLoopBody() function in AffineForOp
2256 newLoop.getLoopBody().takeBody(loop.getLoopBody()); in replaceForOpWithNewYields()
2258 newLoop.getLoopBody().addArgument(val.getType(), val.getLoc()); in replaceForOpWithNewYields()
3325 Region &AffineParallelOp::getLoopBody() { return getRegion(); } in getLoopBody() function in AffineParallelOp
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp984 const Stmt *getLoopBody(DynTypedNode N) { in getLoopBody() function
1023 else if (getLoopBody(D)) in filterAndTraverse()
1170 if (const Stmt *LoopBody = getLoopBody(P->ASTNode)) { in relatedControlFlow()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp70 Region &tosa::WhileOp::getLoopBody() { return getBody(); } in getLoopBody() function in tosa::WhileOp
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp1837 mlir::Region &fir::IterWhileOp::getLoopBody() { return getRegion(); } in getLoopBody() function in fir::IterWhileOp
2124 mlir::Region &fir::DoLoopOp::getLoopBody() { return getRegion(); } in getLoopBody() function in fir::DoLoopOp
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td2916 mlir::Region &getLoopBody() { return getBody(); }