Lines Matching refs:Shl
148 if (ShiftOpcode == Instruction::BinaryOps::Shl) { in reassociateShiftAmtsOfTwoSameDirectionShifts()
187 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput()
430 case Instruction::Shl: in commonShiftTransforms()
440 Constant *NewC = ConstantInt::get(Ty, I.getOpcode() == Instruction::Shl in commonShiftTransforms()
445 if (I.getOpcode() == Instruction::Shl) { in commonShiftTransforms()
487 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift()
548 case Instruction::Shl: in canEvaluateShifted()
584 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in foldShiftedShift()
669 case Instruction::Shl: in getShiftedValue()
712 return Shift.getOpcode() == Instruction::Shl; in canShiftBinOpWithConstantRHS()
739 bool IsLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant()
925 auto ShiftOpc = ShrAmtC > ShAmtC ? Shr->getOpcode() : Instruction::Shl; in visitShl()
1409 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); in visitAShr()