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.cpp603 auto *OldShift = cast<Instruction>(Trunc.getOperand(0)); in narrowBinOp() local
604 bool IsExact = OldShift->isExact(); in narrowBinOp()
609 OldShift->getOpcode() == Instruction::AShr in narrowBinOp()
610 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
611 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()