Home
last modified time | relevance | path

Searched refs:CounterInfo (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp197 CounterInfo &Counter = Counters[CounterID]; in push_back()
222 auto &CounterInfo = Result->second; in shouldExecuteImpl() local
223 int64_t CurrCount = CounterInfo.Count++; in shouldExecuteImpl()
224 uint64_t CurrIdx = CounterInfo.CurrChunkIdx; in shouldExecuteImpl()
226 if (CounterInfo.Chunks.empty()) in shouldExecuteImpl()
228 if (CurrIdx >= CounterInfo.Chunks.size()) in shouldExecuteImpl()
231 bool Res = CounterInfo.Chunks[CurrIdx].contains(CurrCount); in shouldExecuteImpl()
232 if (Us.BreakOnLast && CurrIdx == (CounterInfo.Chunks.size() - 1) && in shouldExecuteImpl()
233 CurrCount == CounterInfo.Chunks[CurrIdx].End) { in shouldExecuteImpl()
236 if (CurrCount > CounterInfo.Chunks[CurrIdx].End) { in shouldExecuteImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h170 struct CounterInfo { struct
178 DenseMap<unsigned, CounterInfo> Counters; argument