LLVM  14.0.0git
Classes | Namespaces | Macros | Enumerations | Functions | Variables
OMPConstants.h File Reference
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Frontend/OpenMP/OMP.h.inc"
#include "llvm/Frontend/OpenMP/OMPKinds.def"
Include dependency graph for OMPConstants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::omp::AssumptionClauseMappingInfo
 Helper to describe assume clauses. More...
 

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 
 llvm::omp
 

Macros

#define ICV_DATA_ENV(Enum, ...)   Enum,
 
#define ICV_DATA_ENV(Enum, ...)   constexpr auto Enum = omp::InternalControlVar::Enum;
 
#define ICV_INIT_VALUE(Enum, Name)   Enum,
 
#define ICV_INIT_VALUE(Enum, Name)   constexpr auto Enum = omp::ICVInitValue::Enum;
 
#define OMP_RTL(Enum, ...)   Enum,
 
#define OMP_RTL(Enum, ...)   constexpr auto Enum = omp::RuntimeFunction::Enum;
 
#define OMP_DEFAULT_KIND(Enum, Str)   Enum,
 
#define OMP_DEFAULT_KIND(Enum, ...)   constexpr auto Enum = omp::DefaultKind::Enum;
 
#define OMP_IDENT_FLAG(Enum, Str, Value)   Enum = Value,
 
#define OMP_IDENT_FLAG(Enum, ...)   constexpr auto Enum = omp::IdentFlag::Enum;
 
#define OMP_ASSUME_CLAUSE(Identifier, StartsWith, HasDirectiveList, HasExpression)   {Identifier, StartsWith, HasDirectiveList, HasExpression},
 

Enumerations

enum  llvm::omp::InternalControlVar { llvm::omp::InternalControlVar::ICV_DATA_ENV }
 IDs for all Internal Control Variables (ICVs). More...
 
enum  llvm::omp::ICVInitValue { llvm::omp::ICVInitValue::ICV_INIT_VALUE }
 
enum  llvm::omp::RuntimeFunction { llvm::omp::RuntimeFunction::OMP_RTL }
 IDs for all omp runtime library (RTL) functions. More...
 
enum  llvm::omp::DefaultKind { llvm::omp::DefaultKind::OMP_DEFAULT_KIND }
 IDs for the different default kinds. More...
 
enum  llvm::omp::IdentFlag { llvm::omp::IdentFlag::OMP_IDENT_FLAG }
 IDs for all omp runtime library ident_t flag encodings (see their defintion in openmp/runtime/src/kmp.h). More...
 
enum  llvm::omp::OMPScheduleType {
  llvm::omp::OMPScheduleType::StaticChunked = 33, llvm::omp::OMPScheduleType::Static = 34, llvm::omp::OMPScheduleType::DistributeChunked = 91, llvm::omp::OMPScheduleType::Distribute = 92,
  llvm::omp::OMPScheduleType::DynamicChunked = 35, llvm::omp::OMPScheduleType::GuidedChunked = 36, llvm::omp::OMPScheduleType::Runtime = 37, llvm::omp::OMPScheduleType::Auto = 38,
  llvm::omp::OMPScheduleType::ModifierMonotonic, llvm::omp::OMPScheduleType::ModifierNonmonotonic, llvm::omp::OMPScheduleType::ModifierMask = ModifierMonotonic | ModifierNonmonotonic
}
 

Functions

 llvm::omp::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ()
 
std::string llvm::omp::getAllAssumeClauseOptions ()
 

Variables

static constexpr AssumptionClauseMappingInfo llvm::omp::AssumptionClauseMappings []
 All known assume clauses. More...
 

Detailed Description

This file defines constans and helpers used when dealing with OpenMP.

Definition in file OMPConstants.h.

Macro Definition Documentation

◆ ICV_DATA_ENV [1/2]

#define ICV_DATA_ENV (   Enum,
  ... 
)    Enum,

Definition at line 40 of file OMPConstants.h.

◆ ICV_DATA_ENV [2/2]

#define ICV_DATA_ENV (   Enum,
  ... 
)    constexpr auto Enum = omp::InternalControlVar::Enum;

Definition at line 40 of file OMPConstants.h.

◆ ICV_INIT_VALUE [1/2]

#define ICV_INIT_VALUE (   Enum,
  Name 
)    Enum,

Definition at line 49 of file OMPConstants.h.

◆ ICV_INIT_VALUE [2/2]

#define ICV_INIT_VALUE (   Enum,
  Name 
)    constexpr auto Enum = omp::ICVInitValue::Enum;

Definition at line 49 of file OMPConstants.h.

◆ OMP_ASSUME_CLAUSE

#define OMP_ASSUME_CLAUSE (   Identifier,
  StartsWith,
  HasDirectiveList,
  HasExpression 
)    {Identifier, StartsWith, HasDirectiveList, HasExpression},

◆ OMP_DEFAULT_KIND [1/2]

#define OMP_DEFAULT_KIND (   Enum,
  Str 
)    Enum,

Definition at line 68 of file OMPConstants.h.

◆ OMP_DEFAULT_KIND [2/2]

#define OMP_DEFAULT_KIND (   Enum,
  ... 
)    constexpr auto Enum = omp::DefaultKind::Enum;

Definition at line 68 of file OMPConstants.h.

◆ OMP_IDENT_FLAG [1/2]

#define OMP_IDENT_FLAG (   Enum,
  Str,
  Value 
)    Enum = Value,

Definition at line 80 of file OMPConstants.h.

◆ OMP_IDENT_FLAG [2/2]

#define OMP_IDENT_FLAG (   Enum,
  ... 
)    constexpr auto Enum = omp::IdentFlag::Enum;

Definition at line 80 of file OMPConstants.h.

◆ OMP_RTL [1/2]

#define OMP_RTL (   Enum,
  ... 
)    Enum,

Definition at line 59 of file OMPConstants.h.

◆ OMP_RTL [2/2]

#define OMP_RTL (   Enum,
  ... 
)    constexpr auto Enum = omp::RuntimeFunction::Enum;

Definition at line 59 of file OMPConstants.h.