Lines Matching defs:ShiftDiff
1081 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt);
1082 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1093 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC);
1095 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff);
1106 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt);
1107 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1120 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC);
1123 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff);
1379 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShlAmtC);
1382 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff);
1388 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact());
1394 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmtC - ShAmtC);
1397 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff);
1404 Value *NewShl = Builder.CreateShl(X, ShiftDiff);
1577 Constant *ShiftDiff = ConstantInt::get(Ty, WidthDiff - ShAmtC);
1578 return BinaryOperator::CreateShl(NewZExt, ShiftDiff);
1722 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt);
1723 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff);
1729 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt);
1730 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff);