Lines Matching refs:PVT
395 SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
396 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
397 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1517 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) { in PromoteOperand() argument
1526 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand()
1535 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1536 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1539 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1540 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1545 return DAG.getNode(ExtOpc, DL, PVT, Op); in PromoteOperand()
1549 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
1551 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op); in PromoteOperand()
1554 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) { in SExtPromoteOperand() argument
1555 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1560 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in SExtPromoteOperand()
1571 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) { in ZExtPromoteOperand() argument
1575 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in ZExtPromoteOperand()
1602 EVT PVT = VT; in PromoteIntBinOp() local
1605 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntBinOp()
1606 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntBinOp()
1612 SDValue NN0 = PromoteOperand(N0, PVT, Replace0); in PromoteIntBinOp()
1616 SDValue NN1 = PromoteOperand(N1, PVT, Replace1); in PromoteIntBinOp()
1620 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1)); in PromoteIntBinOp()
1670 EVT PVT = VT; in PromoteIntShiftOp() local
1673 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntShiftOp()
1674 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntShiftOp()
1681 N0 = SExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1683 N0 = ZExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1685 N0 = PromoteOperand(N0, PVT, Replace); in PromoteIntShiftOp()
1693 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1)); in PromoteIntShiftOp()
1719 EVT PVT = VT; in PromoteExtend() local
1722 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteExtend()
1723 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteExtend()
1750 EVT PVT = VT; in PromoteLoad() local
1753 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteLoad()
1754 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteLoad()
1762 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad()