[flang] Upstreaming intrinsic call lowering.
authorEric Schweitz <eschweitz@nvidia.com>
Tue, 7 Jul 2020 22:39:09 +0000 (15:39 -0700)
committerEric Schweitz <eschweitz@nvidia.com>
Wed, 8 Jul 2020 14:34:21 +0000 (07:34 -0700)
commit24b62f28c5daa293a2602712e1eba82cb59f3a6f
treef50dfbf5bbe308c2bfe2cbae5ab5784c46ec4307
parent15fa287b64d0ef845201339994cdf6eb3e4d51e1
[flang] Upstreaming intrinsic call lowering.

This module implements the lowering of Fortran intrinsics to the
corresponding calls in support libraries (the Fortran runtime, math
libraries, etc.)

This revision is a tad larger because there are a large number of Fortran
intrinsics and this adds lowering for a fair number of them.

Differential revision: https://reviews.llvm.org/D83355
flang/include/flang/Lower/CharacterExpr.h
flang/include/flang/Lower/IntrinsicCall.h
flang/include/flang/Lower/Mangler.h
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/lib/Lower/CMakeLists.txt
flang/lib/Lower/CharacterExpr.cpp
flang/lib/Lower/IntrinsicCall.cpp [new file with mode: 0644]
flang/lib/Lower/Mangler.cpp
flang/lib/Optimizer/Dialect/FIRType.cpp