9#ifndef MLIR_CONVERSION_MATHTOLLVM_MATHTOLLVM_H
10#define MLIR_CONVERSION_MATHTOLLVM_MATHTOLLVM_H
22#define GEN_PASS_DECL_CONVERTMATHTOLLVMPASS
23#include "mlir/Conversion/Passes.h.inc"
27 bool approximateLog1p =
true,
28 PatternBenefit benefit = 1);
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Conversion from types to the LLVM IR dialect.
The abstract base pass class.
Include the generated interface declarations.
void populateMathToLLVMConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns, bool approximateLog1p=true, PatternBenefit benefit=1)
const FrozenRewritePatternSet & patterns
void registerConvertMathToLLVMInterface(DialectRegistry ®istry)