Lines Matching refs:VecTy
670 if (auto *VecTy = dyn_cast<VectorType>(ValTy)) in getMask() local
671 return HVC.getFullValue(HVC.getBoolTy(HVC.length(VecTy))); in getMask()
1325 auto *VecTy = VectorType::get(Ty, 1, /*Scalable=*/false); in realignStoreGroup() local
1326 return Builder.CreateBitCast(Val, VecTy, "cst"); in realignStoreGroup()
1718 auto *VecTy = dyn_cast<VectorType>(Op.X.Val->getType()); in processFxpMul() local
1719 if (VecTy == nullptr) in processFxpMul()
1721 auto *ElemTy = cast<IntegerType>(VecTy->getElementType()); in processFxpMul()
1725 if ((HVC.length(VecTy) * ElemWidth) % (8 * HVC.HST.getVectorLength()) != 0) in processFxpMul()
1768 auto *ResizeTy = VectorType::get(HVC.getIntTy(Width), VecTy); in processFxpMul()
1801 ? Builder.CreateSExt(Cat, VecTy, "sxt") in processFxpMul()
1802 : Builder.CreateZExt(Cat, VecTy, "zxt"); in processFxpMul()
1941 auto VecTy = cast<VectorType>(X->getType()); in createAddCarry() local
1942 if (VecTy == HvxI32Ty && HVC.HST.useHVXV62Ops()) { in createAddCarry()
1950 CarryIn = HVC.getNullValue(HVC.getBoolTy(HVC.length(VecTy))); in createAddCarry()
1965 unsigned Width = VecTy->getScalarSizeInBits(); in createAddCarry()
2269 auto *VecTy = dyn_cast<VectorType>(Ty); in length() local
2270 assert(VecTy && "Must be a vector type"); in length()
2271 return VecTy->getElementCount().getFixedValue(); in length()
2277 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getNullValue() local
2278 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue()
2285 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in getFullValue() local
2286 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue()
2293 auto VecTy = cast<VectorType>(Ty); in getConstSplat() local
2294 Type *ElemTy = VecTy->getElementType(); in getConstSplat()
2296 auto *Splat = ConstantVector::getSplat(VecTy->getElementCount(), in getConstSplat()
2499 if (auto *VecTy = dyn_cast<VectorType>(Bytes->getType())) in vlsb() local
2500 return Builder.CreateTrunc(Bytes, getBoolTy(getSizeOf(VecTy)), "trn"); in vlsb()
2516 if (auto *VecTy = dyn_cast<VectorType>(Val->getType())) in vbytes() local
2517 return Builder.CreateSExt(Val, VectorType::get(getByteTy(), VecTy), "sxt"); in vbytes()
2641 auto *VecTy = cast<VectorType>(Vec->getType()); in splitVectorElements() local
2642 assert(VecTy->getElementType()->isIntegerTy()); in splitVectorElements()
2643 unsigned FromWidth = VecTy->getScalarSizeInBits(); in splitVectorElements()
2650 unsigned Length = length(VecTy); in splitVectorElements()
2918 if (auto *VecTy = dyn_cast<VectorType>(Ty)) in isByteVecTy() local
2919 return VecTy->getElementType() == getByteTy(); in isByteVecTy()