[all-commits] [llvm/llvm-project] d709dc: [openacc][openmp] Reduce number of generated file ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Mar 23 06:17:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d709dcc0909716ce23c30d9884712766aec6a628
      https://github.com/llvm/llvm-project/commit/d709dcc0909716ce23c30d9884712766aec6a628
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenACC/ACC.td
    M llvm/include/llvm/Frontend/OpenACC/CMakeLists.txt
    M llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt
    M llvm/include/llvm/Frontend/OpenMP/OMP.td
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    A llvm/lib/Frontend/OpenACC/ACC.cpp
    M llvm/lib/Frontend/OpenACC/CMakeLists.txt
    M llvm/lib/Frontend/OpenMP/CMakeLists.txt
    A llvm/lib/Frontend/OpenMP/OMP.cpp
    M llvm/test/TableGen/directive1.td
    M llvm/test/TableGen/directive2.td
    M llvm/test/TableGen/directive3.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp
    M llvm/utils/TableGen/TableGen.cpp
    M llvm/utils/TableGen/TableGenBackends.h
    M llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenACC/BUILD.gn
    M llvm/utils/gn/secondary/llvm/include/llvm/Frontend/OpenMP/BUILD.gn

  Log Message:
  -----------
  [openacc][openmp] Reduce number of generated file and prefer inclusion of .inc

Follow up from D92955 and D83636. This patch makes the base cpp files
OMP.cpp and ACC.cpp normal files and they now include the XXX.inc file
generated by tablegen. This reduces the number of file generated by the
DirectiveEmitter backend and makes it closer to the proposal in D83636.

Reviewed By: Meinersbur

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




More information about the All-commits mailing list