Searched refs:NewLShr (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 734 auto *NewLShr = BinaryOperator::CreateLShr(X, ShiftDiff); in visitLShr() local 735 NewLShr->setIsExact(I.isExact()); in visitLShr() 736 return NewLShr; in visitLShr() 739 Value *NewLShr = Builder.CreateLShr(X, ShiftDiff, "", I.isExact()); in visitLShr() local 741 return BinaryOperator::CreateAnd(NewLShr, ConstantInt::get(Ty, Mask)); in visitLShr() 767 Value *NewLShr = Builder.CreateLShr(X, ShAmt); in visitLShr() local 768 return new ZExtInst(NewLShr, Ty); in visitLShr() 782 Value *NewLShr = Builder.CreateLShr(X, SrcTyBitWidth - 1); in visitLShr() local 783 return new ZExtInst(NewLShr, Ty); in visitLShr()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 618 BinaryOperator *NewLShr = BinaryOperator::Create(Instruction::LShr, in FoldShiftByConstant() local 620 NewLShr->setIsExact(I.isExact()); in FoldShiftByConstant() 621 return NewLShr; in FoldShiftByConstant()
|