[all-commits] [llvm/llvm-project] 830c0b: [flang] Move runtime API headers to flang/include/...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 3 11:08:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 830c0b9023cd0cf91955900e0d96283e7a8c3711
      https://github.com/llvm/llvm-project/commit/830c0b9023cd0cf91955900e0d96283e7a8c3711
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M flang/examples/external-hello.cpp
    A flang/include/flang/Evaluate/pgmath.h.inc
    A flang/include/flang/Runtime/allocatable.h
    A flang/include/flang/Runtime/assign.h
    A flang/include/flang/Runtime/c-or-cpp.h
    A flang/include/flang/Runtime/character.h
    A flang/include/flang/Runtime/command.h
    A flang/include/flang/Runtime/cpp-type.h
    A flang/include/flang/Runtime/derived-api.h
    A flang/include/flang/Runtime/descriptor.h
    A flang/include/flang/Runtime/entry-names.h
    A flang/include/flang/Runtime/io-api.h
    A flang/include/flang/Runtime/iostat.h
    A flang/include/flang/Runtime/magic-numbers.h
    A flang/include/flang/Runtime/main.h
    A flang/include/flang/Runtime/matmul.h
    A flang/include/flang/Runtime/memory.h
    A flang/include/flang/Runtime/misc-intrinsic.h
    A flang/include/flang/Runtime/numeric.h
    A flang/include/flang/Runtime/pointer.h
    A flang/include/flang/Runtime/random.h
    A flang/include/flang/Runtime/reduction.h
    A flang/include/flang/Runtime/stop.h
    A flang/include/flang/Runtime/time-intrinsic.h
    A flang/include/flang/Runtime/transformational.h
    A flang/include/flang/Runtime/type-code.h
    M flang/lib/Evaluate/intrinsics-library.cpp
    M flang/lib/Lower/CharacterRuntime.cpp
    M flang/lib/Lower/IO.cpp
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Lower/RTBuilder.h
    M flang/lib/Semantics/compute-offsets.cpp
    M flang/module/iso_fortran_env.f90
    M flang/runtime/ISO_Fortran_binding.cpp
    M flang/runtime/allocatable.cpp
    R flang/runtime/allocatable.h
    M flang/runtime/assign.cpp
    R flang/runtime/assign.h
    M flang/runtime/buffer.h
    R flang/runtime/c-or-cpp.h
    M flang/runtime/character.cpp
    R flang/runtime/character.h
    M flang/runtime/command.cpp
    R flang/runtime/command.h
    M flang/runtime/complex-reduction.h
    M flang/runtime/copy.cpp
    M flang/runtime/copy.h
    R flang/runtime/cpp-type.h
    M flang/runtime/derived-api.cpp
    R flang/runtime/derived-api.h
    M flang/runtime/derived.cpp
    M flang/runtime/derived.h
    M flang/runtime/descriptor-io.h
    M flang/runtime/descriptor.cpp
    R flang/runtime/descriptor.h
    M flang/runtime/dot-product.cpp
    R flang/runtime/entry-names.h
    M flang/runtime/extrema.cpp
    M flang/runtime/file.cpp
    M flang/runtime/file.h
    M flang/runtime/findloc.cpp
    M flang/runtime/format-implementation.h
    M flang/runtime/internal-unit.cpp
    M flang/runtime/internal-unit.h
    M flang/runtime/io-api.cpp
    R flang/runtime/io-api.h
    M flang/runtime/io-error.cpp
    M flang/runtime/io-error.h
    M flang/runtime/io-stmt.cpp
    M flang/runtime/io-stmt.h
    M flang/runtime/iostat.cpp
    R flang/runtime/iostat.h
    R flang/runtime/magic-numbers.h
    M flang/runtime/main.cpp
    R flang/runtime/main.h
    M flang/runtime/matmul.cpp
    R flang/runtime/matmul.h
    M flang/runtime/memory.cpp
    R flang/runtime/memory.h
    M flang/runtime/misc-intrinsic.cpp
    R flang/runtime/misc-intrinsic.h
    M flang/runtime/namelist.cpp
    M flang/runtime/numeric.cpp
    R flang/runtime/numeric.h
    R flang/runtime/pgmath.h.inc
    M flang/runtime/pointer.cpp
    R flang/runtime/pointer.h
    M flang/runtime/product.cpp
    M flang/runtime/random.cpp
    R flang/runtime/random.h
    M flang/runtime/reduction-templates.h
    M flang/runtime/reduction.cpp
    R flang/runtime/reduction.h
    M flang/runtime/stat.cpp
    M flang/runtime/stat.h
    M flang/runtime/stop.cpp
    R flang/runtime/stop.h
    M flang/runtime/sum.cpp
    M flang/runtime/terminator.h
    M flang/runtime/time-intrinsic.cpp
    R flang/runtime/time-intrinsic.h
    M flang/runtime/tools.h
    M flang/runtime/transformational.cpp
    R flang/runtime/transformational.h
    M flang/runtime/type-code.cpp
    R flang/runtime/type-code.h
    M flang/runtime/type-info.h
    M flang/runtime/unit-map.h
    M flang/runtime/unit.h
    M flang/test/Runtime/no-cpp-dep.c
    M flang/test/lit.cfg.py
    M flang/unittests/Evaluate/ISO-Fortran-binding.cpp
    M flang/unittests/Evaluate/reshape.cpp
    M flang/unittests/Runtime/CharacterTest.cpp
    M flang/unittests/Runtime/CommandTest.cpp
    M flang/unittests/Runtime/ExternalIOTest.cpp
    M flang/unittests/Runtime/ListInputTest.cpp
    M flang/unittests/Runtime/Matmul.cpp
    M flang/unittests/Runtime/MiscIntrinsic.cpp
    M flang/unittests/Runtime/Namelist.cpp
    M flang/unittests/Runtime/Numeric.cpp
    M flang/unittests/Runtime/NumericalFormatTest.cpp
    M flang/unittests/Runtime/Random.cpp
    M flang/unittests/Runtime/Reduction.cpp
    M flang/unittests/Runtime/RuntimeCrashTest.cpp
    M flang/unittests/Runtime/Time.cpp
    M flang/unittests/Runtime/Transformational.cpp
    M flang/unittests/Runtime/tools.h

  Log Message:
  -----------
  [flang] Move runtime API headers to flang/include/flang/Runtime

Move the closure of the subset of flang/runtime/*.h header files that
are referenced by source files outside flang/runtime (apart from unit tests)
into a new directory (flang/include/flang/Runtime) so that relative
include paths into ../runtime need not be used.

flang/runtime/pgmath.h.inc is moved to flang/include/flang/Evaluate;
it's not used by the runtime.

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




More information about the All-commits mailing list