Searched refs:ShiftDiff (Results 1 – 1 of 1) sorted by relevance
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineShifts.cpp | 972 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShrAmt); in visitShl() local 973 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 980 Constant *ShiftDiff = ConstantInt::get(Ty, ShrAmt - ShAmt); in visitShl() local 982 cast<BinaryOperator>(Op0)->getOpcode(), X, ShiftDiff); in visitShl() 1083 Constant *ShiftDiff = ConstantInt::get(Ty, ShAmt - ShlAmt); in visitLShr() local 1086 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() 1091 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr() 1097 Constant *ShiftDiff = ConstantInt::get(Ty, ShlAmt - ShAmt); in visitLShr() local 1100 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitLShr() 1105 Value *NewShl = Builder.CreateShl(X, ShiftDiff); in visitLShr() [all …]
|