@@ -107,6 +107,64 @@ void Fortran::lower::genStopStatement(
107
107
genUnreachable (builder, loc);
108
108
}
109
109
110
+ void Fortran::lower::genFailImageStatement (
111
+ Fortran::lower::AbstractConverter &converter) {
112
+ fir::FirOpBuilder &builder = converter.getFirOpBuilder ();
113
+ mlir::Location loc = converter.getCurrentLocation ();
114
+ mlir::FuncOp callee =
115
+ fir::runtime::getRuntimeFunc<mkRTKey (FailImageStatement)>(loc, builder);
116
+ builder.create <fir::CallOp>(loc, callee, llvm::None);
117
+ genUnreachable (builder, loc);
118
+ }
119
+
120
+ void Fortran::lower::genEventPostStatement (
121
+ Fortran::lower::AbstractConverter &converter,
122
+ const Fortran::parser::EventPostStmt &) {
123
+ TODO (converter.getCurrentLocation (), " EVENT POST runtime" );
124
+ }
125
+
126
+ void Fortran::lower::genEventWaitStatement (
127
+ Fortran::lower::AbstractConverter &converter,
128
+ const Fortran::parser::EventWaitStmt &) {
129
+ TODO (converter.getCurrentLocation (), " EVENT WAIT runtime" );
130
+ }
131
+
132
+ void Fortran::lower::genLockStatement (
133
+ Fortran::lower::AbstractConverter &converter,
134
+ const Fortran::parser::LockStmt &) {
135
+ TODO (converter.getCurrentLocation (), " LOCK runtime" );
136
+ }
137
+
138
+ void Fortran::lower::genUnlockStatement (
139
+ Fortran::lower::AbstractConverter &converter,
140
+ const Fortran::parser::UnlockStmt &) {
141
+ TODO (converter.getCurrentLocation (), " UNLOCK runtime" );
142
+ }
143
+
144
+ void Fortran::lower::genSyncAllStatement (
145
+ Fortran::lower::AbstractConverter &converter,
146
+ const Fortran::parser::SyncAllStmt &) {
147
+ TODO (converter.getCurrentLocation (), " SYNC ALL runtime" );
148
+ }
149
+
150
+ void Fortran::lower::genSyncImagesStatement (
151
+ Fortran::lower::AbstractConverter &converter,
152
+ const Fortran::parser::SyncImagesStmt &) {
153
+ TODO (converter.getCurrentLocation (), " SYNC IMAGES runtime" );
154
+ }
155
+
156
+ void Fortran::lower::genSyncMemoryStatement (
157
+ Fortran::lower::AbstractConverter &converter,
158
+ const Fortran::parser::SyncMemoryStmt &) {
159
+ TODO (converter.getCurrentLocation (), " SYNC MEMORY runtime" );
160
+ }
161
+
162
+ void Fortran::lower::genSyncTeamStatement (
163
+ Fortran::lower::AbstractConverter &converter,
164
+ const Fortran::parser::SyncTeamStmt &) {
165
+ TODO (converter.getCurrentLocation (), " SYNC TEAM runtime" );
166
+ }
167
+
110
168
void Fortran::lower::genPauseStatement (
111
169
Fortran::lower::AbstractConverter &converter,
112
170
const Fortran::parser::PauseStmt &) {
0 commit comments