Searched refs:ShiftDiff (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 632 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt); in visitShl() local 633 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 640 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt); in visitShl() local 642 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl() 731 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitLShr() local 734 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() 745 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt); in visitLShr() local 748 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr() 753 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr() 858 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitAShr() local [all …]
|