clang  3.7.0
Namespaces | Macros | Enumerations | Functions
OpenMPKinds.h File Reference

Defines some OpenMP-specific enums and functions. More...

#include "llvm/ADT/StringRef.h"
#include "clang/Basic/OpenMPKinds.def"
Include dependency graph for OpenMPKinds.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 

Macros

#define OPENMP_DIRECTIVE(Name)   OMPD_##Name,
 
#define OPENMP_DIRECTIVE_EXT(Name, Str)   OMPD_##Name,
 
#define OPENMP_CLAUSE(Name, Class)   OMPC_##Name,
 
#define OPENMP_DEFAULT_KIND(Name)   OMPC_DEFAULT_##Name,
 
#define OPENMP_PROC_BIND_KIND(Name)   OMPC_PROC_BIND_##Name,
 
#define OPENMP_SCHEDULE_KIND(Name)   OMPC_SCHEDULE_##Name,
 
#define OPENMP_DEPEND_KIND(Name)   OMPC_DEPEND_##Name,
 

Enumerations

enum  clang::OpenMPDirectiveKind { clang::OMPD_unknown }
 OpenMP directives. More...
 
enum  clang::OpenMPClauseKind { clang::OMPC_threadprivate, clang::OMPC_unknown }
 OpenMP clauses. More...
 
enum  clang::OpenMPDefaultClauseKind { clang::OMPC_DEFAULT_unknown }
 OpenMP attributes for 'default' clause. More...
 
enum  clang::OpenMPProcBindClauseKind { clang::OMPC_PROC_BIND_unknown }
 OpenMP attributes for 'proc_bind' clause. More...
 
enum  clang::OpenMPScheduleClauseKind { clang::OMPC_SCHEDULE_unknown }
 OpenMP attributes for 'schedule' clause. More...
 
enum  clang::OpenMPDependClauseKind { clang::OMPC_DEPEND_unknown }
 OpenMP attributes for 'depend' clause. More...
 

Functions

OpenMPDirectiveKind clang::getOpenMPDirectiveKind (llvm::StringRef Str)
 
const char * clang::getOpenMPDirectiveName (OpenMPDirectiveKind Kind)
 
OpenMPClauseKind clang::getOpenMPClauseKind (llvm::StringRef Str)
 
const char * clang::getOpenMPClauseName (OpenMPClauseKind Kind)
 
unsigned clang::getOpenMPSimpleClauseType (OpenMPClauseKind Kind, llvm::StringRef Str)
 
const char * clang::getOpenMPSimpleClauseTypeName (OpenMPClauseKind Kind, unsigned Type)
 
bool clang::isAllowedClauseForDirective (OpenMPDirectiveKind DKind, OpenMPClauseKind CKind)
 
bool clang::isOpenMPLoopDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a directive with an associated loop construct. More...
 
bool clang::isOpenMPWorksharingDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a worksharing directive. More...
 
bool clang::isOpenMPParallelDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a parallel-kind directive. More...
 
bool clang::isOpenMPTeamsDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a teams-kind directive. More...
 
bool clang::isOpenMPSimdDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a simd directive. More...
 
bool clang::isOpenMPPrivate (OpenMPClauseKind Kind)
 Checks if the specified clause is one of private clauses like 'private', 'firstprivate', 'reduction' etc.. More...
 
bool clang::isOpenMPThreadPrivate (OpenMPClauseKind Kind)
 Checks if the specified clause is one of threadprivate clauses like 'threadprivate', 'copyin' or 'copyprivate'. More...
 

Detailed Description

Defines some OpenMP-specific enums and functions.

Definition in file OpenMPKinds.h.

Macro Definition Documentation

#define OPENMP_CLAUSE (   Name,
  Class 
)    OMPC_##Name,

Definition at line 34 of file OpenMPKinds.h.

#define OPENMP_DEFAULT_KIND (   Name)    OMPC_DEFAULT_##Name,

Definition at line 43 of file OpenMPKinds.h.

#define OPENMP_DEPEND_KIND (   Name)    OMPC_DEPEND_##Name,

Definition at line 67 of file OpenMPKinds.h.

#define OPENMP_DIRECTIVE (   Name)    OMPD_##Name,

Definition at line 24 of file OpenMPKinds.h.

#define OPENMP_DIRECTIVE_EXT (   Name,
  Str 
)    OMPD_##Name,

Definition at line 26 of file OpenMPKinds.h.

#define OPENMP_PROC_BIND_KIND (   Name)    OMPC_PROC_BIND_##Name,

Definition at line 51 of file OpenMPKinds.h.

#define OPENMP_SCHEDULE_KIND (   Name)    OMPC_SCHEDULE_##Name,

Definition at line 59 of file OpenMPKinds.h.