clang 20.0.0git
|
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 "llvm/Frontend/OpenMP/OMPKinds.def"
#include "clang/Basic/OpenMPKinds.def"
Go to the source code of this file.
Macros | |
#define | OMP_DEFAULT_KIND(Enum, Name) .Case(Name, unsigned(Enum)) |
#define | OMP_PROC_BIND_KIND(Enum, Name, Value) .Case(Name, Value) |
#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_DOACROSS_MODIFIER(Name) .Case(#Name, OMPC_DOACROSS_##Name) |
#define | OPENMP_LINEAR_KIND(Name) .Case(#Name, OMPC_LINEAR_##Name) |
#define | OPENMP_MAP_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_MAP_##Name)) |
#define | OPENMP_MAP_MODIFIER_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_MAP_MODIFIER_##Name)) |
#define | OPENMP_MOTION_MODIFIER_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_MOTION_MODIFIER_##Name)) |
#define | OPENMP_DIST_SCHEDULE_KIND(Name) .Case(#Name, OMPC_DIST_SCHEDULE_##Name) |
#define | OPENMP_DEFAULTMAP_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_DEFAULTMAP_##Name)) |
#define | OPENMP_DEFAULTMAP_MODIFIER(Name) .Case(#Name, static_cast<unsigned>(OMPC_DEFAULTMAP_MODIFIER_##Name)) |
#define | OPENMP_ATOMIC_DEFAULT_MEM_ORDER_KIND(Name) .Case(#Name, OMPC_ATOMIC_DEFAULT_MEM_ORDER_##Name) |
#define | OPENMP_ATOMIC_FAIL_MODIFIER(Name) .Case(#Name, OMPC_##Name) |
#define | OPENMP_DEVICE_TYPE_KIND(Name) .Case(#Name, OMPC_DEVICE_TYPE_##Name) |
#define | OPENMP_AT_KIND(Name) .Case(#Name, OMPC_AT_##Name) |
#define | OPENMP_SEVERITY_KIND(Name) .Case(#Name, OMPC_SEVERITY_##Name) |
#define | OPENMP_LASTPRIVATE_KIND(Name) .Case(#Name, OMPC_LASTPRIVATE_##Name) |
#define | OPENMP_ORDER_KIND(Name) .Case(#Name, static_cast<unsigned>(OMPC_ORDER_##Name)) |
#define | OPENMP_ORDER_MODIFIER(Name) .Case(#Name, static_cast<unsigned>(OMPC_ORDER_MODIFIER_##Name)) |
#define | OPENMP_DEPEND_KIND(Name) .Case(#Name, OMPC_DEPEND_##Name) |
#define | OPENMP_DEVICE_MODIFIER(Name) .Case(#Name, OMPC_DEVICE_##Name) |
#define | OPENMP_REDUCTION_MODIFIER(Name) .Case(#Name, OMPC_REDUCTION_##Name) |
#define | OPENMP_ADJUST_ARGS_KIND(Name) .Case(#Name, OMPC_ADJUST_ARGS_##Name) |
#define | OPENMP_BIND_KIND(Name) .Case(#Name, OMPC_BIND_##Name) |
#define | OPENMP_GRAINSIZE_MODIFIER(Name) .Case(#Name, OMPC_GRAINSIZE_##Name) |
#define | OPENMP_NUMTASKS_MODIFIER(Name) .Case(#Name, OMPC_NUMTASKS_##Name) |
#define | OMP_DEFAULT_KIND(Enum, Name) |
#define | OMP_PROC_BIND_KIND(Enum, Name, Value) |
#define | OPENMP_SCHEDULE_KIND(Name) |
#define | OPENMP_SCHEDULE_MODIFIER(Name) |
#define | OPENMP_DEPEND_KIND(Name) |
#define | OPENMP_DOACROSS_MODIFIER(Name) |
#define | OPENMP_LINEAR_KIND(Name) |
#define | OPENMP_MAP_KIND(Name) |
#define | OPENMP_MAP_MODIFIER_KIND(Name) |
#define | OPENMP_MOTION_MODIFIER_KIND(Name) |
#define | OPENMP_DIST_SCHEDULE_KIND(Name) |
#define | OPENMP_DEFAULTMAP_KIND(Name) |
#define | OPENMP_DEFAULTMAP_MODIFIER(Name) |
#define | OPENMP_ATOMIC_DEFAULT_MEM_ORDER_KIND(Name) |
#define | OPENMP_DEVICE_TYPE_KIND(Name) |
#define | OPENMP_AT_KIND(Name) |
#define | OPENMP_SEVERITY_KIND(Name) |
#define | OPENMP_LASTPRIVATE_KIND(Name) |
#define | OPENMP_ORDER_KIND(Name) |
#define | OPENMP_ORDER_MODIFIER(Name) |
#define | OPENMP_DEPEND_KIND(Name) |
#define | OPENMP_DEVICE_MODIFIER(Name) |
#define | OPENMP_REDUCTION_MODIFIER(Name) |
#define | OPENMP_ADJUST_ARGS_KIND(Name) |
#define | OPENMP_BIND_KIND(Name) |
#define | OPENMP_GRAINSIZE_MODIFIER(Name) |
#define | OPENMP_NUMTASKS_MODIFIER(Name) |
This file implements the OpenMP enum and support functions.
Definition in file OpenMPKinds.cpp.
#define OMP_DEFAULT_KIND | ( | Enum, | |
Name | |||
) |
#define OPENMP_ADJUST_ARGS_KIND | ( | Name | ) | .Case(#Name, OMPC_ADJUST_ARGS_##Name) |
#define OPENMP_ADJUST_ARGS_KIND | ( | Name | ) |
#define OPENMP_AT_KIND | ( | Name | ) | .Case(#Name, OMPC_AT_##Name) |
#define OPENMP_AT_KIND | ( | Name | ) |
#define OPENMP_ATOMIC_DEFAULT_MEM_ORDER_KIND | ( | Name | ) | .Case(#Name, OMPC_ATOMIC_DEFAULT_MEM_ORDER_##Name) |
#define OPENMP_ATOMIC_DEFAULT_MEM_ORDER_KIND | ( | Name | ) |
#define OPENMP_ATOMIC_FAIL_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_##Name) |
#define OPENMP_BIND_KIND | ( | Name | ) | .Case(#Name, OMPC_BIND_##Name) |
#define OPENMP_BIND_KIND | ( | Name | ) |
#define OPENMP_DEFAULTMAP_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_DEFAULTMAP_##Name)) |
#define OPENMP_DEFAULTMAP_KIND | ( | Name | ) |
#define OPENMP_DEFAULTMAP_MODIFIER | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_DEFAULTMAP_MODIFIER_##Name)) |
#define OPENMP_DEFAULTMAP_MODIFIER | ( | Name | ) |
#define OPENMP_DEPEND_KIND | ( | Name | ) | .Case(#Name, OMPC_DEPEND_##Name) |
#define OPENMP_DEPEND_KIND | ( | Name | ) | .Case(#Name, OMPC_DEPEND_##Name) |
#define OPENMP_DEPEND_KIND | ( | Name | ) |
#define OPENMP_DEPEND_KIND | ( | Name | ) |
#define OPENMP_DEVICE_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_DEVICE_##Name) |
#define OPENMP_DEVICE_MODIFIER | ( | Name | ) |
#define OPENMP_DEVICE_TYPE_KIND | ( | Name | ) | .Case(#Name, OMPC_DEVICE_TYPE_##Name) |
#define OPENMP_DEVICE_TYPE_KIND | ( | Name | ) |
#define OPENMP_DIST_SCHEDULE_KIND | ( | Name | ) | .Case(#Name, OMPC_DIST_SCHEDULE_##Name) |
#define OPENMP_DIST_SCHEDULE_KIND | ( | Name | ) |
#define OPENMP_DOACROSS_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_DOACROSS_##Name) |
#define OPENMP_DOACROSS_MODIFIER | ( | Name | ) |
#define OPENMP_GRAINSIZE_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_GRAINSIZE_##Name) |
#define OPENMP_GRAINSIZE_MODIFIER | ( | Name | ) |
#define OPENMP_LASTPRIVATE_KIND | ( | Name | ) | .Case(#Name, OMPC_LASTPRIVATE_##Name) |
#define OPENMP_LASTPRIVATE_KIND | ( | Name | ) |
#define OPENMP_LINEAR_KIND | ( | Name | ) | .Case(#Name, OMPC_LINEAR_##Name) |
#define OPENMP_LINEAR_KIND | ( | Name | ) |
#define OPENMP_MAP_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_MAP_##Name)) |
#define OPENMP_MAP_KIND | ( | Name | ) |
#define OPENMP_MAP_MODIFIER_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_MAP_MODIFIER_##Name)) |
#define OPENMP_MAP_MODIFIER_KIND | ( | Name | ) |
#define OPENMP_MOTION_MODIFIER_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_MOTION_MODIFIER_##Name)) |
#define OPENMP_MOTION_MODIFIER_KIND | ( | Name | ) |
#define OPENMP_NUMTASKS_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_NUMTASKS_##Name) |
#define OPENMP_NUMTASKS_MODIFIER | ( | Name | ) |
#define OPENMP_ORDER_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_ORDER_##Name)) |
#define OPENMP_ORDER_KIND | ( | Name | ) |
#define OPENMP_ORDER_MODIFIER | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_ORDER_MODIFIER_##Name)) |
#define OPENMP_ORDER_MODIFIER | ( | Name | ) |
#define OPENMP_REDUCTION_MODIFIER | ( | Name | ) | .Case(#Name, OMPC_REDUCTION_##Name) |
#define OPENMP_REDUCTION_MODIFIER | ( | Name | ) |
#define OPENMP_SCHEDULE_KIND | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_##Name)) |
#define OPENMP_SCHEDULE_KIND | ( | Name | ) |
#define OPENMP_SCHEDULE_MODIFIER | ( | Name | ) | .Case(#Name, static_cast<unsigned>(OMPC_SCHEDULE_MODIFIER_##Name)) |
#define OPENMP_SCHEDULE_MODIFIER | ( | Name | ) |
#define OPENMP_SEVERITY_KIND | ( | Name | ) | .Case(#Name, OMPC_SEVERITY_##Name) |
#define OPENMP_SEVERITY_KIND | ( | Name | ) |