/external/swiftshader/third_party/LLVM/tools/llvm-prof/ |
D | llvm-prof.cpp | 159 std::vector<std::pair<BasicBlock*, double> > Counts; in runOnModule() local 167 Counts.push_back(std::make_pair(BB, w)); in runOnModule() 211 for (unsigned i = 0, e = Counts.size(); i != e; ++i) in runOnModule() 212 TotalExecutions += Counts[i].second; in runOnModule() 215 sort(Counts.begin(), Counts.end(), in runOnModule() 223 unsigned BlocksToPrint = Counts.size(); in runOnModule() 226 if (Counts[i].second == 0) break; in runOnModule() 227 Function *F = Counts[i].first->getParent(); in runOnModule() 229 << format("%5g", Counts[i].second/(double)TotalExecutions*100) << "% " in runOnModule() 230 << format("%5.0f", Counts[i].second) << "/" in runOnModule() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaits.cpp | 117 const Counters &Counts); 379 Counters Counts = WaitCounts; in insertWait() local 395 Counts.Array[i] = std::min(Value, WaitCounts.Array[i]); in insertWait() 398 Counts.Array[i] = 0; in insertWait() 401 WaitedOn.Array[i] = LastIssued.Array[i] - Counts.Array[i]; in insertWait() 408 if (Counts.Named.EXP == 0) in insertWait() 413 .addImm((Counts.Named.VM & 0xF) | in insertWait() 414 ((Counts.Named.EXP & 0x7) << 4) | in insertWait() 415 ((Counts.Named.LGKM & 0xF) << 8)); in insertWait() 441 Counters Counts, WaitOn; in handleExistingWait() local [all …]
|
/external/llvm/unittests/ProfileData/ |
D | InstrProfTest.cpp | 82 ASSERT_EQ(4U, I->Counts.size()); in TEST_P() 83 ASSERT_EQ(1U, I->Counts[0]); in TEST_P() 84 ASSERT_EQ(2U, I->Counts[1]); in TEST_P() 85 ASSERT_EQ(3U, I->Counts[2]); in TEST_P() 86 ASSERT_EQ(4U, I->Counts[3]); in TEST_P() 100 ASSERT_EQ(2U, R->Counts.size()); in TEST_P() 101 ASSERT_EQ(1U, R->Counts[0]); in TEST_P() 102 ASSERT_EQ(2U, R->Counts[1]); in TEST_P() 106 ASSERT_EQ(2U, R->Counts.size()); in TEST_P() 107 ASSERT_EQ(3U, R->Counts[0]); in TEST_P() [all …]
|
/external/valgrind/cachegrind/ |
D | cg_merge.c | 219 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/include/llvm/Support/ |
D | TrailingObjects.h | 330 TrailingTys, size_t>::type... Counts) { 331 return ParentType::additionalSizeToAllocImpl(0, Counts...); 342 TrailingTys, size_t>::type... Counts) { 343 return sizeof(BaseTy) + ParentType::additionalSizeToAllocImpl(0, Counts...); 362 template <size_t... Counts> struct with_counts { 363 enum { Size = totalSizeToAlloc<Tys...>(Counts...) };
|
/external/llvm/lib/ProfileData/ |
D | InstrProfWriter.cpp | 107 M += ProfRecord.Counts.size() * sizeof(uint64_t); in EmitKeyDataLength() 129 LE.write<uint64_t>(ProfRecord.Counts.size()); in EmitData() 130 for (uint64_t I : ProfRecord.Counts) in EmitData() 190 if (std::any_of(IPR.Counts.begin(), IPR.Counts.end(), in shouldEncodeData() 302 OS << "# Num Counters:\n" << Func.Counts.size() << "\n"; in writeRecordInText() 304 for (uint64_t Count : Func.Counts) in writeRecordInText()
|
D | ProfileSummaryBuilder.cpp | 41 addEntryCount(R.Counts[0]); in addRecord() 42 for (size_t I = 1, E = R.Counts.size(); I < E; ++I) in addRecord() 43 addInternalCount(R.Counts[I]); in addRecord()
|
D | InstrProfReader.cpp | 232 Record.Counts.clear(); in readNextRecord() 233 Record.Counts.reserve(NumCounters); in readNextRecord() 240 Record.Counts.push_back(Count); in readNextRecord() 385 Record.Counts.clear(); in readRawCounts() 386 Record.Counts.reserve(RawCounts.size()); in readRawCounts() 388 Record.Counts.push_back(swap(Count)); in readRawCounts() 390 Record.Counts = RawCounts; in readRawCounts() 696 std::vector<uint64_t> &Counts) { in getFunctionCounts() argument 701 Counts = Record.get().Counts; in getFunctionCounts()
|
D | InstrProf.cpp | 391 if (Counts.size() != Other.Counts.size()) { in merge() 396 for (size_t I = 0, E = Other.Counts.size(); I < E; ++I) { in merge() 398 Counts[I] = in merge() 399 SaturatingMultiplyAdd(Other.Counts[I], Weight, Counts[I], &Overflowed); in merge() 417 for (auto &Count : this->Counts) { in scale()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 359 assert(Func.Counts.size() > 0 && "function missing entry counter"); in showInstrProfile() 371 << " Counters: " << Func.Counts.size() << "\n"; in showInstrProfile() 373 OS << " Function count: " << Func.Counts[0] << "\n"; in showInstrProfile() 382 for (size_t I = Start, E = Func.Counts.size(); I < E; ++I) { in showInstrProfile() 383 OS << (I == Start ? "" : ", ") << Func.Counts[I]; in showInstrProfile()
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 191 std::vector<uint64_t> Counts; in load() local 195 Counts.clear(); in load() 197 Record.FunctionName, Record.FunctionHash, Counts)) { in load() 204 Counts.assign(Record.MappingRegions.size(), 0); in load() 206 Ctx.setCounts(Counts); in load()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProf.h | 574 InstrProfRecord(StringRef Name, uint64_t Hash, std::vector<uint64_t> Counts) in InstrProfRecord() 575 : Name(Name), Hash(Hash), Counts(std::move(Counts)), SIPE() {} in InstrProfRecord() 578 std::vector<uint64_t> Counts; member
|
D | InstrProfReader.h | 399 std::vector<uint64_t> &Counts);
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_Bincount.pbtxt | 30 summary: "Counts the number of occurrences of each value in an integer array."
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 361 int Counts[4] = { 0, 0, 0, 0 }; in TEST() local 366 Counts[Index]++; in TEST() 368 EXPECT_EQ(1, Counts[0]); // a in TEST() 369 EXPECT_EQ(1, Counts[1]); // b in TEST() 370 EXPECT_EQ(1, Counts[2]); // c in TEST() 371 EXPECT_EQ(1, Counts[3]); // d in TEST()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ExpandPseudoInsts.cpp | 165 CountMap Counts; in tryToreplicateChunks() local 169 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks() 172 for (CountMap::const_iterator Chunk = Counts.begin(), End = Counts.end(); in tryToreplicateChunks()
|
/external/python/cpython2/Doc/library/ |
D | textwrap.rst | 153 wrapped output. Counts towards the length of the first line. The empty 160 output except the first. Counts towards the length of each line except
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 284 void setCounts(ArrayRef<uint64_t> Counts) { CounterValues = Counts; } in setCounts() argument
|
/external/tensorflow/tensorflow/core/ops/ |
D | debug_ops.cc | 127 Counts number of NaNs in the input tensor, for debugging.
|
/external/llvm/docs/ |
D | BranchWeightMetadata.rst | 119 Function Entry Counts
|
/external/python/cpython3/Doc/library/ |
D | textwrap.rst | 208 wrapped output. Counts towards the length of the first line. The empty 215 output except the first. Counts towards the length of each line except
|
/external/libchrome/base/metrics/ |
D | histogram.h | 100 typedef std::vector<Count> Counts; typedef
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 614 std::vector<uint64_t> &CountFromProfile = ProfileRecord.Counts; in readCounters()
|
/external/clang/lib/CodeGen/ |
D | CodeGenPGO.cpp | 820 RegionCounts = ProfRecord->Counts; in loadRegionCounts()
|
/external/walt/docs/usage/ |
D | WALT_usage.md | 218 Counts: ACTION_DOWN 20 (bad 1), ACTION_UP 21 (bad 0), ACTION_MOVE 162
|