Skip to content

Commit 518312a

Browse files
committed
Add docs
1 parent 0f9bedb commit 518312a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flang/include/flang/Support/OpenMP-utils.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ struct EntryBlockArgs {
7474
mlir::Block *genEntryBlock(
7575
mlir::OpBuilder &builder, const EntryBlockArgs &args, mlir::Region &region);
7676

77+
/// Create an `omp.map.info` op. Parameters other than the ones documented below
78+
/// correspond to operation arguments in the OpenMPOps.td file, see op docs for
79+
/// more details.
80+
///
81+
/// \param [in] builder - MLIR operation builder.
82+
/// \param [in] loc - Source location of the created op.
7783
mlir::omp::MapInfoOp createMapInfoOp(mlir::OpBuilder &builder,
7884
mlir::Location loc, mlir::Value baseAddr, mlir::Value varPtrPtr,
7985
llvm::StringRef name, llvm::ArrayRef<mlir::Value> bounds,

0 commit comments

Comments
 (0)