/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 554 NElts = (NElts + 1) / 2; in getArithmeticInstrCost() 569 NElts = (NElts + 1) / 2; in getArithmeticInstrCost() 580 NElts = (NElts + 1) / 2; in getArithmeticInstrCost() 610 NElts = (NElts + 1) / 2; in getArithmeticInstrCost() 615 NElts = (NElts + 1) / 2; in getArithmeticInstrCost() 632 return LT.first * Cost * NElts; in getArithmeticInstrCost() 651 return LT.first * Cost * NElts; in getArithmeticInstrCost() 660 return LT.first * Cost * NElts; in getArithmeticInstrCost() 673 return LT.first * NElts * Cost; in getArithmeticInstrCost() 729 NElts = (NElts + 1) / 2; in getIntrinsicInstrCost() [all …]
|
H A D | R600ISelLowering.cpp | 1791 unsigned NElts = VT.getVectorNumElements(); in PerformDAGCombine() local 1792 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType())); in PerformDAGCombine()
|
H A D | AMDGPUISelLowering.cpp | 3625 unsigned NElts = VT.getVectorNumElements(); in LowerSIGN_EXTEND_INREG() local 3627 DAG.ExtractVectorElements(Src, Args, 0, NElts); in LowerSIGN_EXTEND_INREG() 3630 for (unsigned I = 0; I < NElts; ++I) in LowerSIGN_EXTEND_INREG() 5012 unsigned NElts = DestVT.getVectorNumElements(); in PerformDAGCombine() local 5014 if (SrcVT.getVectorNumElements() == NElts) { in PerformDAGCombine()
|
H A D | SIInstrInfo.cpp | 3270 int NElts = DstSize / 32; in insertSelect() local 3275 if (NElts % 2) { in insertSelect() 3282 NElts /= 2; in insertSelect() 3292 for (int Idx = 0; Idx != NElts; ++Idx) { in insertSelect()
|
H A D | AMDGPULegalizerInfo.cpp | 57 unsigned NElts = Ty.getNumElements(); in getPow2VectorType() local 58 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts); in getPow2VectorType()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 449 unsigned NElts = getVectorMinNumElements(); in isPow2VectorType() local 450 return !(NElts & (NElts - 1)); in isPow2VectorType() 457 ElementCount NElts = getVectorElementCount(); in getPow2VectorType() local 458 unsigned NewMinCount = 1 << Log2_32_Ceil(NElts.getKnownMinValue()); in getPow2VectorType() 459 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType() 460 return EVT::getVectorVT(Context, getVectorElementType(), NElts); in getPow2VectorType()
|
H A D | MachineValueType.h | 238 unsigned NElts = getVectorMinNumElements(); in isPow2VectorType() local 239 return !(NElts & (NElts - 1)); in isPow2VectorType() 248 ElementCount NElts = getVectorElementCount(); in getPow2VectorType() local 249 unsigned NewMinCount = 1 << Log2_32_Ceil(NElts.getKnownMinValue()); in getPow2VectorType() 250 NElts = ElementCount::get(NewMinCount, NElts.isScalable()); in getPow2VectorType() 251 return MVT::getVectorVT(getVectorElementType(), NElts); in getPow2VectorType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ShuffleDecode.cpp | 60 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVHLPSMask() argument 61 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask() 62 ShuffleMask.push_back(NElts + i); in DecodeMOVHLPSMask() 64 for (unsigned i = NElts / 2; i != NElts; ++i) in DecodeMOVHLPSMask() 69 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { in DecodeMOVLHPSMask() argument 70 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask() 73 for (unsigned i = 0; i != NElts / 2; ++i) in DecodeMOVLHPSMask() 74 ShuffleMask.push_back(NElts + i); in DecodeMOVLHPSMask()
|
H A D | X86ShuffleDecode.h | 40 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 44 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCVSXSwapRemoval.cpp | 850 unsigned NElts; in handleSpecialSwappables() local 858 case PPC::VSPLTB: NElts = 16; break; in handleSpecialSwappables() 859 case PPC::VSPLTH: NElts = 8; break; in handleSpecialSwappables() 861 case PPC::XXSPLTW: NElts = 4; break; in handleSpecialSwappables() 870 EltNo = (EltNo + NElts / 2) % NElts; in handleSpecialSwappables()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1619 auto NElts = End - Start; 1620 if (NElts <= 1) return; 1624 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start)); 1635 auto NElts = End - Start; 1636 if (NElts <= 1) return; 1640 qsort(&*Start, NElts, sizeof(*Start),
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 7106 unsigned NElts = VTy->getNumElements(); in visitVector() local 7145 for (unsigned I = 0; I < NElts; ++I) { in visitVector() 7160 for (unsigned I = 0; I < NElts; ++I) { in visitVector() 7380 unsigned NElts = VTy->getNumElements(); in visit() local 7407 Elts.reserve(NElts); in visit() 7420 Bytes.reserve(NElts / 8); in visit() 7424 APSInt SValInt(NElts, true); in visit() 7427 for (unsigned I = 0; I < NElts; ++I) { in visit() 7437 for (unsigned I = 0; I < NElts; ++I) { in visit() 10664 unsigned NElts = VTy->getNumElements(); in VisitCastExpr() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 2061 int NElts = Mask.size(); in getVectorShuffle() local 2072 for (int i = 0; i != NElts; ++i) in getVectorShuffle() 2073 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; in getVectorShuffle() 2089 for (int i = 0; i < NElts; ++i) { in getVectorShuffle() 2107 BlendSplat(N2BV, NElts); in getVectorShuffle() 2114 for (int i = 0; i != NElts; ++i) { in getVectorShuffle() 2115 if (MaskVec[i] >= NElts) { in getVectorShuffle() 2140 for (int i = 0; i != NElts; ++i) { in getVectorShuffle() 2144 if (Identity && NElts) in getVectorShuffle() 2194 for (int i = 0; i != NElts; ++i) in getVectorShuffle() [all …]
|
H A D | TargetLowering.cpp | 9785 unsigned NElts = VecVT.getVectorMinNumElements(); in clampDynamicVectorIndex() local 9794 if (IdxCst->getZExtValue() + (NumSubElts - 1) < NElts) in clampDynamicVectorIndex() 9797 DAG.getVScale(dl, IdxVT, APInt(IdxVT.getFixedSizeInBits(), NElts)); in clampDynamicVectorIndex() 9798 unsigned SubOpcode = NumSubElts <= NElts ? ISD::SUB : ISD::USUBSAT; in clampDynamicVectorIndex() 9803 if (isPowerOf2_32(NElts) && NumSubElts == 1) { in clampDynamicVectorIndex() 9804 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(), Log2_32(NElts)); in clampDynamicVectorIndex() 9808 unsigned MaxIndex = NumSubElts < NElts ? NElts - NumSubElts : 0; in clampDynamicVectorIndex()
|
H A D | LegalizeIntegerTypes.cpp | 5572 unsigned NElts = NInVT.getVectorMinNumElements(); in PromoteIntRes_EXTRACT_SUBVECTOR() local 5576 DAG.getConstant(alignDown(IdxVal, NElts), dl, in PromoteIntRes_EXTRACT_SUBVECTOR() 5580 DAG.getConstant(IdxVal % NElts, dl, BaseIdx.getValueType())); in PromoteIntRes_EXTRACT_SUBVECTOR()
|
H A D | LegalizeDAG.cpp | 5547 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I) in PromoteNode() local
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 2424 unsigned NElts = Mask.size(); in getShuffleVector() local 2428 Type *ShufTy = VectorType::get(EltTy, NElts, TypeIsScalable); in getShuffleVector()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3955 unsigned NElts = VecTy.getNumElements(); in clampDynamicVectorIndex() local 3956 if (isPowerOf2_32(NElts)) { in clampDynamicVectorIndex() 3957 APInt Imm = APInt::getLowBitsSet(IdxTy.getSizeInBits(), Log2_32(NElts)); in clampDynamicVectorIndex() 3961 return B.buildUMin(IdxTy, IdxReg, B.buildConstant(IdxTy, NElts - 1)) in clampDynamicVectorIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 6371 unsigned NElts; in canReuseExtract() local 6373 NElts = canMapToVector(Vec->getType()); in canReuseExtract() 6374 if (!NElts) in canReuseExtract() 6381 NElts = cast<FixedVectorType>(Vec->getType())->getNumElements(); in canReuseExtract() 6385 if (!ResizeAllowed && NElts != E) in canReuseExtract() 6388 unsigned MinIdx = NElts, MaxIdx = 0; in canReuseExtract() 6402 if (ExtIdx >= NElts) in canReuseExtract()
|