File tree Expand file tree Collapse file tree 5 files changed +13
-6
lines changed
include/flang/Optimizer/Dialect Expand file tree Collapse file tree 5 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 4
4
set (LLVM_TARGET_DEFINITIONS FIROps.td )
5
5
mlir_tablegen (FIROps.h.inc -gen-op-decls )
6
6
mlir_tablegen (FIROps.cpp.inc -gen-op-defs )
7
+ add_public_tablegen_target (FIROpsIncGen )
8
+
9
+ set (LLVM_TARGET_DEFINITIONS FIRTypes.td )
7
10
mlir_tablegen (FIROpsTypes.h.inc --gen-typedef-decls )
8
11
mlir_tablegen (FIROpsTypes.cpp.inc --gen-typedef-defs )
9
- add_public_tablegen_target (FIROpsIncGen )
12
+ add_public_tablegen_target (FIRTypesIncGen )
10
13
11
14
add_custom_target (flang-doc )
12
15
set (dialect_doc_filename "FIRLangRef" )
Original file line number Diff line number Diff line change 14
14
#ifndef FORTRAN_DIALECT_FIR_DIALECT
15
15
#define FORTRAN_DIALECT_FIR_DIALECT
16
16
17
+ include "mlir/IR/SymbolInterfaces.td"
18
+ include "mlir/Interfaces/CallInterfaces.td"
19
+ include "mlir/Interfaces/ControlFlowInterfaces.td"
20
+ include "mlir/Interfaces/LoopLikeInterface.td"
21
+ include "mlir/Interfaces/SideEffectInterfaces.td"
22
+
17
23
def fir_Dialect : Dialect {
18
24
let name = "fir";
19
25
let cppNamespace = "::fir";
Original file line number Diff line number Diff line change 14
14
#ifndef FORTRAN_DIALECT_FIR_OPS
15
15
#define FORTRAN_DIALECT_FIR_OPS
16
16
17
- include "mlir/IR/SymbolInterfaces.td"
18
- include "mlir/Interfaces/CallInterfaces.td"
19
- include "mlir/Interfaces/ControlFlowInterfaces.td"
20
- include "mlir/Interfaces/LoopLikeInterface.td"
21
- include "mlir/Interfaces/SideEffectInterfaces.td"
17
+ include "flang/Optimizer/Dialect/FIRDialect.td"
22
18
include "flang/Optimizer/Dialect/FIRTypes.td"
23
19
24
20
// Base class for FIR operations.
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ add_flang_library(FIRDialect
9
9
DEPENDS
10
10
FIRSupport
11
11
FIROpsIncGen
12
+ FIRTypesIncGen
12
13
13
14
LINK_LIBS
14
15
FIRSupport
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ add_flang_library(FIRSupport
7
7
KindMapping.cpp
8
8
9
9
DEPENDS
10
+ FIRTypesIncGen
10
11
${dialect_libs}
11
12
12
13
LINK_LIBS
You can’t perform that action at this time.
0 commit comments