LLVM 24.0.0git
OMPDescriptors.cpp File Reference

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 GEN_OMP_CLAUSE_DESCRIPTORS
#define GEN_OMP_MODIFIER_DESCRIPTORS
#define GET_THING_OR_EMPTY(Thing, Member)

Functions

const DescriptorMap< Clause, descriptor::Clause > & llvm::omp::getClauseMap ()
const DescriptorMap< Modifier, descriptor::Modifier > & llvm::omp::getModifierMap ()
LLVM_ABI const descriptor::Clausellvm::omp::getDescriptor (llvm::omp::Clause C)
LLVM_ABI const descriptor::Modifierllvm::omp::getDescriptor (llvm::omp::Modifier M)
LLVM_ABI Properties llvm::omp::getProperties (Clause C, unsigned Version)

Macro Definition Documentation

◆ GEN_OMP_CLAUSE_DESCRIPTORS

#define GEN_OMP_CLAUSE_DESCRIPTORS

◆ GEN_OMP_MODIFIER_DESCRIPTORS

#define GEN_OMP_MODIFIER_DESCRIPTORS

◆ GET_THING_OR_EMPTY

#define GET_THING_OR_EMPTY ( Thing,
Member )
Value:
template <typename DetailsTy> \
static Thing get##Thing##OrEmpty(const DetailsTy &D, unsigned V) { \
V = std::max(V, 45u); \
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 37 of file OMPDescriptors.cpp.