/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 868 unsigned VecLen = Mask.size(); in splitMask() local 869 assert(MaskL.size() == VecLen && MaskR.size() == VecLen); in splitMask() 870 for (unsigned I = 0; I != VecLen; ++I) { in splitMask() 874 } else if (unsigned(M) < VecLen) { in splitMask() 879 MaskR[I] = M-VecLen; in splitMask() 1059 int VecLen = SM.Mask.size(); in packs() local 1079 memcpy(NewMask.data(), SM.Mask.data(), sizeof(int)*VecLen); in packs() 1083 for (int I = 0; I != VecLen; ++I) { in packs() 1113 for (int I = 0; I != VecLen; ++I) { in packs() 1128 for (int I = 0; I != VecLen; ++I) { in packs() [all …]
|
D | HexagonISelLoweringHVX.cpp | 353 unsigned VecLen = Values.size(); in buildHvxVectorReg() local 360 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg() 367 for (unsigned i = 0; i != VecLen; i += OpsPerWord) { in buildHvxVectorReg() 399 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() 449 if (ExtLen == VecLen || ExtLen == 2*VecLen) { in buildHvxVectorReg() 475 if (ExtLen == VecLen) in buildHvxVectorReg() 596 unsigned VecLen = Values.size(); in buildHvxVectorPred() local 598 assert(VecLen <= HwLen || VecLen == 8*HwLen); in buildHvxVectorPred() 613 if (VecLen <= HwLen) { in buildHvxVectorPred() 617 assert(HwLen % VecLen == 0); in buildHvxVectorPred() [all …]
|
D | HexagonISelLowering.cpp | 1926 unsigned VecLen = VT.getVectorNumElements(); in getPreferredVectorAction() local 1929 if (VecLen == 1 || VT.isScalableVector()) in getPreferredVectorAction() 1945 if (ElemTy == MVT::i1 && VecLen == 2*HwLen) in getPreferredVectorAction() 1974 unsigned VecLen = AM.size(); in LowerVECTOR_SHUFFLE() local 1997 if (AM[F] >= int(VecLen)) { in LowerVECTOR_SHUFFLE() 2433 unsigned VecLen = VecTy.getVectorNumElements(); in insertVector() local 2434 unsigned Scale = VecLen / ValTy.getVectorNumElements(); in insertVector()
|
D | HexagonISelDAGToDAG.cpp | 777 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign() local 778 if (VecLen == 32) { in SelectVAlign() 800 assert(VecLen == 64); in SelectVAlign()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 875 unsigned VecLen = Mask.size(); in splitMask() local 876 assert(MaskL.size() == VecLen && MaskR.size() == VecLen); in splitMask() 877 for (unsigned I = 0; I != VecLen; ++I) { in splitMask() 881 } else if (unsigned(M) < VecLen) { in splitMask() 886 MaskR[I] = M-VecLen; in splitMask() 1039 int VecLen = SM.Mask.size(); in packs() local 1059 memcpy(NewMask.data(), SM.Mask.data(), sizeof(int)*VecLen); in packs() 1063 for (int I = 0; I != VecLen; ++I) { in packs() 1093 for (int I = 0; I != VecLen; ++I) { in packs() 1108 for (int I = 0; I != VecLen; ++I) { in packs() [all …]
|
D | HexagonISelLoweringHVX.cpp | 272 unsigned VecLen = VecTy.getVectorNumElements(); in getPreferredHvxVectorAction() local 276 if (ElemTy == MVT::i1 && VecLen == 2*HwLen) in getPreferredHvxVectorAction() 477 unsigned VecLen = Values.size(); in buildHvxVectorReg() local 484 assert(ElemSize*VecLen == HwLen); in buildHvxVectorReg() 491 for (unsigned i = 0; i != VecLen; i += OpsPerWord) { in buildHvxVectorReg() 525 SmallVector<ConstantInt*, 128> Consts(VecLen); in buildHvxVectorReg() 576 if (ExtLen == VecLen || ExtLen == 2*VecLen) { in buildHvxVectorReg() 602 if (ExtLen == VecLen) in buildHvxVectorReg() 726 unsigned VecLen = Values.size(); in buildHvxVectorPred() local 728 assert(VecLen <= HwLen || VecLen == 8*HwLen); in buildHvxVectorPred() [all …]
|
D | HexagonSubtarget.cpp | 187 unsigned VecLen = PowerOf2Ceil(Ty.getVectorNumElements()); in isTypeForHVX() local 188 while (ElemTy.getSizeInBits() * VecLen > 64) { in isTypeForHVX() 189 MVT SimpleTy = MVT::getVectorVT(ElemTy, VecLen); in isTypeForHVX() 192 VecLen /= 2; in isTypeForHVX()
|
D | HexagonISelLowering.cpp | 1100 unsigned VecLen = CV->getNumOperands(); in LowerConstantPool() local 1101 assert(isPowerOf2_32(VecLen) && in LowerConstantPool() 1103 for (unsigned i = 0; i < VecLen; ++i) in LowerConstantPool() 2075 unsigned VecLen = VT.getVectorNumElements(); in getPreferredVectorAction() local 2078 if (VecLen == 1 || VT.isScalableVector()) in getPreferredVectorAction() 2112 unsigned VecLen = AM.size(); in LowerVECTOR_SHUFFLE() local 2135 if (AM[F] >= int(VecLen)) { in LowerVECTOR_SHUFFLE() 2579 unsigned VecLen = VecTy.getVectorNumElements(); in insertVector() local 2580 unsigned Scale = VecLen / ValTy.getVectorNumElements(); in insertVector()
|
D | HexagonISelDAGToDAG.cpp | 777 unsigned VecLen = ResTy.getSizeInBits(); in SelectVAlign() local 778 if (VecLen == 32) { in SelectVAlign() 808 assert(VecLen == 64); in SelectVAlign()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 3893 static Value *createRdxShuffleMask(unsigned VecLen, unsigned NumEltsToRdx, in createRdxShuffleMask() argument 3899 VecLen, UndefValue::get(Builder.getInt32Ty())); in createRdxShuffleMask()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 17105 unsigned VecLen; in getIntrinsicForHexagonNonGCCBuiltin() member 17153 return {F->IntrinsicID, F->VecLen}; in getIntrinsicForHexagonNonGCCBuiltin() 17159 unsigned VecLen; in EmitHexagonBuiltinExpr() local 17160 std::tie(ID, VecLen) = getIntrinsicForHexagonNonGCCBuiltin(BuiltinID); in EmitHexagonBuiltinExpr() 17234 auto V2Q = [this, VecLen] (llvm::Value *Vec) { in EmitHexagonBuiltinExpr() 17235 Intrinsic::ID ID = VecLen == 128 ? Intrinsic::hexagon_V6_vandvrt_128B in EmitHexagonBuiltinExpr() 17240 auto Q2V = [this, VecLen] (llvm::Value *Pred) { in EmitHexagonBuiltinExpr() 17241 Intrinsic::ID ID = VecLen == 128 ? Intrinsic::hexagon_V6_vandqrt_128B in EmitHexagonBuiltinExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 6049 static Value *createRdxShuffleMask(unsigned VecLen, unsigned NumEltsToRdx, in createRdxShuffleMask() argument 6055 VecLen, UndefValue::get(Builder.getInt32Ty())); in createRdxShuffleMask()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 6386 static SmallVector<int, 32> createRdxShuffleMask(unsigned VecLen, in createRdxShuffleMask() argument 6391 SmallVector<int, 32> ShuffleMask(VecLen, -1); in createRdxShuffleMask()
|