Lines Matching defs:VecTy

2138     Type *VecTy = I.getArgOperand(1)->getType();
2139 Info.memVT = MVT::getVT(VecTy);
2143 MaybeAlign(M.getDataLayout().getTypeAllocSizeInBits(VecTy) / 8);
2260 MVT VecTy = ty(Op);
2261 assert(!Subtarget.isHVXVectorType(VecTy, true) &&
2263 assert(VecTy.getSizeInBits() <= 64 && "Unexpected vector length");
2272 if (ty(Op0) != VecTy || ty(Op1) != VecTy)
2280 return DAG.getUNDEF(VecTy);
2288 unsigned ElemBytes = VecTy.getVectorElementType().getSizeInBits() / 8;
2323 return DAG.getBitcast(VecTy, T1);
2330 return getInstr(Hexagon::S2_vtrunehb, dl, VecTy, {Concat10}, DAG);
2332 return getInstr(Hexagon::S2_vtrunohb, dl, VecTy, {Concat10}, DAG);
2337 return getInstr(Hexagon::S2_vtrunehb, dl, VecTy, {Concat01}, DAG);
2339 return getInstr(Hexagon::S2_vtrunohb, dl, VecTy, {Concat01}, DAG);
2350 return DAG.getBitcast(VecTy, T1);
2355 return getInstr(Hexagon::S2_shuffeh, dl, VecTy, {Op1, Op0}, DAG);
2357 return getInstr(Hexagon::S2_shuffoh, dl, VecTy, {Op1, Op0}, DAG);
2359 return getInstr(Hexagon::S2_vtrunewh, dl, VecTy, {Op1, Op0}, DAG);
2361 return getInstr(Hexagon::S2_vtrunowh, dl, VecTy, {Op1, Op0}, DAG);
2364 return getInstr(Hexagon::S2_packhl, dl, VecTy, {P.second, P.first}, DAG);
2369 return getInstr(Hexagon::S2_shuffeb, dl, VecTy, {Op1, Op0}, DAG);
2371 return getInstr(Hexagon::S2_shuffob, dl, VecTy, {Op1, Op0}, DAG);
2491 MVT VecTy, SelectionDAG &DAG,
2493 MVT ElemTy = VecTy.getVectorElementType();
2521 MVT VecTy, SelectionDAG &DAG) const {
2522 MVT ElemTy = VecTy.getVectorElementType();
2523 assert(VecTy.getVectorNumElements() == Elem.size());
2526 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2534 return DAG.getUNDEF(VecTy);
2538 return getZero(dl, VecTy, DAG);
2547 return DAG.getBitcast(VecTy, DAG.getConstant(V, dl, MVT::i32));
2558 return DAG.getBitcast(VecTy, N);
2582 return DAG.getNode(ISD::SPLAT_VECTOR, dl, VecTy, Ext);
2605 dbgs() << "VecTy: " << VecTy << '\n';
2612 MVT VecTy, SelectionDAG &DAG) const {
2613 MVT ElemTy = VecTy.getVectorElementType();
2614 assert(VecTy.getVectorNumElements() == Elem.size());
2617 bool AllConst = getBuildVectorConstInts(Elem, VecTy, DAG, Consts);
2625 return DAG.getUNDEF(VecTy);
2629 return getZero(dl, VecTy, DAG);
2645 return DAG.getNode(ISD::SPLAT_VECTOR, dl, VecTy, Ext);
2657 return DAG.getBitcast(VecTy, V0);
2668 return getCombine(H, L, dl, VecTy, DAG);
2675 MVT VecTy = ty(VecV);
2677 VecTy.getVectorElementType() == ValTy.getVectorElementType());
2678 if (VecTy.getVectorElementType() == MVT::i1)
2681 unsigned VecWidth = VecTy.getSizeInBits();
2683 unsigned ElemWidth = VecTy.getVectorElementType().getSizeInBits();
2688 MVT ScalarTy = tyScalar(VecTy);
2729 MVT VecTy = ty(VecV);
2730 unsigned VecWidth = VecTy.getSizeInBits();
2732 assert(VecWidth == VecTy.getVectorNumElements() &&
2781 MVT VecTy = ty(VecV);
2782 if (VecTy.getVectorElementType() == MVT::i1)
2785 unsigned VecWidth = VecTy.getSizeInBits();
2816 return DAG.getNode(ISD::BITCAST, dl, VecTy, InsV);
2823 MVT VecTy = ty(VecV);
2824 unsigned VecLen = VecTy.getVectorNumElements();
2833 return getInstr(Hexagon::C2_tfrrp, dl, VecTy, {Ins}, DAG);
2854 return DAG.getNode(HexagonISD::D2P, dl, VecTy, Ins);
2945 MVT VecTy = ty(Op);
2946 unsigned BW = VecTy.getSizeInBits();
2953 return buildVector32(Ops, dl, VecTy, DAG);
2955 return buildVector64(Ops, dl, VecTy, DAG);
2957 if (VecTy == MVT::v8i1 || VecTy == MVT::v4i1 || VecTy == MVT::v2i1) {
2971 return DAG.getNode(HexagonISD::PFALSE, dl, VecTy);
2973 return DAG.getNode(HexagonISD::PTRUE, dl, VecTy);
2981 unsigned Rep = 8 / VecTy.getVectorNumElements();
2991 return getInstr(Hexagon::C2_tfrrp, dl, VecTy, {Rs[0]}, DAG);
3000 MVT VecTy = ty(Op);
3002 if (VecTy.getSizeInBits() == 64) {
3004 return getCombine(Op.getOperand(1), Op.getOperand(0), dl, VecTy, DAG);
3007 MVT ElemTy = VecTy.getVectorElementType();
3009 assert(VecTy == MVT::v2i1 || VecTy == MVT::v4i1 || VecTy == MVT::v8i1);
3013 unsigned Scale = VecTy.getVectorNumElements() / OpTy.getVectorNumElements();
3052 return DAG.getNode(HexagonISD::D2P, dl, VecTy, WW);