Lines Matching refs:PVT

382     SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
383 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
384 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1286 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) { in PromoteOperand() argument
1295 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand()
1304 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1305 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1308 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1309 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1314 return DAG.getNode(ExtOpc, DL, PVT, Op); in PromoteOperand()
1318 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
1320 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op); in PromoteOperand()
1323 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) { in SExtPromoteOperand() argument
1324 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1329 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in SExtPromoteOperand()
1340 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) { in ZExtPromoteOperand() argument
1344 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in ZExtPromoteOperand()
1371 EVT PVT = VT; in PromoteIntBinOp() local
1374 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntBinOp()
1375 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntBinOp()
1381 SDValue NN0 = PromoteOperand(N0, PVT, Replace0); in PromoteIntBinOp()
1385 SDValue NN1 = PromoteOperand(N1, PVT, Replace1); in PromoteIntBinOp()
1389 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1)); in PromoteIntBinOp()
1439 EVT PVT = VT; in PromoteIntShiftOp() local
1442 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntShiftOp()
1443 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntShiftOp()
1450 N0 = SExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1452 N0 = ZExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1454 N0 = PromoteOperand(N0, PVT, Replace); in PromoteIntShiftOp()
1462 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1)); in PromoteIntShiftOp()
1488 EVT PVT = VT; in PromoteExtend() local
1491 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteExtend()
1492 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteExtend()
1519 EVT PVT = VT; in PromoteLoad() local
1522 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteLoad()
1523 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteLoad()
1531 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad()