Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp679 auto *OldShift = cast<Instruction>(Trunc.getOperand(0)); in narrowBinOp() local
680 bool IsExact = OldShift->isExact(); in narrowBinOp()
685 OldShift->getOpcode() == Instruction::AShr in narrowBinOp()
686 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
687 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()