Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp729 auto *OldShift = cast<Instruction>(Trunc.getOperand(0)); in narrowBinOp() local
730 bool IsExact = OldShift->isExact(); in narrowBinOp()
734 OldShift->getOpcode() == Instruction::AShr in narrowBinOp()
735 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
736 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()