clang API Documentation
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.
Defines | |
#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, OMPC_SCHEDULE_##Name) |
#define | OPENMP_DEFAULT_KIND(Name) |
#define | OPENMP_PROC_BIND_KIND(Name) |
#define | OPENMP_SCHEDULE_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_TEAMS_CLAUSE(Name) |
This file implements the OpenMP enum and support functions.
Definition in file OpenMPKinds.cpp.
#define OPENMP_ATOMIC_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_CLAUSE | ( | Name, | |
Class | |||
) | .Case(#Name, OMPC_##Name) |
#define OPENMP_CLAUSE | ( | Name, | |
Class | |||
) |
case OMPC_##Name: \
return #Name;
#define OPENMP_DEFAULT_KIND | ( | Name | ) | .Case(#Name, OMPC_DEFAULT_##Name) |
#define OPENMP_DEFAULT_KIND | ( | Name | ) |
case OMPC_DEFAULT_##Name: \
return #Name;
#define OPENMP_DIRECTIVE | ( | Name | ) | .Case(#Name, OMPD_##Name) |
#define OPENMP_DIRECTIVE | ( | Name | ) |
case OMPD_##Name: \
return #Name;
#define OPENMP_DIRECTIVE_EXT | ( | Name, | |
Str | |||
) | .Case(Str, OMPD_##Name) |
#define OPENMP_DIRECTIVE_EXT | ( | Name, | |
Str | |||
) |
case OMPD_##Name: \
return Str;
#define OPENMP_FOR_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_FOR_SIMD_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_PARALLEL_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_PARALLEL_FOR_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_PARALLEL_FOR_SIMD_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_PARALLEL_SECTIONS_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_PROC_BIND_KIND | ( | Name | ) | .Case(#Name, OMPC_PROC_BIND_##Name) |
#define OPENMP_PROC_BIND_KIND | ( | Name | ) |
case OMPC_PROC_BIND_##Name: \
return #Name;
#define OPENMP_SCHEDULE_KIND | ( | Name | ) | .Case(#Name, OMPC_SCHEDULE_##Name) |
#define OPENMP_SCHEDULE_KIND | ( | Name | ) |
case OMPC_SCHEDULE_##Name: \
return #Name;
#define OPENMP_SECTIONS_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_SIMD_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_SINGLE_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_TARGET_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_TASK_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;
#define OPENMP_TEAMS_CLAUSE | ( | Name | ) |
case OMPC_##Name: \ return true;