llvm-project/flang/unittests/Evaluate
peter klausler c1db35f0c2 [flang] Implement more transformational intrinsic functions in runtime
Define APIs, naively implement, and add basic sanity unit tests for
the transformational intrinsic functions CSHIFT, EOSHIFT, PACK,
SPREAD, TRANSPOSE, and UNPACK.  These are the remaining transformational
intrinsic functions that rearrange data without regard to type
(except for default boundary values in EOSHIFT); RESHAPE was already
in place as a stress test for the runtime's descriptor handling
facilities.

Code is in place to create copies of allocatable/automatic
components when transforming arrays of derived type, but it won't
do anything until we have derived type information being passed to the
runtime from the frontend.

Differential Revision: https://reviews.llvm.org/D102857
2021-05-20 13:22:01 -07:00
..
CMakeLists.txt [flang] Fix build with BUILD_SHARED_LIBS=ON and FLANG_BUILD_NEW_DRIVER=ON 2020-10-15 13:03:55 +02:00
ISO-Fortran-binding.cpp [flang] Fix handling of elem_len in CFI_establish 2021-05-03 08:08:07 +00:00
bit-population-count.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
expression.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
folding.cpp [flang] Rework host runtime folding and enable REAL(2) folding with it. 2020-10-14 16:40:44 +02:00
fp-testing.cpp [flang] Fix setting mxcsr on MSVC 2020-07-08 07:25:25 -05:00
fp-testing.h [flang] Fix setting mxcsr on MSVC 2020-07-08 07:25:25 -05:00
integer.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
intrinsics.cpp [flang] Order Symbols by source provenance 2021-03-16 15:25:15 -07:00
leading-zero-bit-count.cpp [flang] Create a separate directory for unittests 2020-03-13 11:58:11 +00:00
logical.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
real.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
reshape.cpp [flang] Implement more transformational intrinsic functions in runtime 2021-05-20 13:22:01 -07:00
testing.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
testing.h [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00
uint128.cpp [flang] Reformat with latest clang-format and .clang-format 2020-03-28 21:00:16 -07:00