Searched refs:ShiftDiff (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 1065 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local 1066 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 1077 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local 1079 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl() 1090 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local 1091 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 1104 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local 1107 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff); in visitShl() 1363 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShlAmtC); in visitLShr() local 1366 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | AggressiveInstCombine.cpp | 752 uint64_t ShiftDiff = IsBigEndian ? LoadSize2 : LoadSize1; in foldLoadsRecursive() local 755 if ((Shift2 - Shift1) != ShiftDiff || (Offset2 - Offset1) != PrevSize) in foldLoadsRecursive()
|