Lines Matching refs:Shl
153 if (ShiftOpcode == Instruction::BinaryOps::Shl) { in reassociateShiftAmtsOfTwoSameDirectionShifts()
192 assert(OuterShift->getOpcode() == Instruction::BinaryOps::Shl && in dropRedundantMaskingOfLeftShiftInput()
364 ShiftOpcode != Instruction::Shl) in foldShiftOfShiftedBinOp()
462 case Instruction::Shl: in commonShiftTransforms()
472 Constant *NewC = ConstantInt::get(Ty, I.getOpcode() == Instruction::Shl in commonShiftTransforms()
477 if (I.getOpcode() == Instruction::Shl) { in commonShiftTransforms()
522 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in canEvaluateShiftedShift()
583 case Instruction::Shl: in canEvaluateShifted()
618 bool IsInnerShl = InnerShift->getOpcode() == Instruction::Shl; in foldShiftedShift()
703 case Instruction::Shl: in getShiftedValue()
746 return Shift.getOpcode() == Instruction::Shl; in canShiftBinOpWithConstantRHS()
767 bool IsLeftShift = I.getOpcode() == Instruction::Shl; in FoldShiftByConstant()
950 if (I.getOpcode() == Instruction::Shl) { in setShiftFlags()
974 if (I.getOpcode() == Instruction::Shl) { in setShiftFlags()
1104 auto ShiftOpc = ShrAmtC > ShAmtC ? Shr->getOpcode() : Instruction::Shl; in visitShl()
1606 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); in visitAShr()