[flang-commits] [PATCH] D92802: [flang] Implement derived type description table encoding

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Dec 7 16:57:45 PST 2020


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added subscribers: jdoerfert, mgorny.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Define Fortran derived types that describe the characteristics
of derived types, and instantiations of parameterized derived
types, that are of relevance to the runtime language support
library.  Define a suite of corresponding C++ structure types
for the runtime library to use to interpret instances of the
descriptions.

Create instances of these description types in Semantics as
static initializers for compiler-created objects in the scopes
that define or instantiate user derived types.

Delete obsolete code from earlier attempts to package runtime
type information.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92802

Files:
  flang/docs/RuntimeTypeInfo.md
  flang/include/flang/Semantics/runtime-type-info.h
  flang/include/flang/Semantics/scope.h
  flang/lib/Semantics/CMakeLists.txt
  flang/lib/Semantics/compute-offsets.cpp
  flang/lib/Semantics/runtime-type-info.cpp
  flang/lib/Semantics/semantics.cpp
  flang/lib/Semantics/tools.cpp
  flang/module/__fortran_builtins.f90
  flang/module/__fortran_type_info.f90
  flang/module/iso_c_binding.f90
  flang/runtime/CMakeLists.txt
  flang/runtime/allocatable.cpp
  flang/runtime/allocatable.h
  flang/runtime/derived-type.cpp
  flang/runtime/derived-type.h
  flang/runtime/derived.cpp
  flang/runtime/derived.h
  flang/runtime/descriptor.cpp
  flang/runtime/descriptor.h
  flang/runtime/transformational.cpp
  flang/runtime/type-info.h
  flang/test/Semantics/typeinfo01.f90
  flang/tools/f18/CMakeLists.txt
  flang/tools/f18/f18.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92802.310058.patch
Type: text/x-patch
Size: 104137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20201208/bd91cc70/attachment-0001.bin>


More information about the flang-commits mailing list