[flang][hlfir][NFC] refactor transformational intrinsic lowering
authorTom Eccles <tom.eccles@arm.com>
Mon, 26 Jun 2023 17:46:15 +0000 (17:46 +0000)
committerTom Eccles <tom.eccles@arm.com>
Tue, 4 Jul 2023 09:34:43 +0000 (09:34 +0000)
commitd2d213018df6d2d6e8b9c4f6d88d52ee5a94fb49
tree4eb0b9f19bfc07b76ac4e0538370480325aed24d
parente13582e9e34511e9934b3674007e43f934b9de25
[flang][hlfir][NFC] refactor transformational intrinsic lowering

The old code had overgrown itself and become difficult to read and
modify. I've rewritten it and moved it into its own translation unit.

I moved PreparedActualArgument to the header file for the
transformational intrinsic lowering. Logically, it belongs in
ConvertCall.h, but putting it there would create a circular dependency
between HlfirIntrinsics and ConvertCall.

Differential Revision: https://reviews.llvm.org/D154235
flang/include/flang/Lower/HlfirIntrinsics.h [new file with mode: 0644]
flang/lib/Lower/CMakeLists.txt
flang/lib/Lower/ConvertCall.cpp
flang/lib/Lower/HlfirIntrinsics.cpp [new file with mode: 0644]