File tree Expand file tree Collapse file tree 4 files changed +30
-8
lines changed
include/flang/Optimizer/CodeGen Expand file tree Collapse file tree 4 files changed +30
-8
lines changed Original file line number Diff line number Diff line change 19
19
namespace fir {
20
20
21
21
struct NameUniquer ;
22
- class LLVMTypeConverter ;
23
22
24
23
#define GEN_PASS_DECL_FIRTOLLVMLOWERING
25
24
#define GEN_PASS_DECL_CODEGENREWRITE
@@ -81,12 +80,6 @@ std::unique_ptr<mlir::Pass> createLLVMDialectToLLVMPass(
81
80
std::unique_ptr<mlir::Pass> createBoxedProcedurePass ();
82
81
std::unique_ptr<mlir::Pass> createBoxedProcedurePass (bool useThunks);
83
82
84
- // / Specialised conversion patterns of OpenMP operations for FIR to LLVM
85
- // / dialect, utilised in cases where the default OpenMP dialect handling cannot
86
- // / handle all cases for intermingled fir types and operations.
87
- void populateOpenMPFIRToLLVMConversionPatterns (
88
- LLVMTypeConverter &converter, mlir::RewritePatternSet &patterns);
89
-
90
83
// declarative passes
91
84
#define GEN_PASS_REGISTRATION
92
85
#include " flang/Optimizer/CodeGen/CGPasses.h.inc"
Original file line number Diff line number Diff line change
1
+ // === Optimizer/CodeGen/CodeGenOpenMP.h - OpenMP code generation -*- C++ -*-===//
2
+ //
3
+ // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
+ // See https://llvm.org/LICENSE.txt for license information.
5
+ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
+ //
7
+ // ===----------------------------------------------------------------------===//
8
+
9
+ #ifndef FORTRAN_OPTIMIZER_CODEGEN_CODEGENOPENMP_H
10
+ #define FORTRAN_OPTIMIZER_CODEGEN_CODEGENOPENMP_H
11
+
12
+ #include " mlir/Pass/Pass.h"
13
+ #include " mlir/Pass/PassRegistry.h"
14
+
15
+ namespace fir {
16
+ class LLVMTypeConverter ;
17
+
18
+ // / Specialised conversion patterns of OpenMP operations for FIR to LLVM
19
+ // / dialect, utilised in cases where the default OpenMP dialect handling cannot
20
+ // / handle all cases for intermingled fir types and operations.
21
+ void populateOpenMPFIRToLLVMConversionPatterns (
22
+ LLVMTypeConverter &converter, mlir::RewritePatternSet &patterns);
23
+
24
+ } // namespace fir
25
+
26
+
27
+ #endif // FORTRAN_OPTIMIZER_CODEGEN_CODEGENOPENMP_H
Original file line number Diff line number Diff line change 13
13
#include " flang/Optimizer/CodeGen/CodeGen.h"
14
14
15
15
#include " CGOps.h"
16
+ #include " flang/Optimizer/CodeGen/CodeGenOpenMP.h"
16
17
#include " flang/Optimizer/Dialect/FIRAttr.h"
17
18
#include " flang/Optimizer/Dialect/FIROps.h"
18
19
#include " flang/Optimizer/Dialect/FIRType.h"
Original file line number Diff line number Diff line change 1
- #include " flang/Optimizer/CodeGen/CodeGen .h"
1
+ #include " flang/Optimizer/CodeGen/CodeGenOpenMP .h"
2
2
3
3
#include " flang/Optimizer/Builder/FIRBuilder.h"
4
4
#include " flang/Optimizer/Builder/LowLevelIntrinsics.h"
5
+ #include " flang/Optimizer/CodeGen/CodeGen.h"
5
6
#include " flang/Optimizer/Dialect/FIRDialect.h"
6
7
#include " flang/Optimizer/Dialect/FIROps.h"
7
8
#include " flang/Optimizer/Dialect/FIRType.h"
You can’t perform that action at this time.
0 commit comments