Home
last modified time | relevance | path

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

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