Lines Matching defs:IsLeftShift
571 static bool canEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift,
590 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) &&
591 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I);
595 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI);
601 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) &&
602 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI);
610 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN))
617 return !IsLeftShift && match(I->getOperand(1), m_APInt(MulConst)) &&
773 bool IsLeftShift = I.getOpcode() == Instruction::Shl;
778 if (IsLeftShift) {
793 if (!IsLeftShift && match(C1, m_SpecificIntAllowPoison(TypeBits - 1)) &&
815 canEvaluateShifted(Op0, Op1C->getZExtValue(), IsLeftShift, *this, &I)) {
822 I, getShiftedValue(Op0, Op1C->getZExtValue(), IsLeftShift, *this, DL));