Home
last modified time | relevance | path

Searched refs:ExpressedToQuantizedConverter (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DUniformSupport.cpp20 ExpressedToQuantizedConverter
21 ExpressedToQuantizedConverter::forInputType(Type inputType) { in forInputType()
25 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType()
26 return ExpressedToQuantizedConverter{inputType, elementType}; in forInputType()
30 return ExpressedToQuantizedConverter{inputType, inputType}; in forInputType()
32 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType()
35 Type ExpressedToQuantizedConverter::convert(QuantizedType elementalType) const { in convert()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DUniformSupport.h34 struct ExpressedToQuantizedConverter { struct
36 static ExpressedToQuantizedConverter forInputType(Type inputType);
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Transforms/
H A DConvertSimQuant.cpp51 auto converter = ExpressedToQuantizedConverter::forInputType(op.getType()); in failableRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Utils/
H A DQuantUtils.cpp275 quant::ExpressedToQuantizedConverter::forInputType(inputDType); in buildQTypeFromMinMax()