13#ifndef LLVM_FRONTEND_OPENMP_OMP_H
14#define LLVM_FRONTEND_OPENMP_OMP_H
16#include "llvm/Frontend/OpenMP/OMP.h.inc"
63 case OMPC_firstprivate:
64 case OMPC_in_reduction:
65 case OMPC_lastprivate:
69 case OMPC_task_reduction:
73 case OMPC_is_device_ptr:
74 case OMPC_use_device_ptr:
88 case OMPC_firstprivate:
89 case OMPC_has_device_addr:
91 case OMPC_in_reduction:
92 case OMPC_is_device_ptr:
93 case OMPC_lastprivate:
98 case OMPC_task_reduction:
99 case OMPC_use_device_addr:
100 case OMPC_use_device_ptr:
101 case OMPC_uses_allocators:
110 case OMPC_copyprivate:
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
Provides some synthesis utilities to produce sequences of values.
This file defines the SmallVector class.
Represent a constant reference to an array (0 or more elements consecutively in memory),...
Represent a constant reference to a string, i.e.
@ C
The default llvm calling convention, compatible with C.
static constexpr auto clauses()
LLVM_ABI ArrayRef< unsigned > getOpenMPVersions()
static constexpr bool isDataSharingAttributeClause(Clause C, unsigned Version)
LLVM_ABI bool isCombinedConstruct(Directive D)
LLVM_ABI std::string deconstructOpenMPKernelName(StringRef KernelName, unsigned &LineNo)
Deconstruct an OpenMP kernel name into the parent function name and the line number.
static constexpr bool isEndClause(Clause C)
LLVM_ABI ArrayRef< Directive > getLeafOrCompositeConstructs(Directive D, SmallVectorImpl< Directive > &Output)
LLVM_ABI bool isPrivatizingConstruct(Directive D, unsigned Version)
Can directive D, under some circumstances, create a private copy of a variable in given OpenMP versio...
static constexpr bool canHaveIterator(Clause C)
Can clause C have an iterator-modifier.
LLVM_ABI bool isCompositeConstruct(Directive D)
LLVM_ABI Directive getCompoundConstruct(ArrayRef< Directive > Parts)
static constexpr unsigned FallbackVersion
LLVM_ABI ArrayRef< StringRef > getReservedLocatorNames()
LLVM_ABI bool isLeafConstruct(Directive D)
LLVM_ABI ArrayRef< Directive > getLeafConstructsOrSelf(Directive D)
LLVM_ABI std::string prettifyFunctionName(StringRef FunctionName)
Create a nicer version of a function name for humans to look at.
static constexpr auto directives()
LLVM_ABI ArrayRef< Directive > getLeafConstructs(Directive D)
static constexpr bool isPrivatizingClause(Clause C, unsigned Version)
constexpr auto enum_seq_inclusive(EnumT Begin, EnumT End)
Iterate over an enum type from Begin to End inclusive.
ArrayRef(const T &OneElt) -> ArrayRef< T >