LLVM 24.0.0git
OMPDescriptors.cpp File Reference
#include "llvm/Frontend/OpenMP/OMPDescriptors.h"
#include <map>
#include "OMPDescriptors.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::omp

Macros

#define Unassociated   None
#define GEN_OMP_CLAUSE_DESCRIPTORS
#define GEN_OMP_CLAUSE_GROUP_DESCRIPTORS
#define GEN_OMP_CLAUSE_SET_DESCRIPTORS
#define GEN_OMP_DIRECTIVE_DESCRIPTORS
#define GEN_OMP_MODIFIER_DESCRIPTORS
#define GEN_OMP_MODIFIER_GROUP_DESCRIPTORS
#define GEN_OMP_MODIFIER_SET_DESCRIPTORS
#define GET_THING_OR_EMPTY(Thing, Member)

Functions

const DescriptorMap< Clause, descriptor::Clause > & llvm::omp::getClauseMap ()
const DescriptorMap< ClauseSet, descriptor::ClauseSet > & llvm::omp::getClauseSetMap ()
const DescriptorMap< Directive, descriptor::Directive > & llvm::omp::getDirectiveMap ()
const DescriptorMap< Modifier, descriptor::Modifier > & llvm::omp::getModifierMap ()
const DescriptorMap< ModifierSet, descriptor::ModifierSet > & llvm::omp::getModifierSetMap ()
LLVM_ABI const descriptor::Clause & llvm::omp::getDescriptor (Clause C)
LLVM_ABI const descriptor::ClauseSet & llvm::omp::getDescriptor (ClauseSet S)
LLVM_ABI const descriptor::Directive & llvm::omp::getDescriptor (Directive D)
LLVM_ABI const descriptor::Modifier & llvm::omp::getDescriptor (Modifier M)
LLVM_ABI const descriptor::ModifierSet & llvm::omp::getDescriptor (ModifierSet S)
LLVM_ABI Properties llvm::omp::getProperties (Clause C, Version V)

Macro Definition Documentation

◆ GEN_OMP_CLAUSE_DESCRIPTORS

#define GEN_OMP_CLAUSE_DESCRIPTORS

◆ GEN_OMP_CLAUSE_GROUP_DESCRIPTORS

#define GEN_OMP_CLAUSE_GROUP_DESCRIPTORS

◆ GEN_OMP_CLAUSE_SET_DESCRIPTORS

#define GEN_OMP_CLAUSE_SET_DESCRIPTORS

◆ GEN_OMP_DIRECTIVE_DESCRIPTORS

#define GEN_OMP_DIRECTIVE_DESCRIPTORS

◆ GEN_OMP_MODIFIER_DESCRIPTORS

#define GEN_OMP_MODIFIER_DESCRIPTORS

◆ GEN_OMP_MODIFIER_GROUP_DESCRIPTORS

#define GEN_OMP_MODIFIER_GROUP_DESCRIPTORS

◆ GEN_OMP_MODIFIER_SET_DESCRIPTORS

#define GEN_OMP_MODIFIER_SET_DESCRIPTORS

◆ GET_THING_OR_EMPTY

#define GET_THING_OR_EMPTY ( Thing,
Member )
Value:
template <typename DetailsTy> \
static Thing get##Thing##OrEmpty(const DetailsTy &D, Version V) { \
V = std::max(V, Version(45)); \
if (auto Found = D.find(V); Found != D.end()) \
return Found->second.Member; \
return Thing{}; \
}
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")

Definition at line 77 of file OMPDescriptors.cpp.

◆ Unassociated

#define Unassociated   None

Definition at line 21 of file OMPDescriptors.cpp.