[flang] Introduce BaseBoxType
authorValentin Clement <clementval@gmail.com>
Sun, 2 Oct 2022 18:07:18 +0000 (20:07 +0200)
committerValentin Clement <clementval@gmail.com>
Sun, 2 Oct 2022 18:08:54 +0000 (20:08 +0200)
commitceff415a1a19dc7039965437382d3f36cb94f08e
treef922990ee84a96b89d1b9c787360c3367f1a02a7
parentfd9fd4fa087176c0e1882b136da4dd95cb5252ab
[flang] Introduce BaseBoxType

Introduce a BaseBoxType to be used by BoxType and
the a new ClassType that is introduced in a follow up patch.

This patch is part of the implementation of the poltymorphic
entities.
https://github.com/llvm/llvm-project/blob/main/flang/docs/PolymorphicEntities.md

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D134956
flang/include/flang/Optimizer/Dialect/FIRType.h
flang/include/flang/Optimizer/Dialect/FIRTypes.td
flang/lib/Optimizer/Dialect/FIRType.cpp