llvm-capstone/flang/lib
Faris Rehman 6d48a1a53f [flang][driver] Add support for -fopenmp and -fopenacc
Add support for the following options:
* -fopenmp
* -fopenacc

Update OpenMP and OpenACC semantics tests to use the new driver if it is built, otherwise use f18.
OpenMP tests that include `use omp_lib` or run `test_symbols.sh` have not been updated as they require options `-intrinsic-module-directory` and `-funparse-with-symbols` which are currently not implemented in the new driver.
Similarly OpenACC tests that run `test_symbols.sh` have not been updated.

This patch also moves semanticsContext to CompilerInvocation and creates it in CompilerInvocation#setSemanticsOpts so that the semantics context can use Fortran::parser::Options#features.

Summary of changes:
- Move semanticsContext to CompilerInvocation.h
- Update OpenMP and OpenACC semantics tests that do not rely on `-intrinsic-module-directory` and `-funparse-with-symbols` to use %flang

Differential Revision: https://reviews.llvm.org/D96032
2021-02-10 09:59:35 +00:00
..
Common
Decimal
Evaluate [flang] Fix calls to LBOUND() intrinsic for arrays with lower bounds not 1 2021-02-03 10:53:32 -08:00
Frontend [flang][driver] Add support for -fopenmp and -fopenacc 2021-02-10 09:59:35 +00:00
FrontendTool [flang][driver] Move isFixedFormSuffix and isFreeFormSuffix to flangFrontend 2021-01-19 17:47:40 +00:00
Lower [flang][fir] Update FIR's character type. 2021-02-08 08:20:04 -08:00
Optimizer [flang][fir] Updates to internal name uniquer. 2021-02-09 14:43:33 -08:00
Parser [flang] Fix parsing of WRITE(I+J) with more accurate look-ahead 2021-02-01 09:07:40 -08:00
Semantics [flang][msvc] Reapply "Explicitly reference "this" inside closure" 2021-02-04 16:33:51 -06:00
CMakeLists.txt