Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp774 unsigned SrcTyBitWidth = X->getType()->getScalarSizeInBits(); in visitLShr() local
777 if (SrcTyBitWidth == 1) in visitLShr()
782 Value *NewLShr = Builder.CreateLShr(X, SrcTyBitWidth - 1); in visitLShr()
788 if (ShAmt == BitWidth - SrcTyBitWidth && Op0->hasOneUse()) { in visitLShr()
790 unsigned NewShAmt = std::min(ShAmt, SrcTyBitWidth - 1); in visitLShr()