Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp937 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
1074 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitLShr() local
1091 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr()
1096 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr()
[all …]