Searched refs:ShiftDiff (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 956 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local 957 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 964 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local 966 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl() 977 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local 978 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 987 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local 990 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff); in visitShl() 1192 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShlAmtC); in visitLShr() local 1195 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | AggressiveInstCombine.cpp | 742 uint64_t ShiftDiff = IsBigEndian ? LoadSize2 : LoadSize1; in foldLoadsRecursive() local 745 if ((Shift2 - Shift1) != ShiftDiff || (Offset2 - Offset1) != PrevSize) in foldLoadsRecursive()
|