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

References

lib/Analysis/ValueTracking.cpp
 5580     if (match(II.getOperand(0), m_APInt(C)) ||
 5581         match(II.getOperand(1), m_APInt(C)))
 5582       Lower = *C;
 5585     if (match(II.getOperand(0), m_APInt(C)) ||
 5586         match(II.getOperand(1), m_APInt(C))) {
 5587       if (C->isNegative()) {
 5590         Upper = APInt::getSignedMaxValue(Width) + *C + 1;
 5593         Lower = APInt::getSignedMinValue(Width) + *C;
 5600     if (match(II.getOperand(0), m_APInt(C)))
 5601       Upper = *C + 1;
 5603     else if (match(II.getOperand(1), m_APInt(C)))
 5604       Upper = APInt::getMaxValue(Width) - *C + 1;
 5607     if (match(II.getOperand(0), m_APInt(C))) {
 5608       if (C->isNegative()) {
 5611         Upper = *C - APInt::getSignedMinValue(Width) + 1;
 5614         Lower = *C - APInt::getSignedMaxValue(Width);
 5617     } else if (match(II.getOperand(1), m_APInt(C))) {
 5618       if (C->isNegative()) {
 5620         Lower = APInt::getSignedMinValue(Width) - *C;
 5625         Upper = APInt::getSignedMaxValue(Width) - *C + 1;