Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/include/llvm/ADT/
DAPFixedPoint.h42 int LsbWeight; member
50 : Width(Width), LsbWeight(Weight.LsbWeight), IsSigned(IsSigned), in FixedPointSemantics()
52 assert(isUInt<WidthBitWidth>(Width) && isInt<LsbWeightBitWidth>(Weight.LsbWeight)); in FixedPointSemantics()
60 return LsbWeight <= 0 && static_cast<int>(Width) >= -LsbWeight; in isValidLegacySema()
63 unsigned getScale() const { assert(isValidLegacySema()); return -LsbWeight; } in getScale()
64 int getLsbWeight() const { return LsbWeight; } in getLsbWeight()
66 return LsbWeight + Width - 1 /*Both lsb and msb are both part of width*/; in getMsbWeight()
112 return Width == Other.Width && LsbWeight == Other.LsbWeight &&
120 signed int LsbWeight : LsbWeightBitWidth; variable