13#ifndef LLVM_FRONTEND_OPENMP_OMP_H
14#define LLVM_FRONTEND_OPENMP_OMP_H
16#include "llvm/Frontend/OpenMP/OMP.h.inc"
55 case OMPC_firstprivate:
57 case OMPC_in_reduction:
58 case OMPC_is_device_ptr:
59 case OMPC_lastprivate:
63 case OMPC_task_reduction:
64 case OMPC_use_device_ptr:
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
This file defines the SmallVector class.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
@ C
The default llvm calling convention, compatible with C.
LLVM_ABI ArrayRef< unsigned > getOpenMPVersions()
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.
LLVM_ABI ArrayRef< Directive > getLeafOrCompositeConstructs(Directive D, SmallVectorImpl< Directive > &Output)
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)
static constexpr bool isPrivatizingClause(Clause C)
LLVM_ABI Directive getCompoundConstruct(ArrayRef< Directive > Parts)
static constexpr unsigned FallbackVersion
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.
LLVM_ABI ArrayRef< Directive > getLeafConstructs(Directive D)
FunctionAddr VTableAddr uintptr_t uintptr_t Version
ArrayRef(const T &OneElt) -> ArrayRef< T >