llvm-project/flang/tools
Valentin Clement e1a12767ee
[flang] Initial lowering for empty program
This patch enable lowering from Fortran to FIR for a basic empty
program. It brings all the infrastructure needed for that. As discussed
previously, this is the first patch for lowering and follow up patches
should be smaller.

With this patch we can lower the following code:

```
program basic
end program
```

To a the FIR equivalent:

```
func @_QQmain() {
  return
}
```

Follow up patch will add lowering of more complex constructs.

Reviewed By: kiranchandramohan, schweitz, PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D118436
2022-01-28 22:39:58 +01:00
..
bbc [flang] Initial lowering for empty program 2022-01-28 22:39:58 +01:00
f18 [flang] Get rid of code duplication in wrapper. Fix checking of undefined variables. 2022-01-26 11:42:03 +03:00
f18-parse-demo [flang] Produce proper "preprocessor output" for -E option 2021-07-30 15:13:56 -07:00
fir-opt [fir] Clean up InitFIR.h 2021-10-11 15:41:50 +02:00
flang-driver [flang] Use `GNUInstallDirs` to support custom installation dirs. 2021-12-31 18:58:35 +00:00
tco [flang][tco] Remove unneeded dependencies 2022-01-26 13:02:58 +00:00
.clang-tidy [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
CMakeLists.txt [flang] Initial lowering for empty program 2022-01-28 22:39:58 +01:00