[Flang] Changes to mangling code
authorEric Schweitz <eschweitz@nvidia.com>
Mon, 5 Apr 2021 16:09:10 +0000 (17:09 +0100)
committerKiran Chandramohan <kiran.chandramohan@arm.com>
Fri, 9 Apr 2021 15:42:06 +0000 (16:42 +0100)
commit9da35814e5fb71d8610ed7888d1f05703bfa8b54
treeb4418007b8e552319c6d51b0b31650727d465901
parentaeff03d2df541d417ba216cec9f35c3eace39573
[Flang] Changes to mangling code

Call static functions using the class name (fir::NameUniquer).
Add function for mangling derivedTypes.

All the name mangling functions that are ultimately called are
tested in unittests/Optimizer/InternalNamesTest.cpp.

Differential Revision: https://reviews.llvm.org/D99967
flang/include/flang/Lower/Bridge.h
flang/include/flang/Lower/Mangler.h
flang/include/flang/Optimizer/CodeGen/CodeGen.h
flang/lib/Lower/Mangler.cpp