Lines Matching refs:ForOp
74 void ForOp::build(OpBuilder &builder, OperationState &result, Value lb, in build()
92 ForOp::ensureTerminator(*bodyRegion, builder, result.location); in build()
101 static LogicalResult verify(ForOp op) { in verify()
164 static void print(OpAsmPrinter &p, ForOp op) { in print()
225 ForOp::ensureTerminator(*body, builder, result.location); in parseForOp()
234 Region &ForOp::getLoopBody() { return region(); } in getLoopBody()
236 bool ForOp::isDefinedOutsideOfLoop(Value value) { in isDefinedOutsideOfLoop()
240 LogicalResult ForOp::moveOutOfLoop(ArrayRef<Operation *> ops) { in moveOutOfLoop()
246 ForOp mlir::scf::getForInductionVarOwner(Value val) { in getForInductionVarOwner()
249 return ForOp(); in getForInductionVarOwner()
252 return dyn_cast_or_null<ForOp>(containingOp); in getForInductionVarOwner()
259 OperandRange ForOp::getSuccessorEntryOperands(unsigned index) { in getSuccessorEntryOperands()
272 void ForOp::getSuccessorRegions(Optional<unsigned> index, in getSuccessorRegions()
288 void ForOp::getNumRegionInvocations(ArrayRef<Attribute> operands, in getNumRegionInvocations()
332 SmallVector<scf::ForOp, 4> loops; in buildLoopNest()
339 auto loop = builder.create<scf::ForOp>( in buildLoopNest()
416 struct ForOpIterArgsFolder : public OpRewritePattern<scf::ForOp> {
417 using OpRewritePattern<scf::ForOp>::OpRewritePattern;
419 LogicalResult matchAndRewrite(scf::ForOp forOp, in matchAndRewrite()
461 scf::ForOp newForOp = rewriter.create<scf::ForOp>( in matchAndRewrite()
519 struct SimplifyTrivialLoops : public OpRewritePattern<ForOp> {
520 using OpRewritePattern<ForOp>::OpRewritePattern;
522 LogicalResult matchAndRewrite(ForOp op, in matchAndRewrite()
565 void ForOp::getCanonicalizationPatterns(OwningRewritePatternList &results, in getCanonicalizationPatterns()
983 ForOp::ensureTerminator(*body, builder, result.location); in parseParallelOp()