Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp220 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() local
221 if (NewShAmt >= TypeWidth) in GetShiftedValue()
224 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue()
261 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() local
262 if (NewShAmt >= TypeWidth) in GetShiftedValue()
265 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp227 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() local
228 if (NewShAmt >= TypeWidth) in GetShiftedValue()
231 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue()
270 unsigned NewShAmt = NumBits+CI->getZExtValue(); in GetShiftedValue() local
271 if (NewShAmt >= TypeWidth) in GetShiftedValue()
274 BO->setOperand(1, ConstantInt::get(BO->getType(), NewShAmt)); in GetShiftedValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp790 unsigned NewShAmt = std::min(ShAmt, SrcTyBitWidth - 1); in visitLShr() local
791 Value *AShr = Builder.CreateAShr(X, NewShAmt); in visitLShr()