Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp547 const FixedPointSemantics &DstFXSema, in getFromIntValue() argument
551 return APFixedPoint(Value, IntFXSema).convert(DstFXSema, Overflow); in getFromIntValue()
556 const FixedPointSemantics &DstFXSema, in getFromFloatValue() argument
571 return APFixedPoint(DstFXSema); in getFromFloatValue()
577 while (!DstFXSema.fitsInFloatSemantics(*OpSema)) in getFromFloatValue()
590 APFloat ScaleFactor(std::pow(2, -DstFXSema.getLsbWeight())); in getFromFloatValue()
596 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()
604 ScaleFactor = APFloat(std::pow(2, DstFXSema.getLsbWeight())); in getFromFloatValue()
611 APFloat FloatMax = getMax(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
612 APFloat FloatMin = getMin(DstFXSema).convertToFloat(*OpSema); in getFromFloatValue()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFixedPoint.h293 getFromIntValue(const APSInt &Value, const FixedPointSemantics &DstFXSema,
304 getFromFloatValue(const APFloat &Value, const FixedPointSemantics &DstFXSema,