@@ -1913,7 +1913,7 @@ static mlir::omp::LoopNestOp genLoopNestOp(
1913
1913
queue, item, clauseOps);
1914
1914
}
1915
1915
1916
- static mlir::Operation *
1916
+ static mlir::omp::LoopOp
1917
1917
genLoopOp (lower::AbstractConverter &converter, lower::SymMap &symTable,
1918
1918
semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval,
1919
1919
mlir::Location loc, const ConstructQueue &queue,
@@ -2540,7 +2540,7 @@ genTeamsOp(lower::AbstractConverter &converter, lower::SymMap &symTable,
2540
2540
// also be a leaf of a composite construct
2541
2541
// ===----------------------------------------------------------------------===//
2542
2542
2543
- static mlir::Operation * genStandaloneDistribute (
2543
+ static mlir::omp::DistributeOp genStandaloneDistribute (
2544
2544
lower::AbstractConverter &converter, lower::SymMap &symTable,
2545
2545
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2546
2546
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2571,7 +2571,7 @@ static mlir::Operation *genStandaloneDistribute(
2571
2571
return distributeOp;
2572
2572
}
2573
2573
2574
- static mlir::Operation * genStandaloneDo (
2574
+ static mlir::omp::WsloopOp genStandaloneDo (
2575
2575
lower::AbstractConverter &converter, lower::SymMap &symTable,
2576
2576
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2577
2577
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2605,7 +2605,7 @@ static mlir::Operation *genStandaloneDo(
2605
2605
return wsloopOp;
2606
2606
}
2607
2607
2608
- static mlir::Operation * genStandaloneParallel (
2608
+ static mlir::omp::ParallelOp genStandaloneParallel (
2609
2609
lower::AbstractConverter &converter, lower::SymMap &symTable,
2610
2610
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2611
2611
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2634,13 +2634,12 @@ static mlir::Operation *genStandaloneParallel(
2634
2634
enableDelayedPrivatization ? &dsp.value () : nullptr );
2635
2635
}
2636
2636
2637
- static mlir::Operation *genStandaloneSimd (lower::AbstractConverter &converter,
2638
- lower::SymMap &symTable,
2639
- semantics::SemanticsContext &semaCtx,
2640
- lower::pft::Evaluation &eval,
2641
- mlir::Location loc,
2642
- const ConstructQueue &queue,
2643
- ConstructQueue::const_iterator item) {
2637
+ static mlir::omp::SimdOp
2638
+ genStandaloneSimd (lower::AbstractConverter &converter, lower::SymMap &symTable,
2639
+ semantics::SemanticsContext &semaCtx,
2640
+ lower::pft::Evaluation &eval, mlir::Location loc,
2641
+ const ConstructQueue &queue,
2642
+ ConstructQueue::const_iterator item) {
2644
2643
mlir::omp::SimdOperands simdClauseOps;
2645
2644
llvm::SmallVector<const semantics::Symbol *> simdReductionSyms;
2646
2645
genSimdClauses (converter, semaCtx, item->clauses , loc, simdClauseOps,
@@ -2670,7 +2669,7 @@ static mlir::Operation *genStandaloneSimd(lower::AbstractConverter &converter,
2670
2669
return simdOp;
2671
2670
}
2672
2671
2673
- static mlir::Operation * genStandaloneTaskloop (
2672
+ static mlir::omp::TaskloopOp genStandaloneTaskloop (
2674
2673
lower::AbstractConverter &converter, lower::SymMap &symTable,
2675
2674
semantics::SemanticsContext &semaCtx, lower::pft::Evaluation &eval,
2676
2675
mlir::Location loc, const ConstructQueue &queue,
@@ -2683,7 +2682,7 @@ static mlir::Operation *genStandaloneTaskloop(
2683
2682
// Code generation functions for composite constructs
2684
2683
// ===----------------------------------------------------------------------===//
2685
2684
2686
- static mlir::Operation * genCompositeDistributeParallelDo (
2685
+ static mlir::omp::DistributeOp genCompositeDistributeParallelDo (
2687
2686
lower::AbstractConverter &converter, lower::SymMap &symTable,
2688
2687
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2689
2688
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2749,7 +2748,7 @@ static mlir::Operation *genCompositeDistributeParallelDo(
2749
2748
return distributeOp;
2750
2749
}
2751
2750
2752
- static mlir::Operation * genCompositeDistributeParallelDoSimd (
2751
+ static mlir::omp::DistributeOp genCompositeDistributeParallelDoSimd (
2753
2752
lower::AbstractConverter &converter, lower::SymMap &symTable,
2754
2753
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2755
2754
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2840,7 +2839,7 @@ static mlir::Operation *genCompositeDistributeParallelDoSimd(
2840
2839
return distributeOp;
2841
2840
}
2842
2841
2843
- static mlir::Operation * genCompositeDistributeSimd (
2842
+ static mlir::omp::DistributeOp genCompositeDistributeSimd (
2844
2843
lower::AbstractConverter &converter, lower::SymMap &symTable,
2845
2844
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2846
2845
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2894,7 +2893,7 @@ static mlir::Operation *genCompositeDistributeSimd(
2894
2893
return distributeOp;
2895
2894
}
2896
2895
2897
- static mlir::Operation * genCompositeDoSimd (
2896
+ static mlir::omp::WsloopOp genCompositeDoSimd (
2898
2897
lower::AbstractConverter &converter, lower::SymMap &symTable,
2899
2898
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2900
2899
lower::pft::Evaluation &eval, mlir::Location loc,
@@ -2951,7 +2950,7 @@ static mlir::Operation *genCompositeDoSimd(
2951
2950
return wsloopOp;
2952
2951
}
2953
2952
2954
- static mlir::Operation * genCompositeTaskloopSimd (
2953
+ static mlir::omp::TaskloopOp genCompositeTaskloopSimd (
2955
2954
lower::AbstractConverter &converter, lower::SymMap &symTable,
2956
2955
lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
2957
2956
lower::pft::Evaluation &eval, mlir::Location loc,
0 commit comments