Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp858 auto *OldShift = cast<Instruction>(Src); in visitTrunc() local
859 bool IsExact = OldShift->isExact(); in visitTrunc()
863 OldShift->getOpcode() == Instruction::AShr in visitTrunc()
864 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in visitTrunc()
865 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in visitTrunc()