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

References

lib/Transforms/InstCombine/InstCombineShifts.cpp
  863   unsigned BitWidth = Ty->getScalarSizeInBits();
  876         return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty);
  882       return BinaryOperator::CreateAnd(X, ConstantInt::get(Ty, Mask));
  892         Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt);
  900         Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt);
  913         return BinaryOperator::CreateShl(X, ConstantInt::get(Ty, AmtSum));
  934     Constant *AllOnes = ConstantInt::getAllOnesValue(Ty);
  953       auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1);
  954       return SelectInst::Create(X, NewC, ConstantInt::getNullValue(Ty));
  962         ConstantInt::get(Ty, APInt::getSignMask(BitWidth)), X);