Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFixedPoint.cpp517 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()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPFixedPoint.h211 const FixedPointSemantics &DstFXSema,
222 const FixedPointSemantics &DstFXSema,