Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp595 auto *OldShift = cast<Instruction>(Trunc.getOperand(0)); in narrowBinOp() local
596 bool IsExact = OldShift->isExact(); in narrowBinOp()
601 OldShift->getOpcode() == Instruction::AShr in narrowBinOp()
602 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
603 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()