8 #ifndef MLIR_CONVERSION_COMPLEXTOLIBM_COMPLEXTOLIBM_H_
9 #define MLIR_CONVERSION_COMPLEXTOLIBM_COMPLEXTOLIBM_H_
17 #define GEN_PASS_DECL_CONVERTCOMPLEXTOLIBM
18 #include "mlir/Conversion/Passes.h.inc"
23 PatternBenefit benefit);
Include the generated interface declarations.
std::unique_ptr< OperationPass< ModuleOp > > createConvertComplexToLibmPass()
Create a pass to convert Complex operations to libm calls.
void populateComplexToLibmConversionPatterns(RewritePatternSet &patterns, PatternBenefit benefit)
Populate the given list with patterns that convert from Complex to Libm calls.