/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/ |
D | StructuralTypeConversions.cpp | 105 rewriter.inlineRegionBefore(op.thenRegion(), newOp.thenRegion(), in matchAndRewrite() 106 newOp.thenRegion().end()); in matchAndRewrite()
|
D | Utils.cpp | 121 if (thenFn && !ifOp.thenRegion().empty()) in outlineIfOp() 122 *thenFn = outline(ifOp.thenRegion(), thenFnName); in outlineIfOp()
|
/external/llvm-project/mlir/lib/Conversion/SCFToSPIRV/ |
D | SCFToSPIRV.cpp | 229 auto &thenRegion = ifOp.thenRegion(); in matchAndRewrite() local 230 auto *thenBlock = &thenRegion.front(); in matchAndRewrite() 231 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite() 233 rewriter.inlineRegionBefore(thenRegion, mergeBlock); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Conversion/SCFToStandard/ |
D | SCFToStandard.cpp | 369 auto &thenRegion = ifOp.thenRegion(); in matchAndRewrite() local 370 auto *thenBlock = &thenRegion.front(); in matchAndRewrite() 371 Operation *thenTerminator = thenRegion.back().getTerminator(); in matchAndRewrite() 373 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite() 376 rewriter.inlineRegionBefore(thenRegion, continueBlock); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/SCF/ |
D | SCF.cpp | 602 Region *thenRegion = result.addRegion(); in build() local 603 builder.createBlock(thenRegion); in build() 630 Region *thenRegion = result.addRegion(); in parseIfOp() local 643 if (parser.parseRegion(*thenRegion, /*arguments=*/{}, /*argTypes=*/{})) in parseIfOp() 645 IfOp::ensureTerminator(*thenRegion, parser.getBuilder(), result.location); in parseIfOp() 669 p.printRegion(op.thenRegion(), in print() 710 regions.push_back(RegionSuccessor(&thenRegion())); in getSuccessorRegions() 716 regions.push_back(RegionSuccessor(condition ? &thenRegion() : elseRegion)); in getSuccessorRegions() 784 replaceOpWithRegion(rewriter, op, op.thenRegion()); in matchAndRewrite()
|
/external/llvm-project/mlir/test/lib/Dialect/Test/ |
D | TestDialect.cpp | 862 p.printRegion(op.thenRegion(), in print() 881 Region *thenRegion = result.addRegion(); in parseRegionIfOp() local 892 if (parser.parseKeyword("then") || parser.parseRegion(*thenRegion, {}, {}) || in parseRegionIfOp() 919 regions.push_back(RegionSuccessor(&thenRegion(), getThenArgs())); in getSuccessorRegions()
|
D | TestOps.td | 1847 let regions = (region SizedRegion<1>:$thenRegion,
|
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineLoopInvariantCodeMotion.cpp | 178 if (!areAllOpsInTheBlockListInvariant(ifOp.thenRegion(), indVar, definedOps, in checkInvarianceOfNestedIfOps()
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/passes/ |
D | canonicalize.cc | 112 return InlineRegion(if_op.getLoc(), rewriter, if_op, &if_op.thenRegion()); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/ |
D | AffineToStandard.cpp | 435 rewriter.inlineRegionBefore(op.thenRegion(), &ifOp.thenRegion().back()); in matchAndRewrite() 436 rewriter.eraseBlock(&ifOp.thenRegion().back()); in matchAndRewrite()
|
/external/llvm-project/flang/lib/Optimizer/Dialect/ |
D | FIROps.cpp | 1401 mlir::Region *thenRegion = result.addRegion(); in build() local 1402 thenRegion->push_back(new mlir::Block()); in build() 1404 WhereOp::ensureTerminator(*thenRegion, builder, result.location); in build() 1417 mlir::Region *thenRegion = result.addRegion(); in parseWhereOp() local 1427 if (parser.parseRegion(*thenRegion, {}, {})) in parseWhereOp() 1430 WhereOp::ensureTerminator(*thenRegion, parser.getBuilder(), result.location); in parseWhereOp()
|
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/ |
D | AffineOps.td | 409 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion); 433 assert(!thenRegion().empty() && "Unexpected empty 'then' region."); 434 return &thenRegion().front(); 443 assert(!thenRegion().empty() && "Unexpected empty 'then' region."); 444 Block &body = thenRegion().front();
|
/external/llvm-project/mlir/lib/Dialect/Affine/IR/ |
D | AffineOps.cpp | 1952 Region *thenRegion = result.addRegion(); in parseAffineIfOp() local 1956 if (parser.parseRegion(*thenRegion, {}, {})) in parseAffineIfOp() 1958 AffineIfOp::ensureTerminator(*thenRegion, parser.getBuilder(), in parseAffineIfOp() 1983 p.printRegion(op.thenRegion(), in print() 2023 Region *thenRegion = result.addRegion(); in build() local 2024 thenRegion->push_back(new Block()); in build() 2026 AffineIfOp::ensureTerminator(*thenRegion, builder, result.location); in build()
|
/external/llvm-project/mlir/lib/Conversion/SCFToGPU/ |
D | SCFToGPU.cpp | 498 rewriter.setInsertionPointToStart(&ifOp.thenRegion().front()); in processParallelLoop()
|
/external/llvm-project/mlir/include/mlir/Dialect/SCF/ |
D | SCFOps.td | 260 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion);
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Sparsification.cpp | 905 rewriter.setInsertionPointToStart(&ifOp.thenRegion().front()); in genIf()
|