Lines Matching defs:ResTy
481 EVT ResTy = Op->getValueType(0);
485 EVT NewVT = ResTy.is128BitVector() ? MVT::v2i64 : MVT::v4i64;
486 unsigned int OrigEltNum = ResTy.getVectorNumElements();
495 unsigned RevOp = (ResTy == MVT::v16i8 || ResTy == MVT::v32i8)
501 DAG.getNode(ISD::BITCAST, DL, ResTy, DAG.getBuildVector(NewVT, DL, Ops));
503 switch (ResTy.getSimpleVT().SimpleTy) {
517 return DAG.getVectorShuffle(ResTy, DL, Res, DAG.getUNDEF(ResTy), Mask);
1465 EVT ResTy = Op->getValueType(0);
1470 bool Is128Vec = ResTy.is128BitVector();
1471 bool Is256Vec = ResTy.is256BitVector();
1508 if (ViaVecTy != ResTy)
1509 Result = DAG.getNode(ISD::BITCAST, SDLoc(Node), ResTy, Result);
1521 EVT ResTy = Node->getValueType(0);
1523 assert(ResTy.isVector());
1525 unsigned NumElts = ResTy.getVectorNumElements();
1526 SDValue Vector = DAG.getUNDEF(ResTy);
1528 Vector = DAG.getNode(ISD::INSERT_VECTOR_ELT, DL, ResTy, Vector,
3816 EVT ResTy = Node->getValueType(0);
3824 return DAG.getNode(ISD::UNDEF, DL, ResTy);
3827 APInt(ResTy.getScalarType().getSizeInBits(),
3829 DL, ResTy);
3834 EVT ResTy = Node->getValueType(0);
3836 SDValue Mask = DAG.getConstant(Vec.getScalarValueSizeInBits() - 1, DL, ResTy);
3837 return DAG.getNode(ISD::AND, DL, ResTy, Vec, Mask);
3842 EVT ResTy = Node->getValueType(0);
3843 SDValue One = DAG.getConstant(1, DL, ResTy);
3845 DAG.getNode(ISD::SHL, DL, ResTy, One, truncateVecElts(Node, DAG));
3847 return DAG.getNode(ISD::AND, DL, ResTy, Node->getOperand(1),
3848 DAG.getNOT(DL, Bit, ResTy));
3854 EVT ResTy = Node->getValueType(0);
3860 return DAG.getNode(ISD::UNDEF, DL, ResTy);
3863 APInt BitImm = APInt(ResTy.getScalarSizeInBits(), 1) << CImm->getAPIntValue();
3864 SDValue Mask = DAG.getConstant(~BitImm, DL, ResTy);
3866 return DAG.getNode(ISD::AND, DL, ResTy, Node->getOperand(1), Mask);
3872 EVT ResTy = Node->getValueType(0);
3878 return DAG.getNode(ISD::UNDEF, DL, ResTy);
3881 APInt Imm = APInt(ResTy.getScalarSizeInBits(), 1) << CImm->getAPIntValue();
3882 SDValue BitImm = DAG.getConstant(Imm, DL, ResTy);
3883 return DAG.getNode(ISD::OR, DL, ResTy, Node->getOperand(1), BitImm);
3889 EVT ResTy = Node->getValueType(0);
3895 return DAG.getNode(ISD::UNDEF, DL, ResTy);
3898 APInt Imm = APInt(ResTy.getScalarSizeInBits(), 1) << CImm->getAPIntValue();
3899 SDValue BitImm = DAG.getConstant(Imm, DL, ResTy);
3900 return DAG.getNode(ISD::XOR, DL, ResTy, Node->getOperand(1), BitImm);
4064 EVT ResTy = N->getValueType(0);
4065 return DAG.getNode(ISD::ADD, SDLoc(N), ResTy, N->getOperand(1),
4066 DAG.getNode(ISD::MUL, SDLoc(N), ResTy, N->getOperand(2),
4077 EVT ResTy = N->getValueType(0);
4078 return DAG.getNode(ISD::SUB, SDLoc(N), ResTy, N->getOperand(1),
4079 DAG.getNode(ISD::MUL, SDLoc(N), ResTy, N->getOperand(2),