Lines Matching refs:DstFXSema
493 const FixedPointSemantics &DstFXSema, in getFromIntValue() argument
497 return APFixedPoint(Value, IntFXSema).convert(DstFXSema, Overflow); in getFromIntValue()
502 const FixedPointSemantics &DstFXSema, in getFromFloatValue() argument
517 return APFixedPoint(DstFXSema); in getFromFloatValue()
523 while (!DstFXSema.fitsInFloatSemantics(*OpSema)) in getFromFloatValue()
536 APFloat ScaleFactor(std::pow(2, DstFXSema.getScale())); in getFromFloatValue()
542 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()
550 ScaleFactor = APFloat(std::pow(2, -(int)DstFXSema.getScale())); in getFromFloatValue()
557 APFloat FloatMax = getMax(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
558 APFloat FloatMin = getMin(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
560 if (DstFXSema.isSaturated()) { in getFromFloatValue()
562 Res = getMax(DstFXSema).getValue(); in getFromFloatValue()
564 Res = getMin(DstFXSema).getValue(); in getFromFloatValue()
571 return APFixedPoint(Res, DstFXSema); in getFromFloatValue()