Lines Matching refs:PVT
377 SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
378 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
379 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1273 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) { in PromoteOperand() argument
1282 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand()
1291 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1292 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1295 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1296 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1301 return DAG.getNode(ExtOpc, DL, PVT, Op); in PromoteOperand()
1305 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
1307 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op); in PromoteOperand()
1310 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) { in SExtPromoteOperand() argument
1311 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1316 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in SExtPromoteOperand()
1327 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) { in ZExtPromoteOperand() argument
1331 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in ZExtPromoteOperand()
1358 EVT PVT = VT; in PromoteIntBinOp() local
1361 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntBinOp()
1362 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntBinOp()
1368 SDValue NN0 = PromoteOperand(N0, PVT, Replace0); in PromoteIntBinOp()
1372 SDValue NN1 = PromoteOperand(N1, PVT, Replace1); in PromoteIntBinOp()
1376 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1)); in PromoteIntBinOp()
1426 EVT PVT = VT; in PromoteIntShiftOp() local
1429 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntShiftOp()
1430 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntShiftOp()
1437 N0 = SExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1439 N0 = ZExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1441 N0 = PromoteOperand(N0, PVT, Replace); in PromoteIntShiftOp()
1449 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1)); in PromoteIntShiftOp()
1475 EVT PVT = VT; in PromoteExtend() local
1478 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteExtend()
1479 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteExtend()
1506 EVT PVT = VT; in PromoteLoad() local
1509 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteLoad()
1510 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteLoad()
1518 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad()