Lines Matching defs:PVT

400     SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
401 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
402 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1442 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) {
1451 return DAG.getExtLoad(ExtType, DL, PVT,
1460 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT))
1461 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1));
1464 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT))
1465 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1));
1470 return DAG.getNode(ExtOpc, DL, PVT, Op);
1474 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))
1476 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op);
1479 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) {
1480 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT))
1485 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1496 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) {
1500 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1527 EVT PVT = VT;
1530 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1531 assert(PVT != VT && "Don't know what type to promote to!");
1537 SDValue NN0 = PromoteOperand(N0, PVT, Replace0);
1541 SDValue NN1 = PromoteOperand(N1, PVT, Replace1);
1545 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1));
1595 EVT PVT = VT;
1598 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1599 assert(PVT != VT && "Don't know what type to promote to!");
1606 N0 = SExtPromoteOperand(N0, PVT);
1608 N0 = ZExtPromoteOperand(N0, PVT);
1610 N0 = PromoteOperand(N0, PVT, Replace);
1618 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1));
1644 EVT PVT = VT;
1647 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1648 assert(PVT != VT && "Don't know what type to promote to!");
1675 EVT PVT = VT;
1678 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1679 assert(PVT != VT && "Don't know what type to promote to!");
1687 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT,