Home
last modified time | relevance | path

Searched refs:Counts (Results 1 – 25 of 61) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp29 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) { in addModuleFlags() argument
30 if (Counts.empty()) in addModuleFlags()
37 for (auto E : Counts) { in addModuleFlags()
52 MapVector<std::pair<Function *, Function *>, uint64_t> Counts; in runCGProfilePass() local
59 uint64_t &Count = Counts[std::make_pair(F, CalledF)]; in runCGProfilePass()
101 return addModuleFlags(M, Counts); in runCGProfilePass()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DTrigramIndex.cpp72 Index[Tri].push_back(Counts.size()); in insert()
82 Counts.push_back(Cnt); in insert()
88 std::vector<unsigned> CurCounts(Counts.size()); in isDefinitelyOut()
101 if (CurCounts[J] >= Counts[J]) in isDefinitelyOut()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSyntheticCountsPropagation.cpp101 DenseMap<Function *, Scaled64> Counts; in run() local
104 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run()
123 BBCount *= Counts[Caller]; in run()
135 Counts[F] += New; in run()
139 for (auto Entry : Counts) { in run()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DTrailingObjects.h315 TrailingTys, size_t>::type... Counts) { in additionalSizeToAlloc()
316 return ParentType::additionalSizeToAllocImpl(0, Counts...); in additionalSizeToAlloc()
327 TrailingTys, size_t>::type... Counts) { in totalSizeToAlloc()
328 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...); in totalSizeToAlloc()
353 template <size_t... Counts> struct with_counts {
354 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
H A DTrigramIndex.h57 std::vector<unsigned> Counts; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp505 Sum.NumEntries += Counts.size(); in accumulateCounts()
506 for (size_t F = 0, E = Counts.size(); F < E; ++F) in accumulateCounts()
507 FuncSum += Counts[F]; in accumulateCounts()
578 bool Mismatch = (Counts.size() != Other.Counts.size()); in overlap()
603 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in overlap()
604 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
606 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap()
613 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) in overlap()
614 FuncScore += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
618 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
[all …]
H A DInstrProfWriter.cpp126 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength()
152 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData()
153 for (uint64_t I : ProfRecord.Counts) in EmitData()
265 if (llvm::any_of(IPR.Counts, [](uint64_t Count) { return Count > 0; })) in shouldEncodeData()
437 OS << "# Num Counters:\n" << Func.Counts.size() << "\n"; in writeRecordInText()
439 for (uint64_t Count : Func.Counts) in writeRecordInText()
H A DProfileSummaryBuilder.cpp100 addEntryCount(R.Counts[0]); in addRecord()
101 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord()
102 addInternalCount(R.Counts[I]); in addRecord()
H A DInstrProfReader.cpp284 Record.Counts.reserve(NumCounters); in readNextRecord()
291 Record.Counts.push_back(Count); in readNextRecord()
442 Record.Counts.clear(); in readRawCounts()
443 Record.Counts.reserve(RawCounts.size()); in readRawCounts()
445 Record.Counts.push_back(swap(Count)); in readRawCounts()
447 Record.Counts = RawCounts; in readRawCounts()
897 std::vector<uint64_t> &Counts) { in getFunctionCounts() argument
902 Counts = Record.get().Counts; in getFunctionCounts()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProf.h692 std::vector<uint64_t> Counts; member
695 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord()
698 : Counts(RHS.Counts), in InstrProfRecord()
704 Counts = RHS.Counts;
769 Counts.clear(); in Clear()
857 std::vector<uint64_t> Counts) in NamedInstrProfRecord()
858 : InstrProfRecord(std::move(Counts)), Name(Name), Hash(Hash) {} in NamedInstrProfRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp47 CountMap Counts; in tryToreplicateChunks() local
51 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks()
54 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/
H A Dprocsystime_example.txt74 Syscall Counts for processes ssh,
137 Syscall Counts for processes mozilla-bin,
H A Dsh_cputime_example.txt10 Counts,
70 Counts,
H A Dsh_calltime_example.txt10 Counts,
73 Counts,
H A Djs_calltime_example.txt46 Counts shows us how many times each different function was called, and how
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/
H A Dprocsystime_example.txt74 Syscall Counts for processes ssh,
137 Syscall Counts for processes mozilla-bin,
H A Dsh_cputime_example.txt10 Counts,
70 Counts,
H A Dsh_calltime_example.txt10 Counts,
73 Counts,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp412 uint64_t CntNum = Record->Counts.size(); in InstrProfileEntry()
415 MaxCount = std::max(MaxCount, Record->Counts[I]); in InstrProfileEntry()
416 ZeroCntNum += !Record->Counts[I]; in InstrProfileEntry()
437 for (size_t I = 0; I < ProfRecord->Counts.size(); ++I) in updateInstrProfileEntry()
438 ProfRecord->Counts[I] = -1; in updateInstrProfileEntry()
2098 assert(Func.Counts.size() > 0 && "function missing entry counter"); in showInstrProfile()
2103 for (size_t I = 0, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
2104 if (Func.Counts[I] == (uint64_t)-1) in showInstrProfile()
2106 FuncMax = std::max(FuncMax, Func.Counts[I]); in showInstrProfile()
2107 FuncSum += Func.Counts[I]; in showInstrProfile()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp245 std::vector<uint64_t> Counts; in loadFunctionRecord() local
247 Record.FunctionHash, Counts)) { in loadFunctionRecord()
255 Counts.assign(getMaxCounterID(Ctx, Record) + 1, 0); in loadFunctionRecord()
257 Ctx.setCounts(Counts); in loadFunctionRecord()
267 Record.MappingRegions[0].Count.isZero() && Counts[0] > 0) in loadFunctionRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/AMDGPU/
H A Dgfx10_waitcnt.rst13 Counts of outstanding instructions to wait for.
H A Dgfx9_waitcnt.rst13 Counts of outstanding instructions to wait for.
H A Dgfx8_waitcnt.rst13 Counts of outstanding instructions to wait for.
H A Dgfx7_waitcnt.rst13 Counts of outstanding instructions to wait for.
H A Dgfx90a_waitcnt.rst13 Counts of outstanding instructions to wait for.

123