Lines Matching defs:VecTy
2128 Type *VecTy = I.getArgOperand(1)->getType();
2129 Info.memVT = MVT::getVT(VecTy);
2133 MaybeAlign(M.getDataLayout().getTypeAllocSizeInBits(VecTy) / 8);
2250 MVT VecTy = ty(Op);
2251 assert(!Subtarget.isHVXVectorType(VecTy, true) &&
2253 assert(VecTy.getSizeInBits() <= 64 && "Unexpected vector length");
2262 if (ty(Op0) != VecTy || ty(Op1) != VecTy)
2270 return DAG.getUNDEF(VecTy);
2278 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8;
2313 return DAG.getBitcast(VecTy, T1);
2320 return getInstr(Hexagon::S2_vtrunehb, dl, VecTy, {Concat10}, DAG);
2322 return getInstr(Hexagon::S2_vtrunohb, dl, VecTy, {Concat10}, DAG);
2327 return getInstr(Hexagon::S2_vtrunehb, dl, VecTy, {Concat01}, DAG);
2329 return getInstr(Hexagon::S2_vtrunohb, dl, VecTy, {Concat01}, DAG);
2340 return DAG.getBitcast(VecTy, T1);
2345 return getInstr(Hexagon::S2_shuffeh, dl, VecTy, {Op1, Op0}, DAG);
2347 return getInstr(Hexagon::S2_shuffoh, dl, VecTy, {Op1, Op0}, DAG);
2349 return getInstr(Hexagon::S2_vtrunewh, dl, VecTy, {Op1, Op0}, DAG);
2351 return getInstr(Hexagon::S2_vtrunowh, dl, VecTy, {Op1, Op0}, DAG);
2354 return getInstr(Hexagon::S2_packhl, dl, VecTy, {P.second, P.first}, DAG);
2359 return getInstr(Hexagon::S2_shuffeb, dl, VecTy, {Op1, Op0}, DAG);
2361 return getInstr(Hexagon::S2_shuffob, dl, VecTy, {Op1, Op0}, DAG);
2481 MVT VecTy, SelectionDAG &DAG,
2483 MVT ElemTy = VecTy.getVectorElementType();
2511 MVT VecTy, SelectionDAG &DAG) const {
2512 MVT ElemTy = VecTy.getVectorElementType();
2513 assert(VecTy.getVectorNumElements() == Elem.size());
2516 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2524 return DAG.getUNDEF(VecTy);
2528 return getZero(dl, VecTy, DAG);
2537 return DAG.getBitcast(VecTy, DAG.getConstant(V, dl, MVT::i32));
2548 return DAG.getBitcast(VecTy, N);
2572 return DAG.getNode(ISD::SPLAT_VECTOR, dl, VecTy, Ext);
2595 dbgs() << "VecTy: " << VecTy << '\n';
2602 MVT VecTy, SelectionDAG &DAG) const {
2603 MVT ElemTy = VecTy.getVectorElementType();
2604 assert(VecTy.getVectorNumElements() == Elem.size());
2607 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2615 return DAG.getUNDEF(VecTy);
2619 return getZero(dl, VecTy, DAG);
2635 return DAG.getNode(ISD::SPLAT_VECTOR, dl, VecTy, Ext);
2647 return DAG.getBitcast(VecTy, V0);
2658 return getCombine(H, L, dl, VecTy, DAG);
2665 MVT VecTy = ty(VecV);
2667 VecTy.getVectorElementType() == ValTy.getVectorElementType());
2668 if (VecTy.getVectorElementType() == MVT::i1)
2671 unsigned VecWidth = VecTy.getSizeInBits();
2673 unsigned ElemWidth = VecTy.getVectorElementType().getSizeInBits();
2678 MVT ScalarTy = tyScalar(VecTy);
2719 MVT VecTy = ty(VecV);
2720 unsigned VecWidth = VecTy.getSizeInBits();
2722 assert(VecWidth == VecTy.getVectorNumElements() &&
2771 MVT VecTy = ty(VecV);
2772 if (VecTy.getVectorElementType() == MVT::i1)
2775 unsigned VecWidth = VecTy.getSizeInBits();
2806 return DAG.getNode(ISD::BITCAST, dl, VecTy, InsV);
2813 MVT VecTy = ty(VecV);
2814 unsigned VecLen = VecTy.getVectorNumElements();
2823 return getInstr(Hexagon::C2_tfrrp, dl, VecTy, {Ins}, DAG);
2844 return DAG.getNode(HexagonISD::D2P, dl, VecTy, Ins);
2935 MVT VecTy = ty(Op);
2936 unsigned BW = VecTy.getSizeInBits();
2943 return buildVector32(Ops, dl, VecTy, DAG);
2945 return buildVector64(Ops, dl, VecTy, DAG);
2947 if (VecTy == MVT::v8i1 || VecTy == MVT::v4i1 || VecTy == MVT::v2i1) {
2961 return DAG.getNode(HexagonISD::PFALSE, dl, VecTy);
2963 return DAG.getNode(HexagonISD::PTRUE, dl, VecTy);
2971 unsigned Rep = 8 / VecTy.getVectorNumElements();
2981 return getInstr(Hexagon::C2_tfrrp, dl, VecTy, {Rs[0]}, DAG);
2990 MVT VecTy = ty(Op);
2992 if (VecTy.getSizeInBits() == 64) {
2994 return getCombine(Op.getOperand(1), Op.getOperand(0), dl, VecTy, DAG);
2997 MVT ElemTy = VecTy.getVectorElementType();
2999 assert(VecTy == MVT::v2i1 || VecTy == MVT::v4i1 || VecTy == MVT::v8i1);
3003 unsigned Scale = VecTy.getVectorNumElements() / OpTy.getVectorNumElements();
3042 return DAG.getNode(HexagonISD::D2P, dl, VecTy, WW);