Home
last modified time | relevance | path

Searched refs:reductionRegion (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenMP/
H A DOpenMPToLLVMIRTranslation.cpp483 Region &reductionRegion = decl.reductionRegion(); in makeReductionGen() local
484 moduleTranslation.mapValue(reductionRegion.front().getArgument(0), lhs); in makeReductionGen()
485 moduleTranslation.mapValue(reductionRegion.front().getArgument(1), rhs); in makeReductionGen()
488 if (failed(inlineConvertOmpRegions(reductionRegion, in makeReductionGen()
1249 Region &reductionRegion = declaration.reductionRegion(); in convertOmpReductionOp() local
1256 moduleTranslation.mapValue(reductionRegion.front().getArgument(0), in convertOmpReductionOp()
1259 reductionRegion.front().getArgument(1), in convertOmpReductionOp()
1263 if (failed(inlineConvertOmpRegions(reductionRegion, "omp.reduction.body", in convertOmpReductionOp()
/llvm-project-15.0.7/mlir/lib/Dialect/OpenMP/IR/
H A DOpenMPDialect.cpp620 if (reductionRegion().empty()) in verifyRegions()
622 Block &reductionEntryBlock = reductionRegion().front(); in verifyRegions()
629 for (YieldOp yieldOp : reductionRegion().getOps<YieldOp>()) { in verifyRegions()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp203 builder.inlineRegionBefore(reduce.getRegion(), decl.reductionRegion(), in createDecl()
204 decl.reductionRegion().end()); in createDecl()
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenMP.cpp809 builder.createBlock(&decl.reductionRegion(), decl.reductionRegion().end(), in createReductionDecl()
811 builder.setInsertionPointToEnd(&decl.reductionRegion().back()); in createReductionDecl()
812 mlir::Value op1 = decl.reductionRegion().front().getArgument(0); in createReductionDecl()
813 mlir::Value op2 = decl.reductionRegion().front().getArgument(1); in createReductionDecl()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenMP/
H A DOpenMPOps.td1347 AnyRegion:$reductionRegion,
1352 "`combiner` $reductionRegion "