Lines Matching refs:DstFXSema
524 const FixedPointSemantics &DstFXSema, in getFromIntValue() argument
528 return APFixedPoint(Value, IntFXSema).convert(DstFXSema, Overflow); in getFromIntValue()
533 const FixedPointSemantics &DstFXSema, in getFromFloatValue() argument
548 return APFixedPoint(DstFXSema); in getFromFloatValue()
554 while (!DstFXSema.fitsInFloatSemantics(*OpSema)) in getFromFloatValue()
567 APFloat ScaleFactor(std::pow(2, -DstFXSema.getLsbWeight())); in getFromFloatValue()
573 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()
581 ScaleFactor = APFloat(std::pow(2, DstFXSema.getLsbWeight())); in getFromFloatValue()
588 APFloat FloatMax = getMax(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
589 APFloat FloatMin = getMin(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
591 if (DstFXSema.isSaturated()) { in getFromFloatValue()
593 Res = getMax(DstFXSema).getValue(); in getFromFloatValue()
595 Res = getMin(DstFXSema).getValue(); in getFromFloatValue()
602 return APFixedPoint(Res, DstFXSema); in getFromFloatValue()