Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h56 const auto &Counters = It->second; in GetCounter() local
57 if (BasicBlockId < Counters.size()) in GetCounter()
58 return Counters[BasicBlockId]; in GetCounter()
65 const auto &Counters = It->second; in GetNumberOfBlocks() local
72 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() local
74 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks()
88 for (auto Cnt : Counters) in NumberOfCoveredBlocks()
96 NumberOfCoveredBlocks(Counters); in NumberOfUncoveredBlocks()
100 assert(!Counters.empty()); in SmallestNonZeroCounter()
101 uint32_t Res = Counters[0]; in SmallestNonZeroCounter()
[all …]
H A DFuzzerDataFlowTrace.cpp69 auto &Counters = in AppendCoverage() local
75 if (Counters.size() != NumBlocks) return false; // wrong number of blocks. in AppendCoverage()
77 Counters[0]++; in AppendCoverage()
79 Counters[BB]++; in AppendCoverage()
93 auto Counters = It.second; in FunctionWeights() local
99 Weight /= SmallestNonZeroCounter(Counters); in FunctionWeights()
101 Weight *= NumberOfUncoveredBlocks(Counters) + 1; in FunctionWeights()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A 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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp111 CounterInfo &Counter = Counters[CounterID]; in push_back()
124 CounterInfo &Counter = Counters[CounterID]; in push_back()
143 << Us.Counters[CounterID].Count << "," << Us.Counters[CounterID].Skip in print()
144 << "," << Us.Counters[CounterID].StopAfter << "}\n"; in print()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h230 PackedCounterArray Counters(NumberOfRegions, PagesCount, in releaseFreeMemoryToOS()
232 if (!Counters.isAllocated()) in releaseFreeMemoryToOS()
250 Counters.inc(RegionIndex, PInRegion >> PageSizeLog); in releaseFreeMemoryToOS()
264 Counters.incRange(RegionIndex, PInRegion >> PageSizeLog, in releaseFreeMemoryToOS()
271 Counters.incRange(RegionIndex, PInRegion >> PageSizeLog, in releaseFreeMemoryToOS()
291 RangeTracker.processNextPage(Counters.get(I, J) == in releaseFreeMemoryToOS()
324 RangeTracker.processNextPage(Counters.get(I, J) == BlocksPerPage); in releaseFreeMemoryToOS()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp290 Dir->setCounters(Exprs.Counters); in Create()
333 Dir->setCounters(Exprs.Counters); in Create()
419 Dir->setCounters(Exprs.Counters); in Create()
549 Dir->setCounters(Exprs.Counters); in Create()
594 Dir->setCounters(Exprs.Counters); in Create()
887 Dir->setCounters(Exprs.Counters); in Create()
991 Dir->setCounters(Exprs.Counters); in Create()
1036 Dir->setCounters(Exprs.Counters); in Create()
1079 Dir->setCounters(Exprs.Counters); in Create()
1124 Dir->setCounters(Exprs.Counters); in Create()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetPfmCounters.td1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===//
46 ProcPfmCounters Counters = counters;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPfmCounters.td1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
H A DPPC.td653 // Pfm Counters
/freebsd-13.1/sys/contrib/device-tree/Bindings/arc/
H A Darchs-pct.txt1 * ARC HS Performance Counters
H A Dpct.txt1 * ARC Performance Counters
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPfmCounters.td1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
H A DMips.td278 // Pfm Counters
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PfmCounters.td1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
H A DAArch64.td1286 // Pfm Counters
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PfmCounters.td1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===//
20 // Intel X86 Counters.
148 // AMD X86 Counters.
H A DX86.td1515 // Pfm Counters
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h76 const InstrProfRecord &Counters,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp959 GlobalVariable *Counters = new GlobalVariable( in emitProfileNotes() local
962 CountersBySP.emplace_back(Counters, SP); in emitProfileNotes()
968 Counters->getValueType(), Counters, 0, I); in emitProfileNotes()
H A DInstrProfiling.cpp680 GlobalVariable *Counters = getOrCreateRegionCounters(Inc); in lowerIncrement() local
684 Value *Addr = Builder.CreateConstInBoundsGEP2_64(Counters->getValueType(), in lowerIncrement()
685 Counters, 0, Index); in lowerIncrement()
/freebsd-13.1/contrib/mandoc/
H A Dlib.in97 LINE("libpmc", "Performance Counters Library (libpmc, \\-lpmc)")
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h788 SmallVector<Expr *, 4> Counters; member
844 Counters.resize(Size); in clear()
853 Counters[I] = nullptr; in clear()
/freebsd-13.1/sys/amd64/conf/
H A DNOTES57 options COUNT_XINVLTLB_HITS # Counters for TLB events
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp9446 Built.Counters.resize(NestedLoopCount); in checkOpenMPLoop()
9542 Built.Counters[Cnt] = IS.CounterVar; in checkOpenMPLoop()
9552 Built.Counters[NestedLoopCount - 1 - IS.LoopDependentIdx]; in checkOpenMPLoop()
12656 assert(LoopHelper.Counters.size() == 1 && in ActOnOpenMPTileDirective()
12658 auto *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters.front()); in ActOnOpenMPTileDirective()
12693 for (Expr *CounterRef : LoopHelper.Counters) { in ActOnOpenMPTileDirective()
12707 auto *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters[0]); in ActOnOpenMPTileDirective()
12783 DeclRefExpr *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters[0]); in ActOnOpenMPTileDirective()
12936 for (Expr *CounterRef : LoopHelper.Counters) { in ActOnOpenMPUnrollDirective()
12944 assert(LoopHelper.Counters.size() == 1 && in ActOnOpenMPUnrollDirective()
[all …]
/freebsd-13.1/sys/i386/conf/
H A DNOTES74 options COUNT_XINVLTLB_HITS # Counters for TLB events

12