Home
last modified time | relevance | path

Searched refs:DstFXSema (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp548 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()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h273 const FixedPointSemantics &DstFXSema,
284 const FixedPointSemantics &DstFXSema,