Lines Matching refs:ty
541 if (ty(Vec).getVectorElementType() == ElemTy) in opCastElem()
550 return DAG.getNode(ISD::CONCAT_VECTORS, dl, typeJoin(ty(Ops)), in opJoin()
557 TypePair Tys = typeSplit(ty(Vec)); in opSplit()
740 if (ty(Idx) != MVT::i32) in getIndexInWord32()
752 MVT OpTy = ty(Op0); in getByteShuffle()
753 assert(OpTy == ty(Op1)); in getByteShuffle()
890 MVT ExtTy = ty(ExtVec); in buildHvxVectorReg()
985 SDValue DstV = DAG.getNode(ISD::OR, dl, ty(T0), {T0, T1}); in buildHvxVectorReg()
988 DAG.getBitcast(tyVector(ty(DstV), VecTy.getVectorElementType()), DstV); in buildHvxVectorReg()
995 MVT PredTy = ty(PredV); in createHvxPrefixPred()
1153 MVT ElemTy = ty(VecV).getVectorElementType(); in extractHvxElementReg()
1170 SDValue ExVec = DAG.getBitcast(tyVector(ty(ExWord), ElemTy), ExWord); in extractHvxElementReg()
1184 unsigned Scale = HwLen / ty(VecV).getVectorNumElements(); in extractHvxElementPred()
1196 MVT ElemTy = ty(VecV).getVectorElementType(); in insertHvxElementReg()
1204 MVT VecTy = ty(VecV); in insertHvxElementReg()
1230 MVT SubVecTy = tyVector(ty(Ext), ElemTy); in insertHvxElementReg()
1245 unsigned Scale = HwLen / ty(VecV).getVectorNumElements(); in insertHvxElementPred()
1251 return DAG.getNode(HexagonISD::V2Q, dl, ty(VecV), InsV); in insertHvxElementPred()
1257 MVT VecTy = ty(VecV); in extractHvxSubvectorReg()
1297 MVT VecTy = ty(VecV); in extractHvxSubvectorPred()
1361 MVT VecTy = ty(VecV); in insertHvxSubvectorReg()
1362 MVT SubTy = ty(SubV); in insertHvxSubvectorReg()
1448 MVT VecTy = ty(VecV); in insertHvxSubvectorPred()
1449 MVT SubTy = ty(SubV); in insertHvxSubvectorPred()
1501 assert(ty(VecV).getVectorNumElements() == ResTy.getVectorNumElements()); in extendHvxVectorPred()
1519 MVT PredTy = ty(VecQ); in compressHvxPred()
1569 MVT InpTy = ty(VecV); in resizeToWidth()
1596 assert(ty(Vec).getSizeInBits() % SubTy.getSizeInBits() == 0); in extractSubvector()
1608 MVT VecTy = ty(Op); in LowerHvxBuildVector()
1649 MVT VecTy = ty(Op); in LowerHvxSplatVector()
1650 MVT ArgTy = ty(Op.getOperand(0)); in LowerHvxSplatVector()
1669 MVT VecTy = ty(Op); in LowerHvxConcatVectors()
1686 MVT Ty = ty(V); in LowerHvxConcatVectors()
1723 if (Subtarget.isHVXVectorType(ty(Op0), true)) { in LowerHvxConcatVectors()
1749 unsigned InpLen = ty(Op.getOperand(0)).getVectorNumElements(); in LowerHvxConcatVectors()
1765 MVT ElemTy = ty(VecV).getVectorElementType(); in LowerHvxExtractElement()
1769 return extractHvxElementPred(VecV, IdxV, dl, ty(Op), DAG); in LowerHvxExtractElement()
1771 return extractHvxElementReg(VecV, IdxV, dl, ty(Op), DAG); in LowerHvxExtractElement()
1778 MVT VecTy = ty(Op); in LowerHvxInsertElement()
1782 MVT ElemTy = ty(VecV).getVectorElementType(); in LowerHvxInsertElement()
1801 MVT SrcTy = ty(SrcV); in LowerHvxExtractSubvector()
1802 MVT DstTy = ty(Op); in LowerHvxExtractSubvector()
1825 MVT VecTy = ty(VecV); in LowerHvxInsertSubvector()
1839 MVT ResTy = ty(Op); in LowerHvxAnyExt()
1841 MVT ElemTy = ty(InpV).getVectorElementType(); in LowerHvxAnyExt()
1849 MVT ResTy = ty(Op); in LowerHvxSignExt()
1851 MVT ElemTy = ty(InpV).getVectorElementType(); in LowerHvxSignExt()
1853 return extendHvxVectorPred(InpV, SDLoc(Op), ty(Op), false, DAG); in LowerHvxSignExt()
1859 MVT ResTy = ty(Op); in LowerHvxZeroExt()
1861 MVT ElemTy = ty(InpV).getVectorElementType(); in LowerHvxZeroExt()
1863 return extendHvxVectorPred(InpV, SDLoc(Op), ty(Op), true, DAG); in LowerHvxZeroExt()
1872 MVT ResTy = ty(Op); in LowerHvxCttz()
1874 assert(ResTy == ty(InpV)); in LowerHvxCttz()
1877 MVT ElemTy = ty(InpV).getVectorElementType(); in LowerHvxCttz()
1900 MVT ResTy = ty(Op); in LowerHvxMulh()
1931 SDValue Hi = DAG.getUNDEF(ty(HiVal)); in LowerHvxMulLoHi()
1932 SDValue Lo = DAG.getNode(ISD::MUL, dl, ty(Op), {Vu, Vv}); in LowerHvxMulLoHi()
1949 SDValue Lo = DAG.getUNDEF(ty(LoVal)); in LowerHvxMulLoHi()
1960 MVT ResTy = ty(Op); in LowerHvxBitcast()
1961 MVT ValTy = ty(Val); in LowerHvxBitcast()
2040 return DAG.getNode(ISD::ZERO_EXTEND_VECTOR_INREG, SDLoc(Op), ty(Op), in LowerHvxExtend()
2046 MVT ResTy = ty(Op); in LowerHvxSelect()
2083 MVT InpTy = ty(A); in LowerHvxFunnelShift()
2123 return DAG.getNode(MOpc, dl, ty(Op), in LowerHvxFunnelShift()
2140 MVT ResTy = ty(Op), InpTy = ty(Ops[1]); in LowerHvxIntrinsic()
2181 MVT ValTy = ty(Op); in LowerHvxMaskedOp()
2196 SDValue Offset0 = DAG.getTargetConstant(0, dl, ty(Base)); in LowerHvxMaskedOp()
2207 SDValue Z = getZero(dl, ty(V), DAG); in LowerHvxMaskedOp()
2211 SDValue LoV = getInstr(Hexagon::V6_vlalignb, dl, ty(V), {V, Z, A}, DAG); in LowerHvxMaskedOp()
2212 SDValue HiV = getInstr(Hexagon::V6_vlalignb, dl, ty(V), {Z, V, A}, DAG); in LowerHvxMaskedOp()
2244 MVT VecTy = ty(Op); in LowerHvxFpExtend()
2245 MVT ArgTy = ty(Op.getOperand(0)); in LowerHvxFpExtend()
2278 MVT ResTy = ty(Op); in LowerHvxFpToInt()
2279 MVT FpTy = ty(Op.getOperand(0)).getVectorElementType(); in LowerHvxFpToInt()
2305 MVT ResTy = ty(Op); in LowerHvxIntToFp()
2306 MVT IntTy = ty(Op.getOperand(0)).getVectorElementType(); in LowerHvxIntToFp()
2402 MVT ResTy = ty(A); in emitHvxAddWithOverflow()
2403 assert(ResTy == ty(B)); in emitHvxAddWithOverflow()
2435 MVT ValTy = ty(Val); in emitHvxShiftRightRnd()
2479 MVT VecTy = ty(A); in emitHvxMulHsV60()
2537 MVT VecTy = ty(A); in emitHvxMulLoHiV60()
2614 MVT VecTy = ty(A); in emitHvxMulLoHiV62()
2680 MVT InpTy = ty(Inp); in EqualizeFpIntConversion()
2681 MVT ResTy = ty(Op); in EqualizeFpIntConversion()
2703 MVT InpTy = ty(Op0); in ExpandHvxFpToInt()
2704 MVT ResTy = ty(Op); in ExpandHvxFpToInt()
2832 MVT InpTy = ty(Op0); in ExpandHvxIntToFp()
2833 MVT ResTy = ty(Op); in ExpandHvxIntToFp()
2916 return DAG.getNode(TLOpc, dl, ty(Op), Op.getOperand(0), in CreateTLWrapper()
2926 return DAG.getNode(Opc, SDLoc(Op), ty(Op), Op.getOperand(0)); in RemoveTLWrapper()
2943 ty(A).isVector() ? opSplit(A, dl, DAG) : std::make_pair(A, A); in SplitVectorOp()
2957 MVT ResTy = ty(Op); in SplitVectorOp()
3058 MVT ResTy = ty(Op); in WidenHvxLoad()
3091 MVT ValueTy = ty(Value); in WidenHvxStore()
3097 Value = opJoin({Value, DAG.getUNDEF(ty(Value))}, dl, DAG); in WidenHvxStore()
3098 Len = ty(Value).getVectorNumElements(); // This is Len *= 2 in WidenHvxStore()
3100 assert(ty(Value).getVectorNumElements() == HwLen); // Paranoia in WidenHvxStore()
3108 return DAG.getMaskedStore(Chain, dl, Value, Base, Offset, Mask, ty(Value), in WidenHvxStore()
3116 MVT ElemTy = ty(Op0).getVectorElementType(); in WidenHvxSetCC()
3132 EVT RetTy = typeLegalize(ty(Op), DAG); in WidenHvxSetCC()
3140 bool IsPairOp = isHvxPairTy(ty(Op)) || in LowerHvxOperation()
3142 return isHvxPairTy(ty(V)); in LowerHvxOperation()
3158 if (ty(Op).getSizeInBits() == ty(Op.getOperand(0)).getSizeInBits()) in LowerHvxOperation()
3194 if (ty(Op.getOperand(0)).getVectorElementType() == MVT::i1) in LowerHvxOperation()
3279 MVT InpTy = ty(Inp); in ExpandHvxResizeIntoSteps()
3280 MVT ResTy = ty(Op); in ExpandHvxResizeIntoSteps()
3324 MVT InpTy = ty(Inp0); in LegalizeHvxResize()
3325 MVT ResTy = ty(Op); in LegalizeHvxResize()
3371 if (Subtarget.isHVXElementType(ty(Op)) && in LowerHvxOperationWrapper()
3372 Subtarget.isHVXElementType(ty(Inp0))) { in LowerHvxOperationWrapper()
3377 if (shouldWidenToHvx(ty(Inp0), DAG)) { in LowerHvxOperationWrapper()
3383 if (shouldWidenToHvx(ty(cast<StoreSDNode>(N)->getValue()), DAG)) { in LowerHvxOperationWrapper()
3390 if (isHvxPairTy(ty(Op))) { in LowerHvxOperationWrapper()
3398 if (isHvxPairTy(ty(Op->getOperand(1)))) { // Stored value in LowerHvxOperationWrapper()
3407 if (ty(Op).getSizeInBits() != ty(Inp0).getSizeInBits()) { in LowerHvxOperationWrapper()
3437 if (Subtarget.isHVXElementType(ty(Op)) && in ReplaceHvxNodeResults()
3438 Subtarget.isHVXElementType(ty(Inp0))) { in ReplaceHvxNodeResults()
3443 if (shouldWidenToHvx(ty(Op), DAG)) { in ReplaceHvxNodeResults()
3449 if (shouldWidenToHvx(ty(Op), DAG)) { in ReplaceHvxNodeResults()
3458 if (isHvxBoolTy(ty(Inp0))) { in ReplaceHvxNodeResults()
3465 if (ty(Op).getSizeInBits() != ty(Inp0).getSizeInBits()) { in ReplaceHvxNodeResults()
3609 return DAG.getNode(ISD::VSELECT, dl, ty(Op), C0, Ops[2], Ops[1]); in PerformHvxDAGCombine()
3616 return C->isZero() ? DAG.getNode(HexagonISD::QFALSE, dl, ty(Op)) in PerformHvxDAGCombine()
3617 : DAG.getNode(HexagonISD::QTRUE, dl, ty(Op)); in PerformHvxDAGCombine()
3622 return DAG.getNode(ISD::SPLAT_VECTOR, dl, ty(Op), in PerformHvxDAGCombine()
3625 return getZero(dl, ty(Op), DAG); in PerformHvxDAGCombine()
3635 SDValue Rot = DAG.getNode(ISD::ADD, dl, ty(Rot0), {Rot0, Rot1}); in PerformHvxDAGCombine()
3636 return DAG.getNode(HexagonISD::VROR, dl, ty(Op), {Vec, Rot}); in PerformHvxDAGCombine()
3676 Subtarget.isHVXVectorType(ty(Op), true); in isHvxOperation()
3685 MVT ValTy = ty(Op); in isHvxOperation()