Home
last modified time | relevance | path

Searched refs:VecLen (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1003 unsigned VecLen = Mask.size(); in splitMask() local
1004 assert(MaskL.size() == VecLen && MaskR.size() == VecLen); in splitMask()
1005 for (unsigned I = 0; I != VecLen; ++I) { in splitMask()
1009 } else if (unsigned(M) < VecLen) { in splitMask()
1014 MaskR[I] = M-VecLen; in splitMask()
1236 auto VecLen = static_cast<int>(HwLen); in funnels() local
1240 if (Amount == VecLen) in funnels()
1247 Amount += VecLen; in funnels()
1248 if (Amount > VecLen) { in funnels()
1290 unsigned VecLen = SM.Mask.size(); packs() local
1565 unsigned VecLen = SM.Mask.size(); shuffs1() local
1616 int VecLen = SM.Mask.size(); shuffs2() local
1643 int VecLen = SM.Mask.size(); shuffp1() local
1690 int VecLen = SM.Mask.size(); shuffp2() local
1853 unsigned VecLen = Mask.size(); scalarizeShuffle() local
2088 int VecLen = SM.Mask.size(); contracting() local
2190 int VecLen = SM.Mask.size(); expanding() local
2240 int VecLen = SM.Mask.size(); perfect() local
2442 if (unsigned(VecLen) == HwLen) { perfect() local
2522 int VecLen = SM.Mask.size(); butterfly() local
2609 unsigned VecLen = Mask.size(); selectShuffle() local
[all...]
H A DHexagonISelLoweringHVX.cpp445 unsigned VecLen = VecTy.getVectorNumElements(); in getPreferredHvxVectorAction() local
449 if (ElemTy == MVT::i1 && VecLen > HwLen) in getPreferredHvxVectorAction()
458 auto A = getPreferredHvxVectorAction(MVT::getVectorVT(T, VecLen)); in getPreferredHvxVectorAction()
783 unsigned VecLen = Values.size(); in buildHvxVectorReg() local
790 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg()
799 for (unsigned i = 0; i != VecLen; i += OpsPerWord) { in buildHvxVectorReg()
841 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg()
892 if (ExtLen == VecLen || ExtLen == 2*VecLen) { in buildHvxVectorReg()
918 return ExtLen == VecLen in buildHvxVectorReg()
1084 unsigned VecLen = Values.size(); buildHvxVectorPred() local
1455 unsigned VecLen = VecTy.getVectorNumElements(); insertHvxSubvectorPred() local
2053 unsigned VecLen = ResTy.getVectorNumElements(); LowerHvxSelect() local
[all...]
H A DHexagonSubtarget.cpp235 unsigned VecLen = PowerOf2Ceil(Ty.getVectorNumElements()); in isTypeForHVX() local
236 while (VecLen > 1) { in isTypeForHVX()
237 MVT SimpleTy = MVT::getVectorVT(ElemTy, VecLen); in isTypeForHVX()
240 VecLen /= 2; in isTypeForHVX()
H A DHexagonVectorCombine.cpp1781 unsigned VecLen = HVC.length(ResizeTy); in processFxpMul() local
1788 for (unsigned V = 0; V != VecLen / ChopLen; ++V) { in processFxpMul()
2341 int VecLen = getSizeOf(Hi); in vlalignb() local
2343 return getElementRange(Builder, Lo, Hi, VecLen - IntAmt->getSExtValue(), in vlalignb()
2344 VecLen); in vlalignb()
2347 assert(static_cast<unsigned>(VecLen) == HST.getVectorLength() && in vlalignb()
2353 if (VecLen == 4) { in vlalignb()
2361 if (VecLen == 8) { in vlalignb()
2362 Value *Sub = Builder.CreateSub(getConstInt(VecLen), Amt, "sub"); in vlalignb()
2373 int VecLen = getSizeOf(Lo); in vralignb() local
[all …]
H A DHexagonISelLowering.cpp1139 unsigned VecLen = CV->getNumOperands(); in LowerConstantPool() local
1140 assert(isPowerOf2_32(VecLen) && in LowerConstantPool()
1142 for (unsigned i = 0; i < VecLen; ++i) in LowerConstantPool()
2206 unsigned VecLen = VT.getVectorMinNumElements(); in getPreferredVectorAction() local
2209 if (VecLen == 1 || VT.isScalableVector()) in getPreferredVectorAction()
2224 if (!isPowerOf2_32(VecLen)) in getPreferredVectorAction()
2258 unsigned VecLen = AM.size(); in LowerVECTOR_SHUFFLE() local
2281 if (AM[F] >= int(VecLen)) { in LowerVECTOR_SHUFFLE()
2824 unsigned VecLen = VecTy.getVectorNumElements(); in insertVectorPred() local
2829 SDValue Width = DAG.getConstant(8 / VecLen, dl, MVT::i32); in insertVectorPred()
[all …]
H A DHexagonISelDAGToDAG.cpp805 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign() local
806 if (VecLen == 32) { in SelectVAlign()
836 assert(VecLen == 64); in SelectVAlign()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp391 Value *VecLen = Builder.CreateIntrinsic(Intrinsic::vscale, {I64Type}, {}); in createMaskedFindMismatch() local
392 VecLen = in createMaskedFindMismatch()
393 Builder.CreateMul(VecLen, ConstantInt::get(I64Type, ByteCompareVF), "", in createMaskedFindMismatch()
442 Builder.CreateAdd(VectorIndexPhi, VecLen, "", in createMaskedFindMismatch()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp21610 unsigned VecLen; in getIntrinsicForHexagonNonClangBuiltin() member
21658 return {F->IntrinsicID, F->VecLen}; in getIntrinsicForHexagonNonClangBuiltin()
21664 unsigned VecLen; in EmitHexagonBuiltinExpr() local
21665 std::tie(ID, VecLen) = getIntrinsicForHexagonNonClangBuiltin(BuiltinID); in EmitHexagonBuiltinExpr()
21733 auto V2Q = [this, VecLen] (llvm::Value *Vec) { in EmitHexagonBuiltinExpr()
21734 Intrinsic::ID ID = VecLen == 128 ? Intrinsic::hexagon_V6_vandvrt_128B in EmitHexagonBuiltinExpr()
21739 auto Q2V = [this, VecLen] (llvm::Value *Pred) { in EmitHexagonBuiltinExpr()
21740 Intrinsic::ID ID = VecLen == 128 ? Intrinsic::hexagon_V6_vandqrt_128B in EmitHexagonBuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp11742 SDValue VecLen = in lowerVPReverseExperimental() local
11745 DAG.getUNDEF(IndicesVT), VecLen, EVL); in lowerVPReverseExperimental()