8 #ifndef MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
9 #define MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
14 class DialectRegistry;
15 class LLVMTypeConverter;
16 class ConversionTarget;
19 class RewritePatternSet;
21 #define GEN_PASS_DECL_CONVERTOPENMPTOLLVMPASS
22 #include "mlir/Conversion/Passes.h.inc"
27 ConversionTarget &target,
const LLVMTypeConverter &typeConverter);
31 RewritePatternSet &patterns);
Include the generated interface declarations.
void populateOpenMPToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Populate the given list with patterns that convert from OpenMP to LLVM.
void registerConvertOpenMPToLLVMInterface(DialectRegistry ®istry)
Registers the ConvertToLLVMPatternInterface interface in the OpenMP dialect.
void configureOpenMPToLLVMConversionLegality(ConversionTarget &target, const LLVMTypeConverter &typeConverter)
Configure dynamic conversion legality of regionless operations from OpenMP to LLVM.