Lines Matching refs:ShiftDiff
937 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt); in visitShl() local
938 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
945 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt); in visitShl() local
947 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl()
958 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt); in visitShl() local
959 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
968 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt); in visitShl() local
971 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff); in visitShl()
1074 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitLShr() local
1077 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr()
1082 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr()
1088 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt); in visitLShr() local
1091 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr()
1096 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr()
1298 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitAShr() local
1299 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff); in visitAShr()
1305 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt); in visitAShr() local
1306 auto *NewShl = BinaryOperator::Create(Instruction::Shl, X, ShiftDiff); in visitAShr()