13#ifndef LLVM_FRONTEND_OPENMP_OMPDESCRIPTORS_H
14#define LLVM_FRONTEND_OPENMP_OMPDESCRIPTORS_H
22#define GEN_OMP_PROPERTY_ENUMS
24#undef GEN_OMP_PROPERTY_ENUMS
32#define GEN_OMP_MODIFIER_ENUMS
34#undef GEN_OMP_MODIFIER_ENUMS
108template <
typename Enum,
typename DescriptorTy>
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
This file defines the DenseMap class.
void push_back(const T &Elt)
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Represent a constant reference to a string, i.e.
DenseMap< unsigned, DetailsTy > DetailsMap
LLVM_ABI ArrayRef< unsigned > getOpenMPVersions()
EnumSet< Modifier, Modifier_enumSize > Modifiers
LLVM_ABI const descriptor::Clause & getDescriptor(llvm::omp::Clause C)
llvm::omp::ClauseSet Clauses
EnumSet< llvm::omp::Clause, llvm::omp::Clause_enumSize > ClauseSet
static constexpr size_t Property_enumSize
static constexpr size_t Modifier_enumSize
EnumSet< Property, Property_enumSize > Properties
LLVM_ABI Properties getProperties(Clause C, unsigned Version)
DenseMap< Enum, DescriptorTy > DescriptorMap
EnumSet< llvm::omp::Directive, llvm::omp::Directive_enumSize > DirectiveSet
llvm::omp::DirectiveSet Directives
constexpr std::underlying_type_t< Enum > to_underlying(Enum E)
Returns underlying integer value of an enum.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.
LLVM_ABI Properties getProperties(unsigned V) const
Descriptor< details::Clause > Base
LLVM_ABI Modifiers getModifiers(unsigned V) const
LLVM_ABI Directives getDirectives(unsigned V) const
const DetailsMap< DetailsTy > & getDetails() const
StringRef getName() const
DetailsMap< DetailsTy > Details
Descriptor(StringRef N, DetailsMap< DetailsTy > &&D)
SmallVector< unsigned > getVersions() const
Descriptor(const Descriptor &)=default
Descriptor(Descriptor &&)=default
LLVM_ABI Clauses getClauses(unsigned V) const
LLVM_ABI Properties getProperties(unsigned V) const
Descriptor< details::Modifier > Base