Searched refs:NewSh (Results 1 – 2 of 2) sorted by relevance
885 Value *NewSh = Builder.CreateAShr(X, ConstantInt::get(SrcTy, ShAmt)); in visitAShr() local886 return new SExtInst(NewSh, Ty); in visitAShr()
2598 auto NewSh = N1->getOpcode() == ISD::SRA ? ISD::SRL : ISD::SRA; in visitSUB() local2599 if (!LegalOperations || TLI.isOperationLegal(NewSh, VT)) in visitSUB()2600 return DAG.getNode(NewSh, DL, VT, N1.getOperand(0), N1.getOperand(1)); in visitSUB()