/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
DebugCounter.h | 10 /// \brief This file provides an implementation of debug counters. Debug 11 /// counters are a tool that let you narrow down a miscompilation to a specific 67 // line option parsing. The main reason to register counters is to produce a 78 auto Result = Us.Counters.find(CounterName); 79 if (Result != Us.Counters.end()) { 83 // Negative counters always execute. 107 return instance().Counters.count(ID); 110 // Return the skip and count for a counter. This only works for set counters. 113 auto Result = Us.Counters.find(ID); 114 assert(Result != Us.Counters.end() && "Asking about a non-set counter") [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
ProfileInfoLoaderPass.cpp | 158 std::vector<unsigned> Counters = PIL.getRawEdgeCounts(); 159 if (Counters.size() > 0) { 164 readEdge(getEdge(0,&F->getEntryBlock()), Counters); 168 readEdge(getEdge(BB,TI->getSuccessor(s)), Counters); 172 if (ReadCount != Counters.size()) { 179 Counters = PIL.getRawOptimalEdgeCounts(); 180 if (Counters.size() > 0) { 185 readEdge(getEdge(0,&F->getEntryBlock()), Counters); 189 readEdge(getEdge(BB,0), Counters); 192 readEdge(getEdge(BB,TI->getSuccessor(s)), Counters); [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
EdgeProfiling.cpp | 1 //===- EdgeProfiling.cpp - Insert counters for edge profiling -------------===// 10 // This pass instruments the specified program with counters for edge profiling. 16 // number of counters inserted. 78 GlobalVariable *Counters = 88 IncrementCounterInBlock(&F->getEntryBlock(), i++, Counters); 104 IncrementCounterInBlock(BB, i++, Counters, false); 107 IncrementCounterInBlock(TI->getSuccessor(s), i++, Counters); 114 InsertProfilingInitCall(Main, "llvm_start_edge_profiling", Counters);
|
OptimalEdgeProfiling.cpp | 1 //===- OptimalEdgeProfiling.cpp - Insert counters for opt. edge profiling -===// 10 // This pass instruments the specified program with counters for edge profiling. 112 // be calculated from other edge counters on reading the profile info back 117 GlobalVariable *Counters = 153 IncrementCounterInBlock(entry, i, Counters); ++NumEdgesInserted; 176 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted; 199 IncrementCounterInBlock(BB, i, Counters); ++NumEdgesInserted; 203 IncrementCounterInBlock(Succ, i, Counters); ++NumEdgesInserted; 219 Counters->setInitializer(init); 222 InsertProfilingInitCall(Main, "llvm_start_opt_edge_profiling", Counters); [all...] |
GCOVProfiling.cpp | 1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===// 80 // Produce a table of pointers to counters, by predecessor and successor 87 // Add the function to write out all our counters to the global destructor 444 GlobalVariable *Counters = 449 CountersBySP.push_back(std::make_pair(Counters, (MDNode*)SP)); 462 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 476 Value *Counter = Builder.CreateInBoundsGEP(Counters, Idx); 492 buildEdgeLookupTable(F, Counters, 525 GlobalVariable *Counters, 550 Value *Counter = builder.CreateConstInBoundsGEP2_64(Counters, 0 [all...] |
/external/llvm/lib/Target/AMDGPU/ |
SIInsertWaits.cpp | 35 /// \brief One variable for each of the hardware counters 44 } Counters; 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) [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 65 memset(Counters(), 0, GetNumPCs()); 107 uint8_t *Counters() const; 133 uint8_t *Counters = this->Counters(); 148 ForEachNonZeroByte(Counters, Counters + N, 0, Handle8bitCounter);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 65 memset(Counters(), 0, GetNumPCs()); 107 uint8_t *Counters() const; 133 uint8_t *Counters = this->Counters(); 148 ForEachNonZeroByte(Counters, Counters + N, 0, Handle8bitCounter);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 65 memset(Counters(), 0, GetNumPCs()); 107 uint8_t *Counters() const; 133 uint8_t *Counters = this->Counters(); 148 ForEachNonZeroByte(Counters, Counters + N, 0, Handle8bitCounter);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 65 memset(Counters(), 0, GetNumPCs()); 107 uint8_t *Counters() const; 133 uint8_t *Counters = this->Counters(); 148 ForEachNonZeroByte(Counters, Counters + N, 0, Handle8bitCounter);
|
/system/extras/tests/icachetest/ |
Profiler.h | 79 // could return false if performance counters are not supported/enabled 82 class Counters { 90 } counters[Profiler::EVENT_COUNT]; member in class:utils::Profiler::Counters 92 friend Counters operator-(Counters lhs, const Counters& rhs) noexcept { 97 lhs.counters[i].value -= rhs.counters[i].value; 103 uint64_t getInstructions() const { return counters[INSTRUCTIONS].value; } 104 uint64_t getCpuCycles() const { return counters[CPU_CYCLES].value; 186 Counters counters; variable [all...] |
icache_main.cpp | 91 fprintf(stderr, "performance counters not enabled. try \"setprop security.perf_harden 0\"\n"); 102 Profiler::Counters counters; local 113 profiler.readCounters(&counters); 116 << counters.getCpuCycles()/double(REPETITIONS) << "\t" 117 << counters.getL1IReferences()/double(REPETITIONS) << "\t" 118 << counters.getMPKI(counters.getL1IMisses()) << "\t"
|
/prebuilts/clang/host/linux-x86/clang-3859424/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerTracePC.h | 66 memset(Counters, 0, sizeof(Counters)); 108 alignas(8) uint8_t Counters[kNumCounters];
|
/prebuilts/go/darwin-x86/src/testing/ |
cover.go | 33 Counters map[string][]uint32 47 for _, counters := range cover.Counters { 48 for i := range counters { 49 if atomic.LoadUint32(&counters[i]) > 0 { 89 for name, counts := range cover.Counters {
|
/prebuilts/go/linux-x86/src/testing/ |
cover.go | 33 Counters map[string][]uint32 47 for _, counters := range cover.Counters { 48 for i := range counters { 49 if atomic.LoadUint32(&counters[i]) > 0 { 89 for name, counts := range cover.Counters {
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_perfmon.c | 25 * Performance monitoring counters interface to gallium. 53 /* Determine the number of active counters. */ 59 /* Maximum number of counters reached. Cannot start the session. */ 61 debug_printf("Maximum number of counters reached. " 93 const struct st_perf_monitor_counter *stc = &stg->counters[cid]; 278 * active counter. The API allows counters to appear in any order. 296 type = ctx->PerfMonitor.Groups[gid].Counters[cid].Type; 370 struct gl_perf_monitor_counter *counters = NULL; local 380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); [all...] |
/external/v8/src/ |
counters.cc | 5 #include "src/counters.h" 63 Counters::Counters(Isolate* isolate) { 145 void Counters::ResetCounters() { 177 void Counters::ResetHistograms() { 297 // Commit all the timer's elapsed time to the counters. 307 const RuntimeCallStats::CounterId RuntimeCallStats::counters[] = { member in class:v8::internal::RuntimeCallStats 328 arraysize(RuntimeCallStats::counters); 356 RuntimeCallStats::counters) { 378 RuntimeCallStats::counters) { [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 1 //===- GCOVProfiling.cpp - Insert edge counters for gcov profiling --------===// 108 // Produce a table of pointers to counters, by predecessor and successor 114 // Add the function to write out all our counters to the global destructor 609 GlobalVariable *Counters = 614 CountersBySP.push_back(std::make_pair(Counters, SP)); 626 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 637 Counters->getValueType(), Counters, {Builder.getInt64(0), Sel}); 653 buildEdgeLookupTable(&F, Counters, 721 GlobalVariable *Counters, [all...] |