My Project
Namespaces | Classes | Functions
mlir::fxpmath Namespace Reference

Namespaces

 detail
 

Classes

class  FxpMathOpsDialect
 Defines the 'FxpMathOps' dialect. More...
 

Functions

OpPassBase< FuncOp > * createLowerUniformRealMathPass ()
 
OpPassBase< FuncOp > * createLowerUniformCastsPass ()
 

Function Documentation

◆ createLowerUniformCastsPass()

OpPassBase< FuncOp > * mlir::fxpmath::createLowerUniformCastsPass ( )

Creates a pass that lowers uniform-quantized qcast/dcast ops to equivalent operations that perform quantize/dequantize.

◆ createLowerUniformRealMathPass()

OpPassBase< FuncOp > * mlir::fxpmath::createLowerUniformRealMathPass ( )

Creates a pass that lowers uniform-quantized real math ops to integer arithmetic. This will leave unrecognized real math ops as-is and is typically followed by a pass that lowers any unrecognized ops to a pure floating point form.