reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2031 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) 2037 if (ShiftAmt->uge(TypeBits)) 2050 APInt ShiftedC = C.ashr(*ShiftAmt); 2054 C.ashr(*ShiftAmt).shl(*ShiftAmt) == C) { 2054 C.ashr(*ShiftAmt).shl(*ShiftAmt) == C) { 2055 APInt ShiftedC = C.ashr(*ShiftAmt); 2064 APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1; 2080 APInt ShiftedC = C.lshr(*ShiftAmt); 2084 C.lshr(*ShiftAmt).shl(*ShiftAmt) == C) { 2084 C.lshr(*ShiftAmt).shl(*ShiftAmt) == C) { 2085 APInt ShiftedC = C.lshr(*ShiftAmt); 2094 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; 2103 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); 2105 Constant *LShrC = ConstantInt::get(ShType, C.lshr(*ShiftAmt)); 2115 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); 2126 Value *And = Builder.CreateAnd(X, (~C).lshr(ShiftAmt->getZExtValue())); 2135 Builder.CreateAnd(X, (~(C - 1)).lshr(ShiftAmt->getZExtValue())); 2148 unsigned Amt = ShiftAmt->getLimitedValue(TypeBits - 1); 2155 ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt));