HomeSort by relevance Sort by last modified time
    Searched defs:Counters (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /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...]
  /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...]
  /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/darwin-x86/clang-4393122/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-4479392/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-4579689/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-4630689/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-4639204/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-4691093/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...]
  /prebuilts/clang/host/linux-x86/clang-4393122/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-4479392/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-4579689/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-4630689/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-4639204/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-4691093/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-4579689/prebuilt_include/llvm/lib/Fuzzer/
FuzzerTracePC.h 93 memset(Counters(), 0, GetNumPCs());
162 uint8_t *Counters() const;
199 // Given a non-zero Counters returns a number in [0,7].
218 uint8_t *Counters = this->Counters();
228 ForEachNonZeroByte(Counters, Counters + N, FirstFeature, Handle8bitCounter);
  /prebuilts/clang/host/linux-x86/clang-4630689/prebuilt_include/llvm/lib/Fuzzer/
FuzzerTracePC.h 93 memset(Counters(), 0, GetNumPCs());
162 uint8_t *Counters() const;
199 // Given a non-zero Counters returns a number in [0,7].
218 uint8_t *Counters = this->Counters();
228 ForEachNonZeroByte(Counters, Counters + N, FirstFeature, Handle8bitCounter);
  /prebuilts/clang/host/linux-x86/clang-4639204/prebuilt_include/llvm/lib/Fuzzer/
FuzzerTracePC.h 93 memset(Counters(), 0, GetNumPCs());
162 uint8_t *Counters() const;
199 // Given a non-zero Counters returns a number in [0,7].
218 uint8_t *Counters = this->Counters();
228 ForEachNonZeroByte(Counters, Counters + N, FirstFeature, Handle8bitCounter);
  /prebuilts/clang/host/linux-x86/clang-4691093/prebuilt_include/llvm/lib/Fuzzer/
FuzzerTracePC.h 93 memset(Counters(), 0, GetNumPCs());
162 uint8_t *Counters() const;
199 // Given a non-zero Counters returns a number in [0,7].
218 uint8_t *Counters = this->Counters();
228 ForEachNonZeroByte(Counters, Counters + N, FirstFeature, Handle8bitCounter);
  /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...]
  /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...]
  /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...]
  /external/llvm/lib/Transforms/Instrumentation/
InstrProfiling.cpp 39 "vp-counters-per-site",
40 cl::desc("The average number of profile counters allocated "
218 GlobalVariable *Counters = getOrCreateRegionCounters(Inc);
222 Value *Addr = Builder.CreateConstInBoundsGEP2_64(Counters, 0, Index);
281 // counters for function with available_externally linkage needs to be changed
340 // only one copy of counters of the COMDAT function will be emitted after
350 // Create the counters variable.
451 // The default value of vp-counters-per-site is chosen based on
454 // the average number of counters per site is low. For small
456 // number of counters in this case
    [all...]

Completed in 906 milliseconds

1 2 3 4 5