[OpenMP] Add Additional Function Attribute Information to OMPKinds.def
authorJoseph Huber <jhuber6@vols.utk.edu>
Sat, 18 Jul 2020 16:00:08 +0000 (12:00 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Sat, 18 Jul 2020 16:55:50 +0000 (12:55 -0400)
commit3bbbe4c4b6c8e20538a388df164da6f8d935e0cc
tree4654284396a09641ee49ec762663832e02b7470c
parent9dceb32f300d021bf6ace6d27ffaf670799e2e8d
[OpenMP] Add Additional Function Attribute Information to OMPKinds.def

Summary:
This patch adds more function attribute information to the runtime function definitions in OMPKinds.def. The goal is to provide sufficient information about OpenMP runtime functions to perform more optimizations on OpenMP code.

Reviewers: jdoerfert

Subscribers: aaron.ballman cfe-commits yaxunl guansong sstefan1 llvm-commits

Tags: #OpenMP #clang #LLVM

Differential Revision: https://reviews.llvm.org/D81031
clang/test/OpenMP/barrier_codegen.cpp
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/test/Transforms/OpenMP/add_attributes.ll
llvm/test/Transforms/OpenMP/parallel_deletion.ll