llvm-project/flang/lib/Optimizer/Support
Valentin Clement 87b2d1d04e
[flang] Add getTypeDescriptorBindingTableName function
Type descriptor and its binding table are defined as fir.global in FIR.
Their names are derived from the derived-type name. This patch adds a new
function `getTypeDescriptorBindingTableName` in the NameUniquer and
refactor the `GetTypeDescriptorName` function to reuse the same code.
This will be used in the fir.dispatch code generation.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D136167
2022-10-18 19:55:55 +02:00
..
CMakeLists.txt [flang] Update tco tool pipline and add translation to LLVM IR 2022-01-24 14:16:27 +01:00
FIRContext.cpp [flang][driver] Add support for -S and implement -c/-emit-obj 2022-03-09 15:48:09 +00:00
InitFIR.cpp [flang] Update tco tool pipline and add translation to LLVM IR 2022-01-24 14:16:27 +01:00
InternalNames.cpp [flang] Add getTypeDescriptorBindingTableName function 2022-10-18 19:55:55 +02:00
KindMapping.cpp [NFC] Fix comment 2022-02-17 21:19:22 +08:00