Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp1729 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt)); in visitAShr() local
1730 return new SExtInst(NewSh, Ty); in visitAShr()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3843 auto NewSh = N1->getOpcode() == ISD::SRA ? ISD::SRL : ISD::SRA; in visitSUB() local
3844 if (!LegalOperations || TLI.isOperationLegal(NewSh, VT)) in visitSUB()
3845 return DAG.getNode(NewSh, DL, VT, N1.getOperand(0), N1.getOperand(1)); in visitSUB()