reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
110 llvm::APSInt getValue() const { return llvm::APSInt(Val, !Sema.isSigned()); } 118 bool getBoolValue() const { return Val.getBoolValue(); } 137 return APFixedPoint(Val >> Amt, Sema); 141 return APFixedPoint(Val << Amt, Sema); 147 if (Val < 0 && Val != -Val) // Cover the case when we have the min val 147 if (Val < 0 && Val != -Val) // Cover the case when we have the min val 147 if (Val < 0 && Val != -Val) // Cover the case when we have the min val 148 return -(-Val >> getScale()); 150 return Val >> getScale();tools/clang/lib/Basic/FixedPoint.cpp
20 llvm::APSInt NewVal = Val; 66 bool ThisSigned = Val.isSigned(); 71 unsigned CommonWidth = std::max(Val.getBitWidth(), OtherWidth); 207 (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue()); 207 (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue()); 208 return APFixedPoint(-Val, Sema); 216 return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema); 216 return Val.isMinSignedValue() ? getMax(Sema) : APFixedPoint(-Val, Sema);