Lines Matching refs:NewVT
3573 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitMULHS() local
3574 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHS()
3575 N0 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N0); in visitMULHS()
3576 N1 = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N1); in visitMULHS()
3577 N1 = DAG.getNode(ISD::MUL, DL, NewVT, N0, N1); in visitMULHS()
3578 N1 = DAG.getNode(ISD::SRL, DL, NewVT, N1, in visitMULHS()
3630 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitMULHU() local
3631 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitMULHU()
3632 N0 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N0); in visitMULHU()
3633 N1 = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N1); in visitMULHU()
3634 N1 = DAG.getNode(ISD::MUL, DL, NewVT, N0, N1); in visitMULHU()
3635 N1 = DAG.getNode(ISD::SRL, DL, NewVT, N1, in visitMULHU()
3706 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitSMUL_LOHI() local
3707 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitSMUL_LOHI()
3708 SDValue Lo = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N->getOperand(0)); in visitSMUL_LOHI()
3709 SDValue Hi = DAG.getNode(ISD::SIGN_EXTEND, DL, NewVT, N->getOperand(1)); in visitSMUL_LOHI()
3710 Lo = DAG.getNode(ISD::MUL, DL, NewVT, Lo, Hi); in visitSMUL_LOHI()
3712 Hi = DAG.getNode(ISD::SRL, DL, NewVT, Lo, in visitSMUL_LOHI()
3737 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), SimpleSize*2); in visitUMUL_LOHI() local
3738 if (TLI.isOperationLegal(ISD::MUL, NewVT)) { in visitUMUL_LOHI()
3739 SDValue Lo = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N->getOperand(0)); in visitUMUL_LOHI()
3740 SDValue Hi = DAG.getNode(ISD::ZERO_EXTEND, DL, NewVT, N->getOperand(1)); in visitUMUL_LOHI()
3741 Lo = DAG.getNode(ISD::MUL, DL, NewVT, Lo, Hi); in visitUMUL_LOHI()
3743 Hi = DAG.getNode(ISD::SRL, DL, NewVT, Lo, in visitUMUL_LOHI()
13975 EVT NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth() local
13979 (NewVT.getStoreSizeInBits() != NewBW || in ReduceLoadOpStoreWidth()
13980 !TLI.isOperationLegalOrCustom(Opc, NewVT) || in ReduceLoadOpStoreWidth()
13981 !TLI.isNarrowingProfitable(VT, NewVT))) { in ReduceLoadOpStoreWidth()
13983 NewVT = EVT::getIntegerVT(*DAG.getContext(), NewBW); in ReduceLoadOpStoreWidth()
14005 Type *NewVTTy = NewVT.getTypeForEVT(*DAG.getContext()); in ReduceLoadOpStoreWidth()
14014 DAG.getLoad(NewVT, SDLoc(N0), LD->getChain(), NewPtr, in ReduceLoadOpStoreWidth()
14017 SDValue NewVal = DAG.getNode(Opc, SDLoc(Value), NewVT, NewLD, in ReduceLoadOpStoreWidth()
14019 NewVT)); in ReduceLoadOpStoreWidth()
16553 EVT NewVT = EVT::getVectorVT(*DAG.getContext(), in visitBUILD_VECTOR() local
16555 if (!LegalTypes || TLI.isTypeLegal(NewVT)) { in visitBUILD_VECTOR()
16558 NewVT, Ops); in visitBUILD_VECTOR()