reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Basic/FixedPoint.cpp
  230     Result = Result.extend(DstWidth);
  230     Result = Result.extend(DstWidth);
  237     if (Result.isSigned() && !DstSign) {
  238       *Overflow = Result.isNegative() || Result.ugt(DstMax);
  238       *Overflow = Result.isNegative() || Result.ugt(DstMax);
  239     } else if (Result.isUnsigned() && DstSign) {
  240       *Overflow = Result.ugt(DstMax);
  242       *Overflow = Result < DstMin || Result > DstMax;
  242       *Overflow = Result < DstMin || Result > DstMax;
  246   Result.setIsSigned(DstSign);
  247   return Result.extOrTrunc(DstWidth);