8 #ifndef MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
9 #define MLIR_CONVERSION_OPENMPTOLLVM_CONVERTOPENMPTOLLVM_H
14 class LLVMTypeConverter;
15 class ConversionTarget;
18 class RewritePatternSet;
20 #define GEN_PASS_DECL_CONVERTOPENMPTOLLVMPASS
21 #include "mlir/Conversion/Passes.h.inc"
26 LLVMTypeConverter &typeConverter);
30 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 configureOpenMPToLLVMConversionLegality(ConversionTarget &target, LLVMTypeConverter &typeConverter)
Configure dynamic conversion legality of regionless operations from OpenMP to LLVM.