Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h77 auto Result = Us.Counters.find(CounterName); in shouldExecute()
78 if (Result != Us.Counters.end()) { in shouldExecute()
101 return instance().Counters[ID].IsSet; in isCounterSet()
107 auto Result = Us.Counters.find(ID); in getCounterValue()
108 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterValue()
115 Us.Counters[ID].Count = Count; in setCounterValue()
133 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
162 Counters[Result] = {}; in addCounter()
163 Counters[Result].Desc = Desc; in addCounter()
174 DenseMap<unsigned, CounterInfo> Counters; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp113 CounterInfo &Counter = Counters[CounterID]; in push_back()
126 CounterInfo &Counter = Counters[CounterID]; in push_back()
145 << Us.Counters[CounterID].Count << "," << Us.Counters[CounterID].Skip in print()
146 << "," << Us.Counters[CounterID].StopAfter << "}\n"; in print()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp314 Dir->setCounters(Exprs.Counters); in Create()
359 Dir->setCounters(Exprs.Counters); in Create()
475 Dir->setCounters(Exprs.Counters); in Create()
622 Dir->setCounters(Exprs.Counters); in Create()
667 Dir->setCounters(Exprs.Counters); in Create()
999 Dir->setCounters(Exprs.Counters); in Create()
1103 Dir->setCounters(Exprs.Counters); in Create()
1148 Dir->setCounters(Exprs.Counters); in Create()
1191 Dir->setCounters(Exprs.Counters); in Create()
1236 Dir->setCounters(Exprs.Counters); in Create()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetPfmCounters.td1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===//
74 ProcPfmCounters Counters = counters;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPfmCounters.td1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
H A DMips.td285 // Pfm Counters
/freebsd-14.2/sys/contrib/device-tree/Bindings/arc/
H A Darchs-pct.txt1 * ARC HS Performance Counters
H A Dpct.txt1 * ARC Performance Counters
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPfmCounters.td1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
H A DPPC.td718 // Pfm Counters
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PfmCounters.td1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
H A DAArch64.td1775 // Pfm Counters
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PfmCounters.td1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===//
20 // Intel X86 Counters.
206 // AMD X86 Counters.
H A DX86.td1977 // Pfm Counters
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h126 const InstrProfRecord &Counters,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp851 auto *Counters = getOrCreateRegionCounters(I); in getCounterAddress() local
855 Counters->setAlignment(Align(8)); in getCounterAddress()
858 Counters->getValueType(), Counters, 0, I->getIndex()->getZExtValue()); in getCounterAddress()
H A DGCOVProfiling.cpp914 GlobalVariable *Counters = new GlobalVariable( in emitProfileNotes() local
917 CountersBySP.emplace_back(Counters, SP); in emitProfileNotes()
923 Counters->getValueType(), Counters, 0, I); in emitProfileNotes()
/freebsd-14.2/contrib/mandoc/
H A Dlib.in97 LINE("libpmc", "Performance Counters Library (libpmc, \\-lpmc)")
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFeatures.td71 "'Zicntr' (Base Counters and Timers)",
104 "'Zihpm' (Hardware Performance Counters)",
/freebsd-14.2/sys/x86/conf/
H A DNOTES41 options COUNT_XINVLTLB_HITS # Counters for TLB events
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenMP.h804 SmallVector<Expr *, 4> Counters; member
860 Counters.resize(Size); in clear()
869 Counters[I] = nullptr; in clear()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp10279 Built.Counters.resize(NestedLoopCount); in checkOpenMPLoop()
10373 Built.Counters[Cnt] = IS.CounterVar; in checkOpenMPLoop()
10382 Built.DependentCounters[Cnt] = Built.Counters[IS.LoopDependentIdx - 1]; in checkOpenMPLoop()
15007 assert(LoopHelper.Counters.size() == 1 && in ActOnOpenMPTileDirective()
15009 auto *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters.front()); in ActOnOpenMPTileDirective()
15044 for (Expr *CounterRef : LoopHelper.Counters) { in ActOnOpenMPTileDirective()
15058 auto *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters[0]); in ActOnOpenMPTileDirective()
15134 DeclRefExpr *OrigCntVar = cast<DeclRefExpr>(LoopHelper.Counters[0]); in ActOnOpenMPTileDirective()
15289 for (Expr *CounterRef : LoopHelper.Counters) { in ActOnOpenMPUnrollDirective()
15297 assert(LoopHelper.Counters.size() == 1 && in ActOnOpenMPUnrollDirective()
[all …]
/freebsd-14.2/sys/dev/aic7xxx/
H A Daic79xx.reg1590 * Data Length Counters

12