Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1046 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmtC - ShrAmt); in visitShl() local
1047 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
1060 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl()
1072 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl()
1281 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr()
1296 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr()
1303 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr()
1460 return BinaryOperator::CreateShl(NewZExt, ShiftDiff); in visitLShr()
1598 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitAShr() local
1599 auto *NewAShr = BinaryOperator::CreateAShr(X, ShiftDiff); in visitAShr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp749 uint64_t ShiftDiff = IsBigEndian ? LoadSize2 : LoadSize1; in foldLoadsRecursive() local
752 if ((Shift2 - Shift1) != ShiftDiff || (Offset2 - Offset1) != PrevSize) in foldLoadsRecursive()