Lines Matching refs:cast

43   return wrap(unwrap(type).cast<quant::QuantizedType>().getExpressedType());  in mlirQuantizedTypeGetExpressedType()
47 return unwrap(type).cast<quant::QuantizedType>().getFlags(); in mlirQuantizedTypeGetFlags()
51 return unwrap(type).cast<quant::QuantizedType>().isSigned(); in mlirQuantizedTypeIsSigned()
55 return wrap(unwrap(type).cast<quant::QuantizedType>().getStorageType()); in mlirQuantizedTypeGetStorageType()
59 return unwrap(type).cast<quant::QuantizedType>().getStorageTypeMin(); in mlirQuantizedTypeGetStorageTypeMin()
63 return unwrap(type).cast<quant::QuantizedType>().getStorageTypeMax(); in mlirQuantizedTypeGetStorageTypeMax()
68 .cast<quant::QuantizedType>() in mlirQuantizedTypeGetStorageTypeIntegralWidth()
74 return unwrap(type).cast<quant::QuantizedType>().isCompatibleExpressedType( in mlirQuantizedTypeIsCompatibleExpressedType()
84 return wrap(unwrap(type).cast<quant::QuantizedType>().castFromStorageType( in mlirQuantizedTypeCastFromStorageType()
90 unwrap(type).cast<quant::QuantizedType>())); in mlirQuantizedTypeCastToStorageType()
95 return wrap(unwrap(type).cast<quant::QuantizedType>().castFromExpressedType( in mlirQuantizedTypeCastFromExpressedType()
106 unwrap(type).cast<quant::QuantizedType>().castExpressedToStorageType( in mlirQuantizedTypeCastExpressedToStorageType()
144 return unwrap(type).cast<quant::UniformQuantizedType>().getScale(); in mlirUniformQuantizedTypeGetScale()
148 return unwrap(type).cast<quant::UniformQuantizedType>().getZeroPoint(); in mlirUniformQuantizedTypeGetZeroPoint()
152 return unwrap(type).cast<quant::UniformQuantizedType>().isFixedPoint(); in mlirUniformQuantizedTypeIsFixedPoint()
176 .cast<quant::UniformQuantizedPerAxisType>() in mlirUniformQuantizedPerAxisTypeGetNumDims()
183 .cast<quant::UniformQuantizedPerAxisType>() in mlirUniformQuantizedPerAxisTypeGetScale()
190 .cast<quant::UniformQuantizedPerAxisType>() in mlirUniformQuantizedPerAxisTypeGetZeroPoint()
196 .cast<quant::UniformQuantizedPerAxisType>() in mlirUniformQuantizedPerAxisTypeGetQuantizedDimension()
201 return unwrap(type).cast<quant::UniformQuantizedPerAxisType>().isFixedPoint(); in mlirUniformQuantizedPerAxisTypeIsFixedPoint()
219 return unwrap(type).cast<quant::CalibratedQuantizedType>().getMin(); in mlirCalibratedQuantizedTypeGetMin()
223 return unwrap(type).cast<quant::CalibratedQuantizedType>().getMax(); in mlirCalibratedQuantizedTypeGetMax()