reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
10567 assert(Value.getBitWidth() == PromotedMin.getBitWidth() && 10568 Value.isUnsigned() == PromotedMin.isUnsigned()); 10570 assert(Value.isUnsigned() && "discontiguous range for signed compare"); 10571 if (Value.isMinValue()) return Min; 10572 if (Value.isMaxValue()) return Max; 10573 if (Value >= PromotedMin) return InRange; 10574 if (Value <= PromotedMax) return InRange; 10578 switch (llvm::APSInt::compareValues(Value, PromotedMin)) { 10582 switch (llvm::APSInt::compareValues(Value, PromotedMax)) {