Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:PVT

149     SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
150 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
151 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
735 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) {
745 return DAG.getExtLoad(ExtType, dl, PVT,
756 return DAG.getNode(ISD::AssertSext, dl, PVT,
757 SExtPromoteOperand(Op.getOperand(0), PVT),
760 return DAG.getNode(ISD::AssertZext, dl, PVT,
761 ZExtPromoteOperand(Op.getOperand(0), PVT),
766 return DAG.getNode(ExtOpc, dl, PVT, Op);
770 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))
772 return DAG.getNode(ISD::ANY_EXTEND, dl, PVT, Op);
775 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) {
776 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT))
781 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
792 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) {
796 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
823 EVT PVT = VT;
826 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
827 assert(PVT != VT && "Don't know what type to promote to!");
831 SDValue NN0 = PromoteOperand(N0, PVT, Replace0);
841 NN1 = PromoteOperand(N1, PVT, Replace1);
859 DAG.getNode(Opc, dl, PVT, NN0, NN1));
881 EVT PVT = VT;
884 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
885 assert(PVT != VT && "Don't know what type to promote to!");
890 N0 = SExtPromoteOperand(Op.getOperand(0), PVT);
892 N0 = ZExtPromoteOperand(Op.getOperand(0), PVT);
894 N0 = PromoteOperand(N0, PVT, Replace);
906 DAG.getNode(Opc, dl, PVT, N0, Op.getOperand(1)));
925 EVT PVT = VT;
928 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
929 assert(PVT != VT && "Don't know what type to promote to!");
954 EVT PVT = VT;
957 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
958 assert(PVT != VT && "Don't know what type to promote to!");
968 SDValue NewLD = DAG.getExtLoad(ExtType, dl, PVT,