Lines Matching defs:ShiftDiff
1065 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt);
1066 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1077 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC);
1079 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff);
1090 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt);
1091 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1104 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC);
1107 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff);
1363 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShlAmtC);
1366 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff);
1372 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact());
1378 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmtC - ShAmtC);
1381 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1388 Value *NewShl = Builder.CreateShl(X, ShiftDiff);
1556 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC);
1557 return BinaryOperator::CreateShl(NewZExt, ShiftDiff);
1701 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt);
1702 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff);
1708 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt);
1709 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff);