Searched refs:Counters (Results 1 - 11 of 11) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h54 const auto &Counters = It->second; local
55 if (BasicBlockId < Counters.size())
56 return Counters[BasicBlockId];
63 const auto &Counters = It->second; local
64 return Counters.size();
70 const auto &Counters = It->second; local
72 for (auto Cnt: Counters)
85 uint32_t NumberOfCoveredBlocks(const CoverageVector &Counters) const {
87 for (auto Cnt : Counters)
93 uint32_t NumberOfUncoveredBlocks(const CoverageVector &Counters) cons
[all...]
H A DFuzzerDataFlowTrace.cpp68 auto &Counters = local
74 if (Counters.size() != NumBlocks) return false; // wrong number of blocks.
76 Counters[0]++;
78 Counters[BB]++;
92 auto Counters = It.second; local
98 Weight /= SmallestNonZeroCounter(Counters);
100 Weight *= NumberOfUncoveredBlocks(Counters) + 1;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h78 auto Result = Us.Counters.find(CounterName);
79 if (Result != Us.Counters.end()) {
102 return instance().Counters[ID].IsSet;
108 auto Result = Us.Counters.find(ID);
109 assert(Result != Us.Counters.end() && "Asking about a non-set counter");
116 Us.Counters[ID].Count = Count;
134 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc);
163 Counters[Result] = {};
164 Counters[Result].Desc = Desc;
175 DenseMap<unsigned, CounterInfo> Counters; member in class:llvm::DebugCounter
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp96 CounterInfo &Counter = Counters[CounterID];
109 CounterInfo &Counter = Counters[CounterID];
124 OS << "Counters and values:\n";
128 << Us.Counters[CounterID].Count << "," << Us.Counters[CounterID].Skip
129 << "," << Us.Counters[CounterID].StopAfter << "}\n";
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h41 // A packed array of Counters. Each counter occupies 2^N bits, enough to store
191 PackedCounterArray Counters(AllocatedPagesCount, FullPagesBlockCountMax);
192 if (!Counters.isAllocated())
206 Counters.inc((P - Base) >> PageSizeLog);
215 Counters.incRange((P - Base) >> PageSizeLog,
221 // Iterate over pages detecting ranges of pages with chunk Counters equal
226 for (uptr I = 0; I < Counters.getCount(); I++)
227 RangeTracker.processNextPage(Counters.get(I) == FullPagesBlockCountMax);
240 for (uptr I = 0; I < Counters.getCount(); I++) {
254 RangeTracker.processNextPage(Counters
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h71 const InstrProfRecord &Counters,
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp208 Dir->setCounters(Exprs.Counters);
259 Dir->setCounters(Exprs.Counters);
312 Dir->setCounters(Exprs.Counters);
478 Dir->setCounters(Exprs.Counters);
530 Dir->setCounters(Exprs.Counters);
897 Dir->setCounters(Exprs.Counters);
1042 Dir->setCounters(Exprs.Counters);
1094 Dir->setCounters(Exprs.Counters);
1145 Dir->setCounters(Exprs.Counters);
1198 Dir->setCounters(Exprs.Counters);
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp847 GlobalVariable *Counters =
852 CountersBySP.push_back(std::make_pair(Counters, SP));
869 Counters->getValueType(), Counters, 0, Edge);
885 Counters->getValueType(), Counters, 0, Edge);
H A DInstrProfiling.cpp637 GlobalVariable *Counters = getOrCreateRegionCounters(Inc); local
641 Value *Addr = Builder.CreateConstInBoundsGEP2_64(Counters->getValueType(),
642 Counters, 0, Index);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h583 8 * CollapsedNum; // Counters, PrivateCounters, Inits,
823 /// Counters Loop counters.
824 SmallVector<Expr *, 4> Counters; member in struct:clang::OMPLoopDirective::HelperExprs
880 Counters.resize(Size);
889 Counters[i] = nullptr;
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp7806 Built.Counters.resize(NestedLoopCount);
7902 Built.Counters[Cnt] = IS.CounterVar;
7912 Built.Counters[NestedLoopCount - 1 - IS.LoopDependentIdx];

Completed in 138 milliseconds