MLIR  21.0.0git
Namespaces | Macros | Functions
OpenMPToLLVM.cpp File Reference
#include "mlir/Conversion/OpenMPToLLVM/ConvertOpenMPToLLVM.h"
#include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h"
#include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h"
#include "mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h"
#include "mlir/Conversion/LLVMCommon/ConversionTarget.h"
#include "mlir/Conversion/LLVMCommon/Pattern.h"
#include "mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/OpenMP/OpenMPDialect.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Conversion/Passes.h.inc"
#include "mlir/Dialect/OpenMP/OpenMPOps.cpp.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Macros

#define GEN_PASS_DEF_CONVERTOPENMPTOLLVMPASS
 
#define GET_OP_LIST
 
#define GET_OP_LIST
 

Functions

template<typename... Ts>
static RewritePatternSetaddOpenMPOpConversions (LLVMTypeConverter &converter, RewritePatternSet &patterns)
 Add an OpenMPOpConversion<T> conversion pattern for each operation type passed as template argument. More...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_CONVERTOPENMPTOLLVMPASS

#define GEN_PASS_DEF_CONVERTOPENMPTOLLVMPASS

Definition at line 24 of file OpenMPToLLVM.cpp.

◆ GET_OP_LIST [1/2]

#define GET_OP_LIST

◆ GET_OP_LIST [2/2]

#define GET_OP_LIST

Function Documentation

◆ addOpenMPOpConversions()

template<typename... Ts>
static RewritePatternSet& addOpenMPOpConversions ( LLVMTypeConverter converter,
RewritePatternSet patterns 
)
inlinestatic

Add an OpenMPOpConversion<T> conversion pattern for each operation type passed as template argument.

Definition at line 135 of file OpenMPToLLVM.cpp.

References mlir::patterns.

Referenced by mlir::populateOpenMPToLLVMConversionPatterns().