Home
last modified time | relevance | path

Searched refs:ShiftDiff (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1087 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local
1088 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
1099 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local
1101 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl()
1112 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local
1113 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
1126 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmtC); in visitShl() local
1129 BinaryOperator::Create(OldShr->getOpcode(), X, ShiftDiff); in visitShl()
1385 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShlAmtC); in visitLShr() local
1388 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp759 uint64_t ShiftDiff = IsBigEndian ? LoadSize2 : LoadSize1; in foldLoadsRecursive() local
762 if ((Shift2 - Shift1) != ShiftDiff || (Offset2 - Offset1) != PrevSize) in foldLoadsRecursive()