Searched refs:thenRegion (Results 1 – 11 of 11) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToControlFlow/ |
| H A D | SCFToControlFlow.cpp | 379 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 D | SCFToSPIRV.cpp | 263 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 D | TranslateToCpp.cpp | 511 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 D | SCF.cpp | 1331 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 D | AffineOps.cpp | 2404 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 D | FIROps.cpp | 3317 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 D | TestDialect.cpp | 1421 Region *thenRegion = result.addRegion(); in parse() local 1432 if (parser.parseKeyword("then") || parser.parseRegion(*thenRegion, {}, {}) || in parse()
|
| H A D | TestOps.td | 2565 let regions = (region SizedRegion<1>:$thenRegion,
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/IR/ |
| H A D | SCFOps.td | 563 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion);
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/IR/ |
| H A D | AffineOps.td | 427 let regions = (region SizedRegion<1>:$thenRegion, AnyRegion:$elseRegion);
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIROps.td | 2137 SizedRegion<1>:$thenRegion,
|