|
My Project
|
Classes | |
| struct | QuantizedMultiplierSmallerThanOneExp |
| struct | UniformBinaryOpInfo |
Functions | |
| quant::UniformQuantizedType | getUniformElementType (Type t) |
| bool | hasStorageBitWidth (quant::QuantizedType t, ArrayRef< unsigned > checkWidths) |
| template<typename F > | |
| bool | integralLog2 (F x, int &log2Result) |
| Type | castElementType (Type t, Type newElementType) |
| Casts an integer or floating point based shaped type to a new element type. More... | |
| Attribute | broadcastScalarConstIntValue (Type t, int64_t value) |
| APFloat | convertFloatToType (FloatType ft, APFloat value) |
| Attribute | broadcastScalarConstFloatValue (Type t, APFloat value) |
Creates a FloatAttr with a type that matches the shape of 't' (which can be a scalar primitive or a shaped type).
Creates an IntegerAttr with a type that matches the shape of 't' (which can be a scalar primitive or a shaped type).
Casts an integer or floating point based shaped type to a new element type.
|
inline |
Given an APFloat, converts it to the float semantics that matches the given FloatType, silently ignoring inexact conversions.
|
inline |
|
inline |
| bool mlir::fxpmath::detail::integralLog2 | ( | F | x, |
| int & | log2Result | ||
| ) |
Computes the log2(x), rounded to an integral value. Returns whether 'x' can be considered an exact integral value.
1.8.13