/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 465 unsigned NElts = LT.second.isVector() ? 475 return get64BitInstrCost() * LT.first * NElts; 478 NElts = (NElts + 1) / 2; 481 return getFullRateInstrCost() * LT.first * NElts; 489 return 2 * getFullRateInstrCost() * LT.first * NElts; 493 NElts = (NElts + 1) / 2; 495 return LT.first * NElts * getFullRateInstrCost(); 500 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; [all...] |
H A D | AMDGPUISelLowering.cpp | 2752 unsigned NElts = VT.getVectorNumElements(); local 2754 DAG.ExtractVectorElements(Src, Args, 0, NElts); 2757 for (unsigned I = 0; I < NElts; ++I) 3919 unsigned NElts = DestVT.getVectorNumElements(); local 3921 if (SrcVT.getVectorNumElements() == NElts) {
|
H A D | R600ISelLowering.cpp | 1921 unsigned NElts = VT.getVectorNumElements(); local 1922 Ops.append(NElts, DAG.getUNDEF(InVal.getValueType()));
|
H A D | SIInstrInfo.cpp | 2428 int NElts = DstSize / 32; local 2433 if (NElts % 2) { 2440 NElts /= 2; 2450 for (int Idx = 0; Idx != NElts; ++Idx) {
|
H A D | AMDGPULegalizerInfo.cpp | 51 unsigned NElts = Ty.getNumElements(); local 52 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 392 unsigned NElts = getVectorMinNumElements(); local 393 return !(NElts & (NElts - 1)); 400 ElementCount NElts = getVectorElementCount(); local 401 NElts.Min = 1 << Log2_32_Ceil(NElts.Min); 402 return EVT::getVectorVT(Context, getVectorElementType(), NElts);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ShuffleDecode.h | 40 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask); 44 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask);
|
H A D | X86ShuffleDecode.cpp | 59 void DecodeMOVHLPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { argument 60 for (unsigned i = NElts / 2; i != NElts; ++i) 61 ShuffleMask.push_back(NElts + i); 63 for (unsigned i = NElts / 2; i != NElts; ++i) 68 void DecodeMOVLHPSMask(unsigned NElts, SmallVectorImpl<int> &ShuffleMask) { argument 69 for (unsigned i = 0; i != NElts / 2; ++i) 72 for (unsigned i = 0; i != NElts / 2; ++i) 73 ShuffleMask.push_back(NElts [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCVSXSwapRemoval.cpp | 824 unsigned NElts; local 832 case PPC::VSPLTB: NElts = 16; break; 833 case PPC::VSPLTH: NElts = 8; break; 835 case PPC::XXSPLTW: NElts = 4; break; 844 EltNo = (EltNo + NElts / 2) % NElts;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MachineValueType.h | 433 unsigned NElts = getVectorNumElements(); local 434 return !(NElts & (NElts - 1)); 443 unsigned NElts = getVectorNumElements(); local 444 unsigned Pow2NElts = 1 << Log2_32_Ceil(NElts);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | STLExtras.h | 1394 auto NElts = End - Start; local 1395 if (NElts <= 1) return; 1399 qsort(&*Start, NElts, sizeof(*Start), get_array_pod_sort_comparator(*Start)); 1410 auto NElts = End - Start; local 1411 if (NElts <= 1) return; 1415 qsort(&*Start, NElts, sizeof(*Start),
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 1633 int NElts = Mask.size(); 1635 [&](int M) { return M < (NElts * 2) && M >= -1; }) && 1644 for (int i = 0; i != NElts; ++i) 1645 if (MaskVec[i] >= NElts) MaskVec[i] -= NElts; 1661 for (int i = 0; i < NElts; ++i) { 1662 if (MaskVec[i] < Offset || MaskVec[i] >= (Offset + NElts)) 1679 BlendSplat(N2BV, NElts); 1686 for (int i = 0; i != NElts; ++i) { 1687 if (MaskVec[i] >= NElts) { [all...] |
H A D | TargetLowering.cpp | 7208 unsigned NElts = VecVT.getVectorNumElements(); 7209 if (isPowerOf2_32(NElts)) { 7211 Log2_32(NElts)); 7217 DAG.getConstant(NElts - 1, dl, IdxVT));
|
H A D | LegalizeDAG.cpp | 4780 for (unsigned I = 1, NElts = OVT.getVectorNumElements(); I != NElts; ++I)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 3195 unsigned NElts; 3198 NElts = canMapToVector(Vec->getType(), DL); 3199 if (!NElts) 3206 NElts = cast<VectorType>(Vec->getType())->getNumElements(); 3209 if (NElts != VL.size())
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 2397 unsigned NElts = Mask.size(); local 2401 Type *ShufTy = VectorType::get(EltTy, NElts, TypeIsScalable);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 9747 unsigned NElts = VTy->getNumElements(); 9770 SmallVector<APValue, 4> Elts(NElts, Val); 9788 for (unsigned i = 0; i < NElts; i++) { 9797 for (unsigned i = 0; i < NElts; i++) {
|