Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp27 MapVector<std::pair<Function *, Function *>, uint64_t> Counts; in run() local
35 uint64_t &Count = Counts[std::make_pair(F, CalledF)]; in run()
74 addModuleFlags(M, Counts); in run()
81 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const { in addModuleFlags()
82 if (Counts.empty()) in addModuleFlags()
89 for (auto E : Counts) { in addModuleFlags()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTrigramIndex.cpp76 Index[Tri].push_back(Counts.size()); in insert()
86 Counts.push_back(Cnt); in insert()
92 std::vector<unsigned> CurCounts(Counts.size()); in isDefinitelyOut()
105 if (CurCounts[J] >= Counts[J]) in isDefinitelyOut()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSyntheticCountsPropagation.cpp101 DenseMap<Function *, Scaled64> Counts; in run() local
104 M, [&](Function *F, uint64_t Count) { Counts[F] = Scaled64(Count, 0); }); in run()
124 BBCount *= Counts[Caller]; in run()
136 Counts[F] += New; in run()
140 for (auto Entry : Counts) { in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTrailingObjects.h332 TrailingTys, size_t>::type... Counts) { in additionalSizeToAlloc()
333 return ParentType::additionalSizeToAllocImpl(0, Counts...); in additionalSizeToAlloc()
344 TrailingTys, size_t>::type... Counts) { in totalSizeToAlloc()
345 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...); in totalSizeToAlloc()
364 template <size_t... Counts> struct with_counts {
365 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
DTrigramIndex.h58 std::vector<unsigned> Counts; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp483 Sum.NumEntries += Counts.size(); in accumulateCounts()
484 for (size_t F = 0, E = Counts.size(); F < E; ++F) in accumulateCounts()
485 FuncSum += Counts[F]; in accumulateCounts()
556 bool Mismatch = (Counts.size() != Other.Counts.size()); in overlap()
581 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in overlap()
582 Score += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
584 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap()
591 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) in overlap()
592 FuncScore += OverlapStats::score(Counts[I], Other.Counts[I], in overlap()
596 FuncLevelOverlap.Overlap.NumEntries = Other.Counts.size(); in overlap()
[all …]
DProfileSummaryBuilder.cpp39 addEntryCount(R.Counts[0]); in addRecord()
40 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord()
41 addInternalCount(R.Counts[I]); in addRecord()
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()
264 if (llvm::any_of(IPR.Counts, [](uint64_t Count) { return Count > 0; })) in shouldEncodeData()
404 OS << "# Num Counters:\n" << Func.Counts.size() << "\n"; in writeRecordInText()
406 for (uint64_t Count : Func.Counts) in writeRecordInText()
DInstrProfReader.cpp277 Record.Counts.reserve(NumCounters); in readNextRecord()
284 Record.Counts.push_back(Count); in readNextRecord()
435 Record.Counts.clear(); in readRawCounts()
436 Record.Counts.reserve(RawCounts.size()); in readRawCounts()
438 Record.Counts.push_back(swap(Count)); in readRawCounts()
440 Record.Counts = RawCounts; in readRawCounts()
890 std::vector<uint64_t> &Counts) { in getFunctionCounts() argument
895 Counts = Record.get().Counts; in getFunctionCounts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h686 std::vector<uint64_t> Counts; member
689 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord()
692 : Counts(RHS.Counts), in InstrProfRecord()
698 Counts = RHS.Counts;
763 Counts.clear(); in Clear()
851 std::vector<uint64_t> Counts) in NamedInstrProfRecord()
852 : InstrProfRecord(std::move(Counts)), Name(Name), Hash(Hash) {} in NamedInstrProfRecord()
DInstrProfReader.h479 std::vector<uint64_t> &Counts);
/third_party/gn/src/gn/
Dninja_build_writer.cc41 struct Counts { struct
42 Counts() : count(0), last_seen(nullptr) {} in Counts() argument
485 std::map<std::string, Counts> short_names;
486 std::map<std::string, Counts> exes;
501 Counts& short_names_counts = short_names[short_name];
507 Counts& exes_counts = exes[short_name];
568 const Counts& counts = pair.second;
576 const Counts& counts = pair.second;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ExpandImm.cpp48 CountMap Counts; in tryToreplicateChunks() local
52 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks()
55 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/
DCGProfile.h26 MapVector<std::pair<Function *, Function *>, uint64_t> &Counts) const;
/third_party/flutter/skia/tests/
DPromiseImageTest.cpp478 struct Counts { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() struct
484 ++static_cast<Counts*>(ctx)->fFulfillCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
488 ++static_cast<Counts*>(ctx)->fReleaseCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
491 ++static_cast<Counts*>(ctx)->fDoneCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/tests/
DPromiseImageTest.cpp362 struct Counts { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() struct
367 ++static_cast<Counts*>(ctx)->fFulfillCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
371 ++static_cast<Counts*>(ctx)->fReleaseCount; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp220 std::vector<uint64_t> Counts; in loadFunctionRecord() local
222 Record.FunctionHash, Counts)) { in loadFunctionRecord()
229 Counts.assign(Record.MappingRegions.size(), 0); in loadFunctionRecord()
231 Ctx.setCounts(Counts); in loadFunctionRecord()
241 Record.MappingRegions[0].Count.isZero() && Counts[0] > 0) in loadFunctionRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp1361 auto AddCount = [](auto &Counts, const auto &Val) { in LowerBUILD_VECTOR() argument
1362 auto CountIt = std::find_if(Counts.begin(), Counts.end(), in LowerBUILD_VECTOR()
1364 if (CountIt == Counts.end()) { in LowerBUILD_VECTOR()
1365 Counts.emplace_back(Val, 1); in LowerBUILD_VECTOR()
1371 auto GetMostCommon = [](auto &Counts) { in LowerBUILD_VECTOR() argument
1373 std::max_element(Counts.begin(), Counts.end(), in LowerBUILD_VECTOR()
1375 assert(CommonIt != Counts.end() && "Unexpected all-undef build_vector"); in LowerBUILD_VECTOR()
/third_party/boost/libs/multiprecision/performance/
Dsf_performance.log1 Allocation Counts for Horner Evaluation:
4 Allocation Counts for boost::math::tools::evaluate_polynomial:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h290 void setCounts(ArrayRef<uint64_t> Counts) { CounterValues = Counts; } in setCounts() argument
/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
DREADME.md28 ## Fractional Frame Counts
/third_party/boost/libs/random/doc/
Ddistributions.qbk55 [[__negative_binomial_distribution] [Counts the number of failures of repeated
/third_party/python/Doc/library/
Dtextwrap.rst221 wrapped output. Counts towards the length of the first line. The empty
228 output except the first. Counts towards the length of each line except
/third_party/boost/libs/ptr_container/doc/
Dassociative_ptr_container.rst179 - Effects: Counts the elements with a key equivalent to ``x``
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonConstExtenders.cpp1375 CMap Counts; in assignInits() local
1383 Counts.insert({*It, N}); in assignInits()
1386 if (Counts.empty()) in assignInits()
1390 auto BestIt = std::max_element(Counts.begin(), Counts.end(), in assignInits()

12