llvm-project/flang/lib
peter klausler 52711fb8da [flang] Make builtin types more easily accessible; use them
Rearrange the contents of __builtin_* module files a little and
make sure that semantics implicitly USEs the module __Fortran_builtins
before processing each source file.  This ensures that the special derived
types for TEAM_TYPE, EVENT_TYPE, LOCK_TYPE, &c. exist in the symbol table
where they will be available for use in coarray intrinsic function
processing.

Update IsTeamType() to exploit access to the __Fortran_builtins
module rather than applying ad hoc name tests.  Move it and some
other utilities from Semantics/tools.* to Evaluate/tools.* to make
them available to intrinsics processing.

Add/correct the intrinsic table definitions for GET_TEAM, TEAM_NUMBER,
and THIS_IMAGE to exercise the built-in TEAM_TYPE as an argument and
as a result.

Add/correct/extend tests accordingly.

Differential Revision: https://reviews.llvm.org/D110356
2021-09-29 13:06:01 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal [flang] runtime: For Fw.d formatting, don't oscillate forever 2021-08-04 12:19:23 -07:00
Evaluate [flang] Make builtin types more easily accessible; use them 2021-09-29 13:06:01 -07:00
Frontend [flang] Refine output file generation 2021-08-21 15:18:48 +00:00
FrontendTool [flang][driver] Add support for Frontend Plugins 2021-08-12 11:42:16 +01:00
Lower [flang][fir] Add support to mangle/deconstruct namelist group name 2021-09-24 22:10:39 +02:00
Optimizer [fir] Move parser/printer/verifier of fir.string_lit and add builders 2021-09-29 21:45:17 +02:00
Parser [flang] Fix build 2021-09-17 12:39:38 -07:00
Semantics [flang] Make builtin types more easily accessible; use them 2021-09-29 13:06:01 -07:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00