Home
last modified time | relevance | path

Searched refs:thenRegion (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/
H A DSCFToControlFlow.cpp379 auto &thenRegion = ifOp.getThenRegion(); in matchAndRewrite() local
380 auto *thenBlock = &thenRegion.front(); in matchAndRewrite()
381 Operation *thenTerminator = thenRegion.back().getTerminator(); in matchAndRewrite()
383 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite()
386 rewriter.inlineRegionBefore(thenRegion, continueBlock); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToSPIRV/
H A DSCFToSPIRV.cpp263 auto &thenRegion = ifOp.getThenRegion(); in matchAndRewrite() local
264 auto *thenBlock = &thenRegion.front(); in matchAndRewrite()
265 rewriter.setInsertionPointToEnd(&thenRegion.back()); in matchAndRewrite()
267 rewriter.inlineRegionBefore(thenRegion, mergeBlock); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Target/Cpp/
H A DTranslateToCpp.cpp511 Region &thenRegion = ifOp.getThenRegion(); in printOperation() local
512 for (Operation &op : thenRegion.getOps()) { in printOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1331 Region *thenRegion = result.addRegion(); in build() local
1332 builder.createBlock(thenRegion); in build()
1358 Region *thenRegion = result.addRegion(); in parse() local
1371 if (parser.parseRegion(*thenRegion, /*arguments=*/{}, /*argTypes=*/{})) in parse()
1373 IfOp::ensureTerminator(*thenRegion, parser.getBuilder(), result.location); in parse()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/
H A DAffineOps.cpp2404 Region *thenRegion = result.addRegion(); in parse() local
2408 if (parser.parseRegion(*thenRegion, {}, {})) in parse()
2410 AffineIfOp::ensureTerminator(*thenRegion, parser.getBuilder(), in parse()
2476 Region *thenRegion = result.addRegion(); in build() local
2477 thenRegion->push_back(new Block()); in build()
2479 AffineIfOp::ensureTerminator(*thenRegion, builder, result.location); in build()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp3317 mlir::Region *thenRegion = result.addRegion(); in build() local
3318 thenRegion->push_back(new mlir::Block()); in build()
3320 IfOp::ensureTerminator(*thenRegion, builder, result.location); in build()
3333 mlir::Region *thenRegion = result.addRegion(); in parse() local
3346 if (parser.parseRegion(*thenRegion, {}, {})) in parse()
3348 fir::IfOp::ensureTerminator(*thenRegion, parser.getBuilder(), in parse()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestDialect.cpp1421 Region *thenRegion = result.addRegion(); in parse() local
1432 if (parser.parseKeyword("then") || parser.parseRegion(*thenRegion, {}, {}) || in parse()
H A DTestOps.td2565 let regions = (region SizedRegion<1>:$thenRegion,
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/IR/
H A DSCFOps.td563 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/IR/
H A DAffineOps.td427 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion);
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIROps.td2137 SizedRegion<1>:$thenRegion,