• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/

Lines Matching defs:PVT

378     SDValue PromoteOperand(SDValue Op, EVT PVT, bool &Replace);
379 SDValue SExtPromoteOperand(SDValue Op, EVT PVT);
380 SDValue ZExtPromoteOperand(SDValue Op, EVT PVT);
1182 SDValue DAGCombiner::PromoteOperand(SDValue Op, EVT PVT, bool &Replace) {
1191 return DAG.getExtLoad(ExtType, DL, PVT,
1200 if (SDValue Op0 = SExtPromoteOperand(Op.getOperand(0), PVT))
1201 return DAG.getNode(ISD::AssertSext, DL, PVT, Op0, Op.getOperand(1));
1204 if (SDValue Op0 = ZExtPromoteOperand(Op.getOperand(0), PVT))
1205 return DAG.getNode(ISD::AssertZext, DL, PVT, Op0, Op.getOperand(1));
1210 return DAG.getNode(ExtOpc, DL, PVT, Op);
1214 if (!TLI.isOperationLegal(ISD::ANY_EXTEND, PVT))
1216 return DAG.getNode(ISD::ANY_EXTEND, DL, PVT, Op);
1219 SDValue DAGCombiner::SExtPromoteOperand(SDValue Op, EVT PVT) {
1220 if (!TLI.isOperationLegal(ISD::SIGN_EXTEND_INREG, PVT))
1225 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1236 SDValue DAGCombiner::ZExtPromoteOperand(SDValue Op, EVT PVT) {
1240 SDValue NewOp = PromoteOperand(Op, PVT, Replace);
1267 EVT PVT = VT;
1270 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1271 assert(PVT != VT && "Don't know what type to promote to!");
1277 SDValue NN0 = PromoteOperand(N0, PVT, Replace0);
1281 SDValue NN1 = PromoteOperand(N1, PVT, Replace1);
1285 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, NN0, NN1));
1335 EVT PVT = VT;
1338 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1339 assert(PVT != VT && "Don't know what type to promote to!");
1347 N0 = SExtPromoteOperand(N0, PVT);
1349 N0 = ZExtPromoteOperand(N0, PVT);
1351 N0 = PromoteOperand(N0, PVT, Replace);
1358 DAG.getNode(ISD::TRUNCATE, DL, VT, DAG.getNode(Opc, DL, PVT, N0, N1));
1384 EVT PVT = VT;
1387 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1388 assert(PVT != VT && "Don't know what type to promote to!");
1415 EVT PVT = VT;
1418 if (TLI.IsDesirableToPromoteOp(Op, PVT)) {
1419 assert(PVT != VT && "Don't know what type to promote to!");
1427 SDValue NewLD = DAG.getExtLoad(ExtType, DL, PVT,