8 #ifndef MLIR_CONVERSION_MATHTOLIBM_MATHTOLIBM_H_
9 #define MLIR_CONVERSION_MATHTOLIBM_MATHTOLIBM_H_
17 #define GEN_PASS_DECL_CONVERTMATHTOLIBM
18 #include "mlir/Conversion/Passes.h.inc"
Include the generated interface declarations.
void populateMathToLibmConversionPatterns(RewritePatternSet &patterns)
Populate the given list with patterns that convert from Math to Libm calls.
std::unique_ptr< OperationPass< ModuleOp > > createConvertMathToLibmPass()
Create a pass to convert Math operations to libm calls.