Lines Matching refs:PVT
271 SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
272 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
273 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1086 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) { in PromoteOperand() argument
1095 return DAG.getExtLoad(ExtType, DL, PVT, in PromoteOperand()
1104 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1105 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1108 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT)) in PromoteOperand()
1109 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1)); in PromoteOperand()
1114 return DAG.getNode(ExtOpc, DL, PVT, Op); in PromoteOperand()
1118 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT)) in PromoteOperand()
1120 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op); in PromoteOperand()
1123 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) { in SExtPromoteOperand() argument
1124 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT)) in SExtPromoteOperand()
1129 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in SExtPromoteOperand()
1140 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) { in ZExtPromoteOperand() argument
1144 SDValue NewOp = PromoteOperand(Op, PVT, Replace); in ZExtPromoteOperand()
1171 EVT PVT = VT; in PromoteIntBinOp() local
1174 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntBinOp()
1175 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntBinOp()
1181 SDValue NN0 = PromoteOperand(N0, PVT, Replace0); in PromoteIntBinOp()
1185 SDValue NN1 = PromoteOperand(N1, PVT, Replace1); in PromoteIntBinOp()
1189 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1)); in PromoteIntBinOp()
1236 EVT PVT = VT; in PromoteIntShiftOp() local
1239 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteIntShiftOp()
1240 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteIntShiftOp()
1248 N0 = SExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1250 N0 = ZExtPromoteOperand(N0, PVT); in PromoteIntShiftOp()
1252 N0 = PromoteOperand(N0, PVT, Replace); in PromoteIntShiftOp()
1259 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1)); in PromoteIntShiftOp()
1286 EVT PVT = VT; in PromoteExtend() local
1289 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteExtend()
1290 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteExtend()
1317 EVT PVT = VT; in PromoteLoad() local
1320 if (TLI.IsDesirableToPromoteOp(Op, PVT)) { in PromoteLoad()
1321 assert(PVT != VT && "Don't know what type to promote to!"); in PromoteLoad()
1329 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT, in PromoteLoad()