13 #ifndef MLIR_CONVERSION_CONTROLFLOWTOLLVM_CONTROLFLOWTOLLVM_H
14 #define MLIR_CONVERSION_CONTROLFLOWTOLLVM_CONTROLFLOWTOLLVM_H
19 class LLVMTypeConverter;
20 class RewritePatternSet;
23 #define GEN_PASS_DECL_CONVERTCONTROLFLOWTOLLVM
24 #include "mlir/Conversion/Passes.h.inc"
38 bool abortOnFailure =
true);
Conversion from types to the LLVM IR dialect.
std::unique_ptr< Pass > createConvertControlFlowToLLVMPass()
Creates a pass to convert the ControlFlow dialect into the LLVMIR dialect.
void populateControlFlowToLLVMConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Collect the patterns to convert from the ControlFlow dialect to LLVM.
void populateAssertToLLVMConversionPattern(LLVMTypeConverter &converter, RewritePatternSet &patterns, bool abortOnFailure=true)
Populate the cf.assert to LLVM conversion pattern.
Include the generated interface declarations.