clang
7.0.0
|
Defines some OpenMP-specific enums and functions. More...
#include "llvm/ADT/StringRef.h"
#include "clang/Basic/OpenMPKinds.def"
Go to the source code of this file.
Classes | |
struct | clang::OpenMPScheduleTy |
Scheduling data for loop-based OpenMP directives. More... | |
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
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_SCHEDULE_MODIFIER(Name) OMPC_SCHEDULE_MODIFIER_##Name, |
#define | OPENMP_DEPEND_KIND(Name) OMPC_DEPEND_##Name, |
#define | OPENMP_LINEAR_KIND(Name) OMPC_LINEAR_##Name, |
#define | OPENMP_MAP_KIND(Name) OMPC_MAP_##Name, |
#define | OPENMP_DIST_SCHEDULE_KIND(Name) OMPC_DIST_SCHEDULE_##Name, |
#define | OPENMP_DEFAULTMAP_KIND(Name) OMPC_DEFAULTMAP_##Name, |
#define | OPENMP_DEFAULTMAP_MODIFIER(Name) OMPC_DEFAULTMAP_MODIFIER_##Name, |
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::isOpenMPTaskLoopDirective (OpenMPDirectiveKind DKind) |
Checks if the specified directive is a taskloop directive. More... | |
bool | clang::isOpenMPParallelDirective (OpenMPDirectiveKind DKind) |
Checks if the specified directive is a parallel-kind directive. More... | |
bool | clang::isOpenMPTargetExecutionDirective (OpenMPDirectiveKind DKind) |
Checks if the specified directive is a target code offload directive. More... | |
bool | clang::isOpenMPTargetDataManagementDirective (OpenMPDirectiveKind DKind) |
Checks if the specified directive is a target data offload directive. More... | |
bool | clang::isOpenMPNestingTeamsDirective (OpenMPDirectiveKind DKind) |
Checks if the specified composite/combined directive constitutes a teams directive in the outermost nest. 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::isOpenMPDistributeDirective (OpenMPDirectiveKind DKind) |
Checks if the specified directive is a distribute directive. More... | |
bool | clang::isOpenMPNestingDistributeDirective (OpenMPDirectiveKind DKind) |
Checks if the specified composite/combined directive constitutes a distribute directive in the outermost nest. 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... | |
bool | clang::isOpenMPTaskingDirective (OpenMPDirectiveKind Kind) |
Checks if the specified directive kind is one of tasking directives - task, taskloop or taksloop simd. More... | |
bool | clang::isOpenMPLoopBoundSharingDirective (OpenMPDirectiveKind Kind) |
Checks if the specified directive kind is one of the composite or combined directives that need loop bound sharing across loops outlined in nested functions. More... | |
void | clang::getOpenMPCaptureRegions (llvm::SmallVectorImpl< OpenMPDirectiveKind > &CaptureRegions, OpenMPDirectiveKind DKind) |
Return the captured regions of an OpenMP directive. More... | |
Defines some OpenMP-specific enums and functions.
Definition in file OpenMPKinds.h.
#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 44 of file OpenMPKinds.h.
#define OPENMP_DEFAULTMAP_KIND | ( | Name | ) | OMPC_DEFAULTMAP_##Name, |
Definition at line 108 of file OpenMPKinds.h.
#define OPENMP_DEFAULTMAP_MODIFIER | ( | Name | ) | OMPC_DEFAULTMAP_MODIFIER_##Name, |
Definition at line 117 of file OpenMPKinds.h.
#define OPENMP_DEPEND_KIND | ( | Name | ) | OMPC_DEPEND_##Name, |
Definition at line 77 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_DIST_SCHEDULE_KIND | ( | Name | ) | OMPC_DIST_SCHEDULE_##Name, |
Definition at line 101 of file OpenMPKinds.h.
#define OPENMP_LINEAR_KIND | ( | Name | ) | OMPC_LINEAR_##Name, |
Definition at line 85 of file OpenMPKinds.h.
#define OPENMP_MAP_KIND | ( | Name | ) | OMPC_MAP_##Name, |
Definition at line 93 of file OpenMPKinds.h.
#define OPENMP_PROC_BIND_KIND | ( | Name | ) | OMPC_PROC_BIND_##Name, |
Definition at line 52 of file OpenMPKinds.h.
#define OPENMP_SCHEDULE_KIND | ( | Name | ) | OMPC_SCHEDULE_##Name, |
Definition at line 60 of file OpenMPKinds.h.
#define OPENMP_SCHEDULE_MODIFIER | ( | Name | ) | OMPC_SCHEDULE_MODIFIER_##Name, |
Definition at line 69 of file OpenMPKinds.h.