[flang-commits] [PATCH] D129018: [flang] Establish a single source of target information for semantics

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri Jul 1 15:07:28 PDT 2022


klausler created this revision.
klausler added a reviewer: jeanPerier.
klausler added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert, mgorny.
Herald added a reviewer: sscalpone.
Herald added a reviewer: awarzynski.
Herald added a project: All.
klausler requested review of this revision.

Create a TargetCharacteristics class to centralize the few items of
target specific information that are relevant to semantics.  Use the
new class for all target queries, including derived type component layout
modeling.
[flang] Establish a single source of target information for semantics

Future work will initialize this class with target information
provided or forwarded by the drivers, and use it to fold layout-dependent
intrinsic functions like TRANSFER().


https://reviews.llvm.org/D129018

Files:
  flang/include/flang/Evaluate/common.h
  flang/include/flang/Evaluate/complex.h
  flang/include/flang/Evaluate/real.h
  flang/include/flang/Evaluate/rounding-bits.h
  flang/include/flang/Evaluate/static-data.h
  flang/include/flang/Evaluate/target.h
  flang/include/flang/Evaluate/type.h
  flang/include/flang/Lower/Bridge.h
  flang/include/flang/Semantics/semantics.h
  flang/lib/Evaluate/CMakeLists.txt
  flang/lib/Evaluate/characteristics.cpp
  flang/lib/Evaluate/fold-implementation.h
  flang/lib/Evaluate/fold-integer.cpp
  flang/lib/Evaluate/host.cpp
  flang/lib/Evaluate/int-power.h
  flang/lib/Evaluate/intrinsics-library.cpp
  flang/lib/Evaluate/intrinsics.cpp
  flang/lib/Evaluate/static-data.cpp
  flang/lib/Evaluate/target.cpp
  flang/lib/Evaluate/type.cpp
  flang/lib/Frontend/FrontendActions.cpp
  flang/lib/Lower/Bridge.cpp
  flang/lib/Semantics/compute-offsets.cpp
  flang/lib/Semantics/data-to-inits.cpp
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/resolve-names.cpp
  flang/lib/Semantics/semantics.cpp
  flang/lib/Semantics/type.cpp
  flang/test/Semantics/data05.f90
  flang/tools/bbc/bbc.cpp
  flang/unittests/Evaluate/expression.cpp
  flang/unittests/Evaluate/folding.cpp
  flang/unittests/Evaluate/fp-testing.h
  flang/unittests/Evaluate/intrinsics.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129018.441792.patch
Type: text/x-patch
Size: 63796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220701/2425dc83/attachment-0001.bin>


More information about the flang-commits mailing list