aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2023-03-10 15:06:01 -0800
committerPeter Klausler <pklausler@nvidia.com>2023-03-27 14:56:25 -0700
commit09b00ab4898449aa70c1bc5eb891cfa2addb85fc (patch)
treee27aa0c4844dedea066c95f2b9f8ef0b938f8c30 /llvm/unittests/ExecutionEngine/Orc
parent9972c9a893478241b7c9d8b587df978bc6d7e5a0 (diff)
downloadllvm-09b00ab4898449aa70c1bc5eb891cfa2addb85fc.zip
llvm-09b00ab4898449aa70c1bc5eb891cfa2addb85fc.tar.gz
llvm-09b00ab4898449aa70c1bc5eb891cfa2addb85fc.tar.bz2
[flang] Handle dynamic and remotely scoped non-type-bound UDDTIO subroutines
The present I/O infrastructure for user-defined derived type I/O subroutines works fine for type-bound I/O generic bindings. It also works for explicit INTERFACE blocks and GENERIC statements that define UDDIO subroutines in the same scope as the definition of the derived type, so long as the specific procedures in those bindings are module procedures or external procedures. For non-type-bound UDDTIO specific procedures that are dummy procedures, thunks of inner procedures, or procedure pointers, or that are defined with interfaces or GENERIC outside the scope of the definition of the derived type, a new runtime I/O API is needed so that lowering can generate a call that supplies the appropriate procedure as well as the defined type instance. This patch specifies and implements this new runtime API and provides utility routines for lowering to use to determine whether it should be called for any particular OutputItem or InputItem in the parse tree. Differential Revision: https://reviews.llvm.org/D146571
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc')
0 files changed, 0 insertions, 0 deletions