Home
last modified time | relevance | path

Searched refs:Counters (Results 1 – 25 of 186) sorted by relevance

12345678

/external/llvm-project/clang/test/Profile/Inputs/
Dcxx-hash-v2.proftext4 # Num Counters:
13 # Num Counters:
22 # Num Counters:
31 # Num Counters:
40 # Num Counters:
50 # Num Counters:
62 # Num Counters:
74 # Num Counters:
83 # Num Counters:
93 # Num Counters:
[all …]
/external/llvm-project/llvm/test/Transforms/PGOProfile/Inputs/
Dcspgo.proftext6 # Num Counters:
15 # Num Counters:
24 # Num Counters:
32 # Num Counters:
40 # Num Counters:
49 # Num Counters:
58 # Num Counters:
75 # Num Counters:
84 # Num Counters:
96 # Num Counters:
[all …]
Dthinlto_cs.proftext6 # Num Counters:
14 # Num Counters:
23 # Num Counters:
32 # Num Counters:
41 # Num Counters:
49 # Num Counters:
57 # Num Counters:
68 # Num Counters:
Dmultiple_hash_profile.proftext6 # Num Counters:
16 # Num Counters:
25 # Num Counters:
33 # Num Counters:
43 # Num Counters:
52 # Num Counters:
61 # Num Counters:
Dindirect_call.proftext5 # Num Counters:
23 # Num Counters:
31 # Num Counters:
39 # Num Counters:
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDataFlowTrace.h54 const auto &Counters = It->second; in GetCounter() local
55 if (BasicBlockId < Counters.size()) in GetCounter()
56 return Counters[BasicBlockId]; in GetCounter()
63 const auto &Counters = It->second; in GetNumberOfBlocks() local
64 return Counters.size(); in GetNumberOfBlocks()
70 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() local
72 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks()
85 uint32_t NumberOfCoveredBlocks(const CoverageVector &Counters) const { in NumberOfCoveredBlocks() argument
87 for (auto Cnt : Counters) in NumberOfCoveredBlocks()
93 uint32_t NumberOfUncoveredBlocks(const CoverageVector &Counters) const { in NumberOfUncoveredBlocks() argument
[all …]
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDataFlowTrace.h54 const auto &Counters = It->second; in GetCounter() local
55 if (BasicBlockId < Counters.size()) in GetCounter()
56 return Counters[BasicBlockId]; in GetCounter()
63 const auto &Counters = It->second; in GetNumberOfBlocks() local
64 return Counters.size(); in GetNumberOfBlocks()
70 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() local
72 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks()
85 uint32_t NumberOfCoveredBlocks(const CoverageVector &Counters) const { in NumberOfCoveredBlocks() argument
87 for (auto Cnt : Counters) in NumberOfCoveredBlocks()
93 uint32_t NumberOfUncoveredBlocks(const CoverageVector &Counters) const { in NumberOfUncoveredBlocks() argument
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/Inputs/
Dmultiple-profdata-merge.proftext6 # Num Counters:
17 # Num Counters:
30 # Num Counters:
40 # Num Counters:
53 # Num Counters:
61 # Num Counters:
69 # Num Counters:
77 # Num Counters:
85 # Num Counters:
93 # Num Counters:
[all …]
Doverlap_1.proftext6 # Num Counters:
14 # Num Counters:
22 # Num Counters:
31 # Num Counters:
Doverlap_2.proftext6 # Num Counters:
14 # Num Counters:
22 # Num Counters:
31 # Num Counters:
/external/llvm-project/llvm/test/Transforms/SimplifyCFG/
Dpreserve-store-alignment.ll4 %struct.Counters = type { i64, i64, i64, [8 x i8] }
7 @counters = global %struct.Counters zeroinitializer, align 16
12 …i64>, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
14 …P1]], <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
28 …OT]], <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
33 …i64>, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
35 …> %1, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
43 …> %3, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
54 …> %5, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
64 …i64>, <2 x i64>* bitcast (i64* getelementptr inbounds (%struct.Counters, %struct.Counters* @counte…
[all …]
/external/rust/crates/rayon-core/src/sleep/
Dcounters.rs19 pub(super) struct Counters { struct
95 pub(super) fn load(&self, ordering: Ordering) -> Counters { in load() argument
96 Counters::new(self.value.load(ordering)) in load()
100 fn try_exchange(&self, old_value: Counters, new_value: Counters, ordering: Ordering) -> bool { in try_exchange() argument
125 ) -> Counters { in increment_jobs_event_counter_if() argument
146 let old_value = Counters::new(self.value.fetch_sub(ONE_INACTIVE, Ordering::SeqCst)); in sub_inactive_thread()
172 let old_value = Counters::new(self.value.fetch_sub(ONE_SLEEPING, Ordering::SeqCst)); in sub_sleeping_thread()
188 pub(super) fn try_add_sleeping_thread(&self, old_value: Counters) -> bool { in try_add_sleeping_thread()
217 impl Counters { impl
219 fn new(word: usize) -> Counters { in new() argument
[all …]
/external/llvm-project/llvm/test/tools/llvm-cov/Inputs/
Dname_whitelist.proftext4 # Num Counters:
12 # Num Counters:
20 # Num Counters:
28 # Num Counters:
36 # Num Counters:
44 # Num Counters:
52 # Num Counters:
Ddir-with-filtering.proftext4 # Num Counters:
12 # Num Counters:
20 # Num Counters:
28 # Num Counters:
/external/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp44 } Counters; typedef
52 typedef Counters RegCounters[512];
64 static const Counters WaitCounts;
67 static const Counters ZeroCounts;
70 Counters WaitedOn;
74 Counters DelayedWaitOn;
77 Counters LastIssued;
100 Counters getHwCounts(MachineInstr &MI);
112 const Counters& Increment);
117 const Counters &Counts);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDebugCounter.h78 auto Result = Us.Counters.find(CounterName); in shouldExecute()
79 if (Result != Us.Counters.end()) { in shouldExecute()
102 return instance().Counters[ID].IsSet; in isCounterSet()
108 auto Result = Us.Counters.find(ID); in getCounterValue()
109 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterValue()
116 Us.Counters[ID].Count = Count; in setCounterValue()
134 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
163 Counters[Result] = {}; in addCounter()
164 Counters[Result].Desc = Desc; in addCounter()
175 DenseMap<unsigned, CounterInfo> Counters; variable
/external/llvm-project/llvm/include/llvm/Support/
DDebugCounter.h79 auto Result = Us.Counters.find(CounterName); in shouldExecute()
80 if (Result != Us.Counters.end()) { in shouldExecute()
103 return instance().Counters[ID].IsSet; in isCounterSet()
109 auto Result = Us.Counters.find(ID); in getCounterValue()
110 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterValue()
117 Us.Counters[ID].Count = Count; in setCounterValue()
135 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
164 Counters[Result] = {}; in addCounter()
165 Counters[Result].Desc = Desc; in addCounter()
176 DenseMap<unsigned, CounterInfo> Counters; variable
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dstats_test.cpp29 scudo::uptr Counters[scudo::StatCount] = {}; in TEST() local
30 GStats.get(Counters); in TEST()
32 EXPECT_EQ(Counters[I], 0U); in TEST()
38 GStats.get(Counters); in TEST()
40 EXPECT_EQ(Counters[I], 4096U); in TEST()
43 GStats.get(Counters); in TEST()
45 EXPECT_EQ(Counters[I], 4096U); in TEST()
Drelease_test.cpp31 scudo::PackedCounterArray Counters(1U, SCUDO_WORDSIZE, 1UL << I); in TEST() local
33 Counters.getBufferSize()); in TEST()
41 scudo::PackedCounterArray Counters(1U, NumCounters, in TEST() local
43 Counters.inc(0U, 0U); in TEST()
45 EXPECT_EQ(0UL, Counters.get(0U, C)); in TEST()
46 Counters.inc(0U, C); in TEST()
47 EXPECT_EQ(1UL, Counters.get(0U, C - 1)); in TEST()
49 EXPECT_EQ(0UL, Counters.get(0U, NumCounters - 1)); in TEST()
50 Counters.inc(0U, NumCounters - 1); in TEST()
52 Counters.incRange(0u, 0U, NumCounters - 1); in TEST()
[all …]
/external/scudo/standalone/tests/
Dstats_test.cpp29 scudo::uptr Counters[scudo::StatCount] = {}; in TEST() local
30 GStats.get(Counters); in TEST()
32 EXPECT_EQ(Counters[I], 0U); in TEST()
38 GStats.get(Counters); in TEST()
40 EXPECT_EQ(Counters[I], 4096U); in TEST()
43 GStats.get(Counters); in TEST()
45 EXPECT_EQ(Counters[I], 4096U); in TEST()
/external/llvm/test/tools/llvm-profdata/
Dcompat.proftext14 # FUNC_COUNT_ONLY-NEXT: Counters: 1
25 # SPACES-NEXT: Counters: 2
40 # LARGENUM-NEXT: Counters: 6
51 # FORMATV2: Counters:
54 # FORMATV2-NEXT: Counters: 2
59 # FORMATV2-NEXT: Counters: 4
69 # FORMATV4: Counters:
72 # FORMATV4: Counters: 2
77 # FORMATV4: Counters: 1
82 # FORMATV4: Counters: 6
/external/llvm-project/llvm/test/tools/llvm-profdata/
Dcompat.proftext14 # FUNC_COUNT_ONLY-NEXT: Counters: 1
25 # SPACES-NEXT: Counters: 2
40 # LARGENUM-NEXT: Counters: 6
51 # FORMATV2: Counters:
54 # FORMATV2-NEXT: Counters: 2
59 # FORMATV2-NEXT: Counters: 4
70 # FORMATV4: Counters:
73 # FORMATV4: Counters: 2
78 # FORMATV4: Counters: 1
83 # FORMATV4: Counters: 6
Dsuppl-instr-with-sample.test11 MIX1-NEXT: Counters: 5
15 MIX1-NEXT: Counters: 3
19 MIX1-NEXT: Counters: 4
31 MIX2-NEXT: Counters: 5
35 MIX2-NEXT: Counters: 3
39 MIX2-NEXT: Counters: 4
51 MIX3-NEXT: Counters: 5
55 MIX3-NEXT: Counters: 3
59 MIX3-NEXT: Counters: 4
72 MIX4-NEXT: Counters: 5
[all …]
/external/llvm-project/llvm/test/tools/gold/X86/Inputs/
Dcspgo.proftext6 # Num Counters:
14 # Num Counters:
22 # Num Counters:
34 # Num Counters:
/external/llvm/test/Transforms/PGOProfile/Inputs/
Dindirect_call.proftext5 # Num Counters:
23 # Num Counters:
31 # Num Counters:
39 # Num Counters:

12345678