Home
last modified time | relevance | path

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

/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp62 ASSERT_EQ(4U, I->Counts.size()); in TEST_F()
63 ASSERT_EQ(1U, I->Counts[0]); in TEST_F()
64 ASSERT_EQ(2U, I->Counts[1]); in TEST_F()
65 ASSERT_EQ(3U, I->Counts[2]); in TEST_F()
66 ASSERT_EQ(4U, I->Counts[3]); in TEST_F()
80 ASSERT_EQ(2U, R.get().Counts.size()); in TEST_F()
81 ASSERT_EQ(1U, R.get().Counts[0]); in TEST_F()
82 ASSERT_EQ(2U, R.get().Counts[1]); in TEST_F()
86 ASSERT_EQ(2U, R.get().Counts.size()); in TEST_F()
87 ASSERT_EQ(3U, R.get().Counts[0]); in TEST_F()
[all …]
/external/llvm/lib/ProfileData/
DInstrProfWriter.cpp54 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength()
76 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData()
77 for (uint64_t I : ProfRecord.Counts) in EmitData()
115 for (auto &Count : Dest.Counts) { in addRecord()
130 if (Dest.Counts[0] > MaxFunctionCount) in addRecord()
131 MaxFunctionCount = Dest.Counts[0]; in addRecord()
192 OS << "# Num Counters:\n" << Func.Counts.size() << "\n"; in writeRecordInText()
194 for (uint64_t Count : Func.Counts) in writeRecordInText()
DInstrProfReader.cpp211 Record.Counts.clear(); in readNextRecord()
212 Record.Counts.reserve(NumCounters); in readNextRecord()
219 Record.Counts.push_back(Count); in readNextRecord()
369 Record.Counts.clear(); in readRawCounts()
370 Record.Counts.reserve(RawCounts.size()); in readRawCounts()
372 Record.Counts.push_back(swap(Count)); in readRawCounts()
374 Record.Counts = RawCounts; in readRawCounts()
628 std::vector<uint64_t> &Counts) { in getFunctionCounts() argument
633 Counts = Record.get().Counts; in getFunctionCounts()
DInstrProf.cpp220 if (Counts.size() != Other.Counts.size()) in merge()
225 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in merge()
227 uint64_t OtherCount = Other.Counts[I]; in merge()
233 Counts[I] = SaturatingAdd(Counts[I], OtherCount, &Overflowed); in merge()
DCoverageMapping.cpp189 std::vector<uint64_t> Counts; in load() local
193 Counts.clear(); in load()
195 Record.FunctionName, Record.FunctionHash, Counts)) { in load()
201 Counts.assign(Record.MappingRegions.size(), 0); in load()
203 Ctx.setCounts(Counts); in load()
/external/valgrind/cachegrind/
Dcg_merge.c219 Counts; typedef
243 Counts* summary;
280 static Counts* new_Counts ( Int n_counts, /*COPIED*/ULong* counts ) in new_Counts()
283 Counts* cts = malloc(sizeof(Counts)); in new_Counts()
301 static Counts* new_Counts_Zeroed ( Int n_counts ) in new_Counts_Zeroed()
304 Counts* cts = malloc(sizeof(Counts)); in new_Counts_Zeroed()
322 static void sdel_Counts ( Counts* cts ) in sdel_Counts()
324 memset(cts, 0, sizeof(Counts)); in sdel_Counts()
328 static void ddel_Counts ( Counts* cts ) in ddel_Counts()
332 memset(cts, 0, sizeof(Counts)); in ddel_Counts()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp104 const Counters &Counts);
341 Counters Counts = WaitCounts; in insertWait() local
357 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]); in insertWait()
360 Counts.Array[i] = 0; in insertWait()
363 WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i]; in insertWait()
370 if (Counts.Named.EXP == 0) in insertWait()
375 .addImm((Counts.Named.VM & 0xF) | in insertWait()
376 ((Counts.Named.EXP & 0x7) << 4) | in insertWait()
377 ((Counts.Named.LGKM & 0x7) << 8)); in insertWait()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp276 assert(Func.Counts.size() > 0 && "function missing entry counter"); in showInstrProfile()
277 if (Func.Counts[0] > MaxFunctionCount) in showInstrProfile()
278 MaxFunctionCount = Func.Counts[0]; in showInstrProfile()
280 for (size_t I = 1, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
281 if (Func.Counts[I] > MaxBlockCount) in showInstrProfile()
282 MaxBlockCount = Func.Counts[I]; in showInstrProfile()
294 << " Counters: " << Func.Counts.size() << "\n" in showInstrProfile()
295 << " Function count: " << Func.Counts[0] << "\n"; in showInstrProfile()
303 for (size_t I = 1, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile()
304 OS << (I == 1 ? "" : ", ") << Func.Counts[I]; in showInstrProfile()
/external/llvm/include/llvm/Support/
DTrailingObjects.h322 TrailingTys, size_t>::type... Counts) {
323 return ParentType::additionalSizeToAllocImpl(Counts...);
334 TrailingTys, size_t>::type... Counts) {
335 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(Counts...);
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestBNF.java132 static class Counts { class in TestBNF
134 Counts(int max) { in Counts() method in TestBNF.Counts
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestBNF.java133 static class Counts { class in TestBNF
135 Counts(int max) { in Counts() method in TestBNF.Counts
/external/llvm/include/llvm/ProfileData/
DInstrProf.h326 InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts) in InstrProfRecord()
327 : Name(Name), Hash(Hash), Counts(std::move(Counts)) {} in InstrProfRecord()
330 std::vector<uint64_t> Counts; member
DCoverageMapping.h242 void setCounts(ArrayRef<uint64_t> Counts) { CounterValues = Counts; } in setCounts() argument
DInstrProfReader.h365 std::vector<uint64_t> &Counts);
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp155 CountMap Counts; in tryToreplicateChunks() local
159 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks()
162 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp360 int Counts[4] = { 0, 0, 0, 0 }; in TEST() local
365 Counts[Index]++; in TEST()
367 EXPECT_EQ(1, Counts[0]); // a in TEST()
368 EXPECT_EQ(1, Counts[1]); // b in TEST()
369 EXPECT_EQ(1, Counts[2]); // c in TEST()
370 EXPECT_EQ(1, Counts[3]); // d in TEST()
/external/llvm/docs/
DBranchWeightMetadata.rst119 Function Entry Counts
DPasses.rst174 ``-instcount``: Counts the various types of ``Instruction``\ s
/external/libchrome/base/metrics/
Dhistogram.h104 typedef std::vector<Count> Counts; typedef
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp528 std::vector<uint64_t> &CountFromProfile = Result.get().Counts; in readCounters()
/external/llvm/lib/IR/
DVerifier.cpp1684 for (auto &Counts : FrameEscapeInfo) { in verifyFrameRecoverIndices() local
1685 Function *F = Counts.first; in verifyFrameRecoverIndices()
1686 unsigned EscapedObjectCount = Counts.second.first; in verifyFrameRecoverIndices()
1687 unsigned MaxRecoveredIndex = Counts.second.second; in verifyFrameRecoverIndices()
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_ios.mm33 // Counts number of users (=instances of this object) who needs an active
/external/blktrace/btt/doc/
Dbtt.tex1007 \textbf{X value} & \textbf{Representing Counts} \\\hline
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.td1443 // Population count. Counts bits set per byte.