[all-commits] [llvm/llvm-project] 4fede8: [flang] Implement derived type description table e...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Dec 8 10:27:22 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fede8bc8a015477f2a8feeb30a1d2a2e155106d
      https://github.com/llvm/llvm-project/commit/4fede8bc8a015477f2a8feeb30a1d2a2e155106d
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

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

  Log Message:
  -----------
  [flang] Implement derived type description table encoding

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.

Differential Revision: https://reviews.llvm.org/D92802




More information about the All-commits mailing list