This file implements the OpenMP enum and support functions.
More...
#include "clang/Basic/OpenMPKinds.h"
#include "clang/Basic/IdentifierTable.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include "clang/Basic/OpenMPKinds.def"
Go to the source code of this file.
|
| #define | OPENMP_DIRECTIVE(Name) .Case(#Name, OMPD_##Name) |
| |
| #define | OPENMP_DIRECTIVE_EXT(Name, Str) .Case(Str, OMPD_##Name) |
| |
| #define | OPENMP_DIRECTIVE(Name) |
| |
| #define | OPENMP_DIRECTIVE_EXT(Name, Str) |
| |
| #define | OPENMP_CLAUSE(Name, Class) .Case(#Name, OMPC_##Name) |
| |
| #define | OPENMP_CLAUSE(Name, Class) |
| |
| #define | OPENMP_DEFAULT_KIND(Name) .Case(#Name, OMPC_DEFAULT_##Name) |
| |
| #define | OPENMP_PROC_BIND_KIND(Name) .Case(#Name, OMPC_PROC_BIND_##Name) |
| |
| #define | OPENMP_SCHEDULE_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_##Name)) |
| |
| #define | OPENMP_SCHEDULE_MODIFIER(Name) .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_MODIFIER_##Name)) |
| |
| #define | OPENMP_DEPEND_KIND(Name) .Case(#Name, OMPC_DEPEND_##Name) |
| |
| #define | OPENMP_LINEAR_KIND(Name) .Case(#Name, OMPC_LINEAR_##Name) |
| |
| #define | OPENMP_MAP_KIND(Name) .Case(#Name, OMPC_MAP_##Name) |
| |
| #define | OPENMP_DEFAULT_KIND(Name) |
| |
| #define | OPENMP_PROC_BIND_KIND(Name) |
| |
| #define | OPENMP_SCHEDULE_KIND(Name) |
| |
| #define | OPENMP_SCHEDULE_MODIFIER(Name) |
| |
| #define | OPENMP_DEPEND_KIND(Name) |
| |
| #define | OPENMP_LINEAR_KIND(Name) |
| |
| #define | OPENMP_MAP_KIND(Name) |
| |
| #define | OPENMP_PARALLEL_CLAUSE(Name) |
| |
| #define | OPENMP_SIMD_CLAUSE(Name) |
| |
| #define | OPENMP_FOR_CLAUSE(Name) |
| |
| #define | OPENMP_FOR_SIMD_CLAUSE(Name) |
| |
| #define | OPENMP_SECTIONS_CLAUSE(Name) |
| |
| #define | OPENMP_SINGLE_CLAUSE(Name) |
| |
| #define | OPENMP_PARALLEL_FOR_CLAUSE(Name) |
| |
| #define | OPENMP_PARALLEL_FOR_SIMD_CLAUSE(Name) |
| |
| #define | OPENMP_PARALLEL_SECTIONS_CLAUSE(Name) |
| |
| #define | OPENMP_TASK_CLAUSE(Name) |
| |
| #define | OPENMP_ATOMIC_CLAUSE(Name) |
| |
| #define | OPENMP_TARGET_CLAUSE(Name) |
| |
| #define | OPENMP_TARGET_DATA_CLAUSE(Name) |
| |
| #define | OPENMP_TEAMS_CLAUSE(Name) |
| |
| #define | OPENMP_CANCEL_CLAUSE(Name) |
| |
| #define | OPENMP_ORDERED_CLAUSE(Name) |
| |
| #define | OPENMP_TASKLOOP_CLAUSE(Name) |
| |
| #define | OPENMP_TASKLOOP_SIMD_CLAUSE(Name) |
| |
| #define | OPENMP_CRITICAL_CLAUSE(Name) |
| |
| #define | OPENMP_DISTRIBUTE_CLAUSE(Name) |
| |
This file implements the OpenMP enum and support functions.
Definition in file OpenMPKinds.cpp.
| #define OPENMP_ATOMIC_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_CANCEL_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_CLAUSE |
( |
|
Name, |
|
|
|
Class |
|
) |
| .Case(#Name, OMPC_##Name) |
| #define OPENMP_CLAUSE |
( |
|
Name, |
|
|
|
Class |
|
) |
| |
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_CRITICAL_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_DEFAULT_KIND |
( |
|
Name | ) |
.Case(#Name, OMPC_DEFAULT_##Name) |
| #define OPENMP_DEFAULT_KIND |
( |
|
Name | ) |
|
Value:case OMPC_DEFAULT_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_DEPEND_KIND |
( |
|
Name | ) |
.Case(#Name, OMPC_DEPEND_##Name) |
| #define OPENMP_DEPEND_KIND |
( |
|
Name | ) |
|
Value:case OMPC_DEPEND_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_DIRECTIVE |
( |
|
Name | ) |
.Case(#Name, OMPD_##Name) |
| #define OPENMP_DIRECTIVE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_DIRECTIVE_EXT |
( |
|
Name, |
|
|
|
Str |
|
) |
| .Case(Str, OMPD_##Name) |
| #define OPENMP_DIRECTIVE_EXT |
( |
|
Name, |
|
|
|
Str |
|
) |
| |
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_DISTRIBUTE_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_FOR_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_FOR_SIMD_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_LINEAR_KIND |
( |
|
Name | ) |
.Case(#Name, OMPC_LINEAR_##Name) |
| #define OPENMP_LINEAR_KIND |
( |
|
Name | ) |
|
Value:case OMPC_LINEAR_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_MAP_KIND |
( |
|
Name | ) |
.Case(#Name, OMPC_MAP_##Name) |
| #define OPENMP_MAP_KIND |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_ORDERED_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_PARALLEL_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_PARALLEL_FOR_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_PARALLEL_FOR_SIMD_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_PARALLEL_SECTIONS_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_PROC_BIND_KIND |
( |
|
Name | ) |
.Case(#Name, OMPC_PROC_BIND_##Name) |
| #define OPENMP_PROC_BIND_KIND |
( |
|
Name | ) |
|
Value:case OMPC_PROC_BIND_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_SCHEDULE_KIND |
( |
|
Name | ) |
.Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_##Name)) |
| #define OPENMP_SCHEDULE_KIND |
( |
|
Name | ) |
|
Value:case OMPC_SCHEDULE_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_SCHEDULE_MODIFIER |
( |
|
Name | ) |
.Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_MODIFIER_##Name)) |
| #define OPENMP_SCHEDULE_MODIFIER |
( |
|
Name | ) |
|
Value:case OMPC_SCHEDULE_MODIFIER_##
Name:
\
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_SECTIONS_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_SIMD_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_SINGLE_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TARGET_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TARGET_DATA_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TASK_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TASKLOOP_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TASKLOOP_SIMD_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))
| #define OPENMP_TEAMS_CLAUSE |
( |
|
Name | ) |
|
Value:
class LLVM_ALIGNAS(8) DependentTemplateSpecializationType const IdentifierInfo * Name
Represents a template specialization type whose template cannot be resolved, e.g. ...
return(x >> y)|(x<< (32-y))