Skip to content

Commit c59436f

Browse files
committed
add docs
1 parent ec26fea commit c59436f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flang/lib/Optimizer/OpenMP/DoConcurrentConversion.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,14 @@ class DoConcurrentConversion
814814
}
815815
}
816816

817+
/// Generate bodies of OpenMP privatizers by cloning the bodies of FIR
818+
/// privatizers.
819+
///
820+
/// \param [in] rewriter - used to driver IR generation for privatizers.
821+
/// \param [in] mapper - value mapping from FIR to OpenMP constructs.
822+
/// \param [in] loop - FIR loop to convert its localizers.
823+
///
824+
/// \param [out] privateClauseOps - OpenMP privatizers to gen their bodies.
817825
void genPrivatizers(mlir::ConversionPatternRewriter &rewriter,
818826
mlir::IRMapping &mapper, fir::DoConcurrentLoopOp loop,
819827
mlir::omp::PrivateClauseOps &privateClauseOps) const {

0 commit comments

Comments
 (0)