[all-commits] [llvm/llvm-project] 1d7960: [Flang][OpenMP][OpenACC] Add function for mapping ...

praveen-g-ctt via All-commits all-commits at lists.llvm.org
Tue Mar 16 23:54:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d7960a601fc83b3847f83681573019271e7516f
      https://github.com/llvm/llvm-project/commit/1d7960a601fc83b3847f83681573019271e7516f
  Author: Praveen <praveen at compilertree.com>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M llvm/test/TableGen/directive1.td
    M llvm/utils/TableGen/DirectiveEmitter.cpp

  Log Message:
  -----------
  [Flang][OpenMP][OpenACC] Add function for mapping parser clause classes with the corresponding clause kind.

1. Generate the mapping for clauses between the parser class and the
   corresponding clause kind for OpenMP and OpenACC using tablegen.

2. Add a common function to get the OmpObjectList from the OpenMP
   clauses to avoid repetition of code.

Reviewed by: Kiranchandramohan @kiranchandramohan , Valentin Clement @clementval

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




More information about the All-commits mailing list