LLVM  14.0.0git
Classes | Namespaces | Macros
OMPIRBuilder.h File Reference
#include "llvm/Frontend/OpenMP/OMPConstants.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/Support/Allocator.h"
#include <forward_list>
#include "llvm/Frontend/OpenMP/OMPKinds.def"
Include dependency graph for OMPIRBuilder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::OpenMPIRBuilder
 An interface to create LLVM-IR for OpenMP directives. More...
 
struct  llvm::OpenMPIRBuilder::FinalizationInfo
 
struct  llvm::OpenMPIRBuilder::LocationDescription
 Description of a LLVM-IR insertion point (IP) and a debug/source location (filename, line, column, ...). More...
 
struct  llvm::OpenMPIRBuilder::ReductionInfo
 Information about an OpenMP reduction. More...
 
struct  llvm::OpenMPIRBuilder::OutlineInfo
 Helper that contains information about regions we need to outline during finalization. More...
 
struct  llvm::OpenMPIRBuilder::MapperAllocas
 
struct  llvm::OpenMPIRBuilder::AtomicOpValue
 a struct to pack relevant information while generating atomic Ops More...
 
class  llvm::CanonicalLoopInfo
 Class to represented the control flow structure of an OpenMP canonical loop. More...
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define OMP_TYPE(VarName, InitValue)   Type *VarName = nullptr;
 } More...
 
#define OMP_ARRAY_TYPE(VarName, ElemTy, ArraySize)
 
#define OMP_FUNCTION_TYPE(VarName, IsVarArg, ReturnType, ...)
 
#define OMP_STRUCT_TYPE(VarName, StrName, ...)
 

Macro Definition Documentation

◆ OMP_ARRAY_TYPE

#define OMP_ARRAY_TYPE (   VarName,
  ElemTy,
  ArraySize 
)
Value:
ArrayType *VarName##Ty = nullptr; \
PointerType *VarName##PtrTy = nullptr;

Definition at line 1027 of file OMPIRBuilder.h.

◆ OMP_FUNCTION_TYPE

#define OMP_FUNCTION_TYPE (   VarName,
  IsVarArg,
  ReturnType,
  ... 
)
Value:
FunctionType *VarName = nullptr; \
PointerType *VarName##Ptr = nullptr;

Definition at line 1030 of file OMPIRBuilder.h.

◆ OMP_STRUCT_TYPE

#define OMP_STRUCT_TYPE (   VarName,
  StrName,
  ... 
)
Value:
StructType *VarName = nullptr; \
PointerType *VarName##Ptr = nullptr;

Definition at line 1033 of file OMPIRBuilder.h.

◆ OMP_TYPE

#define OMP_TYPE (   VarName,
  InitValue 
)    Type *VarName = nullptr;

}

Declarations for LLVM-IR types (simple, array, function and structure) are generated below. Their names are defined and used in OpenMPKinds.def. Here we provide the declarations, the initializeTypes function will provide the values.

{

Definition at line 1026 of file OMPIRBuilder.h.

FunctionType
Definition: ItaniumDemangle.h:779
llvm::tgtok::VarName
@ VarName
Definition: TGLexer.h:71
ArrayType
Definition: ItaniumDemangle.h:750