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

References

lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  921   Known.Zero.setLowBits(ShlAmt - 1);
  928   BitMask1 = isLshr ? (BitMask1.lshr(ShrAmt) << ShlAmt) :
  929                       (BitMask1.ashr(ShrAmt) << ShlAmt);
  931   if (ShrAmt <= ShlAmt) {
  932     BitMask2 <<= (ShlAmt - ShrAmt);
  934     BitMask2 = isLshr ? BitMask2.lshr(ShrAmt - ShlAmt):
  935                         BitMask2.ashr(ShrAmt - ShlAmt);
  940     if (ShrAmt == ShlAmt)
  947     if (ShrAmt < ShlAmt) {
  948       Constant *Amt = ConstantInt::get(VarX->getType(), ShlAmt - ShrAmt);
  954       Constant *Amt = ConstantInt::get(VarX->getType(), ShrAmt - ShlAmt);