mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 00:20:25 +08:00
[OpenMP][MLIR] NFC: Remove trailing whitespace (#85213)
This commit is contained in:
@@ -575,7 +575,7 @@ def WsLoopOp : OpenMP_Op<"wsloop", [AttrSizedOperandSegments,
|
||||
The optional `order` attribute specifies which order the iterations of the
|
||||
associate loops are executed in. Currently the only option for this
|
||||
attribute is "concurrent".
|
||||
|
||||
|
||||
The optional `byref` attribute indicates that reduction arguments should be
|
||||
passed by reference.
|
||||
}];
|
||||
@@ -1347,10 +1347,10 @@ def MapInfoOp : OpenMP_Op<"map_info", [AttrSizedOperandSegments]> {
|
||||
- `var_type`: The type of the variable to copy.
|
||||
- `var_ptr_ptr`: Used when the variable copied is a member of a class, structure
|
||||
or derived type and refers to the originating struct.
|
||||
- `members`: Used to indicate mapped child members for the current MapInfoOp,
|
||||
represented as other MapInfoOp's, utilised in cases where a parent structure
|
||||
type and members of the structure type are being mapped at the same time.
|
||||
For example: map(to: parent, parent->member, parent->member2[:10])
|
||||
- `members`: Used to indicate mapped child members for the current MapInfoOp,
|
||||
represented as other MapInfoOp's, utilised in cases where a parent structure
|
||||
type and members of the structure type are being mapped at the same time.
|
||||
For example: map(to: parent, parent->member, parent->member2[:10])
|
||||
- `bounds`: Used when copying slices of array's, pointers or pointer members of
|
||||
objects (e.g. derived types or classes), indicates the bounds to be copied
|
||||
of the variable. When it's an array slice it is in rank order where rank 0
|
||||
@@ -1391,7 +1391,7 @@ def MapInfoOp : OpenMP_Op<"map_info", [AttrSizedOperandSegments]> {
|
||||
// 2.14.2 target data Construct
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
def Target_DataOp: OpenMP_Op<"target_data", [AttrSizedOperandSegments,
|
||||
def Target_DataOp: OpenMP_Op<"target_data", [AttrSizedOperandSegments,
|
||||
MapClauseOwningOpInterface]>{
|
||||
let summary = "target data construct";
|
||||
let description = [{
|
||||
@@ -1449,7 +1449,7 @@ def Target_DataOp: OpenMP_Op<"target_data", [AttrSizedOperandSegments,
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
def Target_EnterDataOp: OpenMP_Op<"target_enter_data",
|
||||
[AttrSizedOperandSegments,
|
||||
[AttrSizedOperandSegments,
|
||||
MapClauseOwningOpInterface]>{
|
||||
let summary = "target enter data construct";
|
||||
let description = [{
|
||||
|
||||
@@ -34,8 +34,8 @@ def OutlineableOpenMPOpInterface : OpInterface<"OutlineableOpenMPOpInterface"> {
|
||||
def MapClauseOwningOpInterface : OpInterface<"MapClauseOwningOpInterface"> {
|
||||
let description = [{
|
||||
OpenMP operations which own a list of omp::MapInfoOp's implement this interface
|
||||
to allow generic access to deal with map operands to more easily manipulate
|
||||
this class of operations.
|
||||
to allow generic access to deal with map operands to more easily manipulate
|
||||
this class of operations.
|
||||
}];
|
||||
|
||||
let cppNamespace = "::mlir::omp";
|
||||
@@ -45,7 +45,7 @@ def MapClauseOwningOpInterface : OpInterface<"MapClauseOwningOpInterface"> {
|
||||
(ins), [{
|
||||
return $_op.getMapOperands();
|
||||
}]>,
|
||||
InterfaceMethod<"Get mutable map operands", "::mlir::MutableOperandRange",
|
||||
InterfaceMethod<"Get mutable map operands", "::mlir::MutableOperandRange",
|
||||
"getMapOperandsMutable",
|
||||
(ins), [{
|
||||
return $_op.getMapOperandsMutable();
|
||||
|
||||
Reference in New Issue
Block a user