diff options
author | Sergio Afonso <safonsof@amd.com> | 2024-03-20 11:19:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 11:19:38 +0000 |
commit | d84252e064b3f35aa879c10e207f77e931f351d9 (patch) | |
tree | bff1027cbd1ff3e4655052139a605346b7514c6e /llvm/lib/IR/Function.cpp | |
parent | fe2119a7b08b6e468b2a67768904ea85b1bf0a45 (diff) | |
download | llvm-d84252e064b3f35aa879c10e207f77e931f351d9.zip llvm-d84252e064b3f35aa879c10e207f77e931f351d9.tar.gz llvm-d84252e064b3f35aa879c10e207f77e931f351d9.tar.bz2 |
[MLIR][OpenMP] NFC: Uniformize OpenMP ops names (#85393)
This patch proposes the renaming of certain OpenMP dialect operations with the
goal of improving readability and following a uniform naming convention for
MLIR operations and associated classes. In particular, the following operations
are renamed:
- `omp.map_info` -> `omp.map.info`
- `omp.target_update_data` -> `omp.target_update`
- `omp.ordered_region` -> `omp.ordered.region`
- `omp.cancellationpoint` -> `omp.cancellation_point`
- `omp.bounds` -> `omp.map.bounds`
- `omp.reduction.declare` -> `omp.declare_reduction`
Also, the following MLIR operation classes have been renamed:
- `omp::TaskLoopOp` -> `omp::TaskloopOp`
- `omp::TaskGroupOp` -> `omp::TaskgroupOp`
- `omp::DataBoundsOp` -> `omp::MapBoundsOp`
- `omp::DataOp` -> `omp::TargetDataOp`
- `omp::EnterDataOp` -> `omp::TargetEnterDataOp`
- `omp::ExitDataOp` -> `omp::TargetExitDataOp`
- `omp::UpdateDataOp` -> `omp::TargetUpdateOp`
- `omp::ReductionDeclareOp` -> `omp::DeclareReductionOp`
- `omp::WsLoopOp` -> `omp::WsloopOp`
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions