2020-07-03 16:01:35 +08:00
|
|
|
if (LIBPGMATH_DIR)
|
|
|
|
# If pgmath library is found, it can be used for constant folding.
|
|
|
|
find_library(LIBPGMATH pgmath PATHS ${LIBPGMATH_DIR})
|
|
|
|
if(LIBPGMATH)
|
|
|
|
add_compile_definitions(LINK_WITH_LIBPGMATH)
|
|
|
|
message(STATUS "Found libpgmath: ${LIBPGMATH}")
|
|
|
|
else()
|
|
|
|
message(STATUS "Libpgmath not found in: ${LIBPGMATH_DIR}")
|
|
|
|
endif()
|
|
|
|
endif()
|
2018-05-19 08:11:04 +08:00
|
|
|
|
2020-04-16 20:34:17 +08:00
|
|
|
add_flang_library(FortranEvaluate
|
2020-01-28 10:18:45 +08:00
|
|
|
call.cpp
|
|
|
|
characteristics.cpp
|
|
|
|
check-expression.cpp
|
|
|
|
common.cpp
|
|
|
|
complex.cpp
|
|
|
|
constant.cpp
|
|
|
|
expression.cpp
|
|
|
|
fold.cpp
|
|
|
|
fold-character.cpp
|
|
|
|
fold-complex.cpp
|
2020-06-19 04:28:43 +08:00
|
|
|
fold-designator.cpp
|
2020-01-28 10:18:45 +08:00
|
|
|
fold-integer.cpp
|
|
|
|
fold-logical.cpp
|
|
|
|
fold-real.cpp
|
|
|
|
formatting.cpp
|
|
|
|
host.cpp
|
2020-06-19 05:37:59 +08:00
|
|
|
initial-image.cpp
|
2020-01-28 10:18:45 +08:00
|
|
|
integer.cpp
|
|
|
|
intrinsics.cpp
|
|
|
|
intrinsics-library.cpp
|
|
|
|
logical.cpp
|
|
|
|
real.cpp
|
|
|
|
shape.cpp
|
|
|
|
static-data.cpp
|
|
|
|
tools.cpp
|
|
|
|
type.cpp
|
|
|
|
variable.cpp
|
2020-02-26 07:22:14 +08:00
|
|
|
|
2020-04-16 20:34:17 +08:00
|
|
|
LINK_LIBS
|
2018-09-13 07:37:28 +08:00
|
|
|
FortranCommon
|
2019-08-17 02:12:18 +08:00
|
|
|
FortranDecimal
|
2019-01-19 07:53:11 +08:00
|
|
|
FortranParser
|
2020-07-03 16:01:35 +08:00
|
|
|
${LIBPGMATH}
|
[flang][openmp] Use common Directive and Clause enum from llvm/Frontend
Summary:
This patch is removing the custom enumeration for OpenMP Directives and Clauses and replace them
with the newly tablegen generated one from llvm/Frontend. This is a first patch and some will follow to share the same
infrastructure where possible. The next patch should use the clauses allowance defined in the tablegen file.
Reviewers: jdoerfert, DavidTruby, sscalpone, kiranchandramohan, ichoyjx
Reviewed By: DavidTruby, ichoyjx
Subscribers: jholewinski, cfe-commits, dblaikie, MaskRay, ymandel, ichoyjx, mgorny, yaxunl, guansong, jfb, sstefan1, aaron.ballman, llvm-commits
Tags: #llvm, #flang, #clang
Differential Revision: https://reviews.llvm.org/D82906
2020-07-02 08:57:11 +08:00
|
|
|
|
|
|
|
DEPENDS
|
2020-08-11 22:43:56 +08:00
|
|
|
acc_gen
|
[flang][openmp] Use common Directive and Clause enum from llvm/Frontend
Summary:
This patch is removing the custom enumeration for OpenMP Directives and Clauses and replace them
with the newly tablegen generated one from llvm/Frontend. This is a first patch and some will follow to share the same
infrastructure where possible. The next patch should use the clauses allowance defined in the tablegen file.
Reviewers: jdoerfert, DavidTruby, sscalpone, kiranchandramohan, ichoyjx
Reviewed By: DavidTruby, ichoyjx
Subscribers: jholewinski, cfe-commits, dblaikie, MaskRay, ymandel, ichoyjx, mgorny, yaxunl, guansong, jfb, sstefan1, aaron.ballman, llvm-commits
Tags: #llvm, #flang, #clang
Differential Revision: https://reviews.llvm.org/D82906
2020-07-02 08:57:11 +08:00
|
|
|
omp_gen
|
2018-09-13 07:37:28 +08:00
|
|
|
)
|
2019-03-22 18:14:10 +08:00
|
|
|
|