llvm-project/flang/lib/Evaluate
Jean Perier 6c81b4a01e [flang] Fold transformational bessels when host runtime has bessels
Transformational bessel intrinsic functions require the same math runtime
as elemental bessel intrinsics.

Currently elemental bessels could be folded if f18 was linked with pgmath
(cmake -DLIBPGMATH_DIR option). `j0`, `y0`, ... C libm functions were not
used because they are not standard C functions: they are Posix
extensions.

This patch enable:
- Using the Posix bessel host runtime functions when available.
- folding the transformational bessel using the elemental version.

Differential Revision: https://reviews.llvm.org/D124167
2022-04-22 09:37:49 +02:00
..
CMakeLists.txt [flang] Improve runtime interface with C99 complex 2021-10-01 08:45:24 +02:00
call.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
character.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
characteristics.cpp [flang] Do not ICE on recursive function definition in function result 2022-04-21 19:04:17 +09:00
check-expression.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
common.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
complex.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
constant.cpp [flang] LBOUND() edge case: empty dimension 2022-03-14 11:16:09 -07:00
expression.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
fold-character.cpp [flang] Fold SCALE() 2022-01-15 09:31:00 -08:00
fold-complex.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
fold-designator.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
fold-implementation.h [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
fold-integer.cpp [flang] Set LBOUND() folding for (x) expression as ones 2022-04-20 20:06:11 +03:00
fold-logical.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
fold-real.cpp [flang] Fold transformational bessels when host runtime has bessels 2022-04-22 09:37:49 +02:00
fold-reduction.cpp [flang] Fold FINDLOC() 2021-09-30 12:08:10 -07:00
fold-reduction.h [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
fold.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
formatting.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
host.cpp [flang] Distinguish usage and portability warning messages 2022-03-08 17:24:52 -08:00
host.h [flang] Fix/work around warnings from GCC 11 2022-02-01 11:54:04 -08:00
initial-image.cpp [flang] Allow DATA initialization of derived types w/ allocatable components 2022-02-14 10:43:49 -08:00
int-power.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
integer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
intrinsics-library.cpp [flang] Fold transformational bessels when host runtime has bessels 2022-04-22 09:37:49 +02:00
intrinsics.cpp [flang] Fix regression with recent work on intrinsic/generic interactions 2022-04-18 11:10:41 -07:00
logical.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
real.cpp [flang] Fix float-number representation bug 2022-04-14 21:28:30 +08:00
shape.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
static-data.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
tools.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
type.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00
variable.cpp [flang] Add & use a better visit() (take 2) 2022-04-16 16:00:48 -07:00