aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorJean Perier <jperier@nvidia.com>2023-03-06 14:00:26 +0100
committerJean Perier <jperier@nvidia.com>2023-03-06 14:00:39 +0100
commit6ed4a8b9b1f3041c661b6e7be43db73cda27a2bd (patch)
treecb10c47f3b531f141320cf98e314f9ca10969233 /lldb/source/Plugins/ScriptInterpreter/Python
parent4aec70c0c9308e1ea9326a30842b57b8cfc408d2 (diff)
downloadllvm-6ed4a8b9b1f3041c661b6e7be43db73cda27a2bd.zip
llvm-6ed4a8b9b1f3041c661b6e7be43db73cda27a2bd.tar.gz
llvm-6ed4a8b9b1f3041c661b6e7be43db73cda27a2bd.tar.bz2
[flang][hlfir] Lower intrinsic module procedures to HLFIR
Intrinsic module procedures are a bit different from intrinsic procedures: they are defined in intrinsic module files, but their signature and representation in semantics is the same as user procedures. The code to lower them in lowering (when they are not implemented in Fortran) is the same as for intrinsic procedures (Optimizer/Builder/IntrinsicCall.cpp). The dispatching in in HLFIR procedure reference lowering must be slightly modified so that these evaluate::ProcRef that have a semantics::Symbol instead of an evaluate::SpecificIntrinsic can be dispatched as evaluate::SpecificIntrinsic: - move isIntrinsicModuleProcedure to detect them - in the helpers dealing with intrinsics, make evaluate::SpecificIntrinsic a pointer argument that can be null for intrinsic module procedures. - add getProcedureName() to call context to avoid relying on the evaluate::SpecificIntrinsic when it is not know to be null. Differential Revision: https://reviews.llvm.org/D145360
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions