diff options
author | peter klausler <pklausler@nvidia.com> | 2021-01-19 17:14:41 -0800 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2021-01-20 12:40:25 -0800 |
commit | 0996b590aaafe2de8378fd45a5094c13a4de3360 (patch) | |
tree | 1168457e05c07a232cf375c33ebaa9dc43da44df /llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp | |
parent | 8dd58a509cc8b93a211c9b07b12e1548dc187fc3 (diff) | |
download | llvm-0996b590aaafe2de8378fd45a5094c13a4de3360.zip llvm-0996b590aaafe2de8378fd45a5094c13a4de3360.tar.gz llvm-0996b590aaafe2de8378fd45a5094c13a4de3360.tar.bz2 |
[flang] Infrastructure improvements in utility routines
* IsArrayElement() needs another option to control whether it
should ignore trailing component references.
* Add IsObjectPointer().
* Add const Scope& variants of IsFunction() and IsProcedure().
* Make TypeAndShape::Characterize() work with procedure bindings.
* Handle CHARACTER length in MeasureSizeInBytes().
* Fine-tune FindExternallyVisibleObject()'s handling of dummy arguments
to conform with Fortran 2018: only INTENT(IN) and dummy pointers
in pure functions signify; update two tests accordingly.
Also: resolve some stylistic inconsistencies and add a missing
"const" in the expression traversal template framework.
Differential Revision: https://reviews.llvm.org/D95011
Diffstat (limited to 'llvm/lib/Analysis/ImportedFunctionsInliningStatistics.cpp')
0 files changed, 0 insertions, 0 deletions