LLVM  10.0.0
Namespaces | Enumerations | Functions
llvm::omp Namespace Reference

Namespaces

 types
 Forward declarations for LLVM-IR types (simple, function and structure) are generated below.
 

Enumerations

enum  Directive { Directive::OMP_DIRECTIVE }
 IDs for all OpenMP directives. More...
 
enum  RuntimeFunction { RuntimeFunction::OMP_RTL }
 IDs for all omp runtime library (RTL) functions. More...
 
enum  ProcBindKind { ProcBindKind::OMP_PROC_BIND_KIND }
 IDs for the different proc bind kinds. More...
 
enum  IdentFlag { IdentFlag::OMP_IDENT_FLAG }
 IDs for all omp runtime library ident_t flag encodings (see their defintion in openmp/runtime/src/kmp.h). More...
 

Functions

 LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ()
 
Directive getOpenMPDirectiveKind (StringRef Str)
 Parse Str and return the directive it matches or OMPD_unknown if none. More...
 
StringRef getOpenMPDirectiveName (Directive D)
 Return a textual representation of the directive D. More...
 

Enumeration Type Documentation

◆ Directive

enum llvm::omp::Directive
strong

IDs for all OpenMP directives.

Enumerator
OMP_DIRECTIVE 

Definition at line 31 of file OMPConstants.h.

◆ IdentFlag

enum llvm::omp::IdentFlag
strong

IDs for all omp runtime library ident_t flag encodings (see their defintion in openmp/runtime/src/kmp.h).

Enumerator
OMP_IDENT_FLAG 

Definition at line 64 of file OMPConstants.h.

◆ ProcBindKind

IDs for the different proc bind kinds.

Enumerator
OMP_PROC_BIND_KIND 

Definition at line 53 of file OMPConstants.h.

◆ RuntimeFunction

IDs for all omp runtime library (RTL) functions.

Enumerator
OMP_RTL 

Definition at line 44 of file OMPConstants.h.

Function Documentation

◆ getOpenMPDirectiveKind()

Directive llvm::omp::getOpenMPDirectiveKind ( StringRef  Str)

Parse Str and return the directive it matches or OMPD_unknown if none.

Definition at line 22 of file OMPConstants.cpp.

References OMP_DIRECTIVE.

◆ getOpenMPDirectiveName()

StringRef llvm::omp::getOpenMPDirectiveName ( Directive  D)

Return a textual representation of the directive D.

Definition at line 29 of file OMPConstants.cpp.

References llvm_unreachable.

◆ LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()

llvm::omp::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ( )