LLVM  10.0.0
Functions
llvm::omp::types Namespace Reference

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

Functions

void initializeTypes (Module &M)
 Helper to initialize all types defined in OpenMP/OMPKinds.def. More...
 
void uninitializeTypes ()
 Helper to uninitialize all types defined in OpenMP/OMPKinds.def. More...
 

Detailed Description

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

Their names are defined and used in OpenMP/OMPKinds.def. Here we provide the forward declarations, the initializeTypes function will provide the values.

{

Function Documentation

◆ initializeTypes()

void llvm::omp::types::initializeTypes ( Module &  M)

Helper to initialize all types defined in OpenMP/OMPKinds.def.

}

Definition at line 57 of file OMPConstants.cpp.

References llvm::Module::getContext(), and llvm::T.

Referenced by llvm::OpenMPIRBuilder::initialize().

◆ uninitializeTypes()

void llvm::omp::types::uninitializeTypes ( )

Helper to uninitialize all types defined in OpenMP/OMPKinds.def.

Definition at line 78 of file OMPConstants.cpp.