Lines Matching defs:PVT

396     SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
397 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
398 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1428 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) {
1437 return DAG.getExtLoad(ExtType, DL, PVT,
1446 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT))
1447 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1));
1450 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT))
1451 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1));
1456 return DAG.getNode(ExtOpc, DL, PVT, Op);
1460 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))
1462 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op);
1465 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) {
1466 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT))
1471 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1482 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) {
1486 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1513 EVT PVT = VT;
1516 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1517 assert(PVT != VT && "Don't know what type to promote to!");
1523 SDValue NN0 = PromoteOperand(N0, PVT, Replace0);
1527 SDValue NN1 = PromoteOperand(N1, PVT, Replace1);
1531 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1));
1581 EVT PVT = VT;
1584 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1585 assert(PVT != VT && "Don't know what type to promote to!");
1592 N0 = SExtPromoteOperand(N0, PVT);
1594 N0 = ZExtPromoteOperand(N0, PVT);
1596 N0 = PromoteOperand(N0, PVT, Replace);
1604 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1));
1630 EVT PVT = VT;
1633 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1634 assert(PVT != VT && "Don't know what type to promote to!");
1661 EVT PVT = VT;
1664 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1665 assert(PVT != VT && "Don't know what type to promote to!");
1673 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT,