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

References

lib/Analysis/ValueTracking.cpp
 5458       Lower = APInt::getSignedMinValue(Width).ashr(*C);
 5459       Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1;
lib/CodeGen/GlobalISel/Utils.cpp
  355       return C1.ashr(C2);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 4705   case ISD::SRA:  return std::make_pair(C1.ashr(C2), true);
lib/IR/ConstantFold.cpp
 1264           return ConstantInt::get(CI1->getContext(), C1V.ashr(C2V));
lib/IR/ConstantRange.cpp
  290     return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax),
  291                        APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1);
 1252   APInt PosMax = getSignedMax().ashr(Other.getUnsignedMin()) + 1;
 1259   APInt PosMin = getSignedMin().ashr(Other.getUnsignedMax());
 1266   APInt NegMax = getSignedMax().ashr(Other.getUnsignedMax()) + 1;
 1273   APInt NegMin = getSignedMin().ashr(Other.getUnsignedMin());
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2050       APInt ShiftedC = C.ashr(*ShiftAmt);
 2054         C.ashr(*ShiftAmt).shl(*ShiftAmt) == C) {
 2055       APInt ShiftedC = C.ashr(*ShiftAmt);
 2064       APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1;
 2155         ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt));
tools/lldb/source/Utility/Scalar.cpp
 1960       m_integer = m_integer.ashr(rhs.m_integer);