diff options
author | Jean Perier <jperier@nvidia.com> | 2022-02-03 10:13:39 +0100 |
---|---|---|
committer | Jean Perier <jperier@nvidia.com> | 2022-02-03 10:13:54 +0100 |
commit | 575a6f819bc60fc2423e492f6c133404740445db (patch) | |
tree | 565deccd10e090dec02961de0b0b2bba7420b5f0 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
parent | 7cc3e0204210a8c9c12f29fddbfec9dfe786e931 (diff) | |
download | llvm-575a6f819bc60fc2423e492f6c133404740445db.zip llvm-575a6f819bc60fc2423e492f6c133404740445db.tar.gz llvm-575a6f819bc60fc2423e492f6c133404740445db.tar.bz2 |
[flang] add ExtendedValue type helpers and factory::genZeroValue
Add some helpers to get the base type and element type of
fir::ExtendedValue and to test if a fir::ExtendedValue is
a derived type with length parameters.
Add a new helper factory::genZeroValue to generate zero scalar value for
all the numerical types and false for logicals.
These helpers are used only in lowering for now, so add unit tests.
Differential Revision: https://reviews.llvm.org/D118795
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions