Lines Matching defs:IsLeftShift
587 static bool canEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift,
606 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) &&
607 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I);
611 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI);
617 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) &&
618 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI);
626 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN))
633 return !IsLeftShift && match(I->getOperand(1), m_APInt(MulConst)) &&
789 bool IsLeftShift = I.getOpcode() == Instruction::Shl;
794 if (IsLeftShift) {
809 if (!IsLeftShift && match(C1, m_SpecificIntAllowPoison(TypeBits - 1)) &&
831 canEvaluateShifted(Op0, Op1C->getZExtValue(), IsLeftShift, *this, &I)) {
838 I, getShiftedValue(Op0, Op1C->getZExtValue(), IsLeftShift, *this, DL));