Home
last modified time | relevance | path

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

12

/freebsd/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
66 return static_cast<uint32_t>(Counters.size()); in GetNumberOfBlocks()
72 const auto &Counters = It->second; in GetNumberOfCoveredBlocks() local
74 for (auto Cnt: Counters) in GetNumberOfCoveredBlocks()
86 uint32_t NumberOfCoveredBlocks(const CoverageVector &Counters) const { in NumberOfCoveredBlocks() argument
88 for (auto Cnt : Counters) in NumberOfCoveredBlocks()
94 uint32_t NumberOfUncoveredBlocks(const CoverageVector &Counters) const { in NumberOfUncoveredBlocks() argument
[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/contrib/llvm-project/llvm/include/llvm/Support/
H A DDebugCounter.h97 return instance().Counters[ID].IsSet; in isCounterSet()
108 auto Result = Us.Counters.find(ID); in getCounterState()
109 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterState()
116 auto &Counter = Us.Counters[ID]; in setCounterState()
136 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo()
165 Counters[Result] = {}; in addCounter()
166 Counters[Result].Desc = Desc; in addCounter()
178 DenseMap<unsigned, CounterInfo> Counters; variable
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DPGOCtxProfReader.cpp37 SmallVectorImpl<uint64_t> &&Counters) { in getOrEmplace() argument
39 {G, PGOContextualProfile(G, std::move(Counters))}); in getOrEmplace()
81 std::optional<SmallVector<uint64_t, 16>> Counters; in readContext() local
90 return Guid.has_value() && Counters.has_value() && in readContext()
107 case PGOCtxProfileRecords::Counters: in readContext()
108 Counters = std::move(RecordValues); in readContext()
109 if (Counters->empty()) in readContext()
127 PGOContextualProfile Ret(*Guid, std::move(*Counters)); in readContext()
H A DPGOCtxProfWriter.cpp21 Writer.EmitVBR(PGOCtxProfileRecords::Counters, VBREncodingBits); in writeCounters()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DPGOCtxProfReader.h42 SmallVector<uint64_t, 16> Counters; variable
46 SmallVectorImpl<uint64_t> &&Counters) in PGOContextualProfile() argument
47 : GUID(G), Counters(std::move(Counters)) {} in PGOContextualProfile()
51 SmallVectorImpl<uint64_t> &&Counters);
60 const SmallVectorImpl<uint64_t> &counters() const { return Counters; } in counters()
H A DPGOCtxProfWriter.h21 enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters }; enumerator
H A DInstrProfWriter.h145 const InstrProfRecord &Counters,
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp197 CounterInfo &Counter = Counters[CounterID]; in push_back()
212 << Us.Counters[CounterID].Count << ","; in print()
213 printChunks(OS, Us.Counters[CounterID].Chunks); in print()
220 auto Result = Us.Counters.find(CounterName); in shouldExecuteImpl()
221 if (Result != Us.Counters.end()) { in shouldExecuteImpl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenMP.cpp314 Dir->setCounters(Exprs.Counters); in Create()
359 Dir->setCounters(Exprs.Counters); in Create()
513 Dir->setCounters(Exprs.Counters); in Create()
660 Dir->setCounters(Exprs.Counters); in Create()
705 Dir->setCounters(Exprs.Counters); in Create()
1037 Dir->setCounters(Exprs.Counters); in Create()
1141 Dir->setCounters(Exprs.Counters); in Create()
1186 Dir->setCounters(Exprs.Counters); in Create()
1229 Dir->setCounters(Exprs.Counters); in Create()
1274 Dir->setCounters(Exprs.Counters); in Create()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetPfmCounters.td1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===//
76 ProcPfmCounters Counters = counters;
/freebsd/sys/contrib/device-tree/Bindings/arc/
H A Darchs-pct.txt1 * ARC HS Performance Counters
H A Dpct.txt1 * ARC Performance Counters
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PfmCounters.td1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
H A DAArch64.td170 // Pfm Counters
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsPfmCounters.td1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
H A DMips.td289 // Pfm Counters
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCPfmCounters.td1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DCtxInstrProfiling.cpp257 ContextRoot *Root, GUID Guid, uint32_t Counters, in __llvm_ctx_profile_start_context() argument
260 setupContext(Root, Guid, Counters, Callsites); in __llvm_ctx_profile_start_context()
H A DCtxInstrProfiling.h146 GUID Guid, uint32_t Counters,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PfmCounters.td1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===//
20 // Intel X86 Counters.
223 // AMD X86 Counters.
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
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()
H A DInstrProfiling.cpp1104 auto *Counters = getOrCreateRegionCounters(I); in getCounterAddress() local
1108 Counters->setAlignment(Align(8)); in getCounterAddress()
1111 Counters->getValueType(), Counters, 0, I->getIndex()->getZExtValue()); in getCounterAddress()
/freebsd/contrib/mandoc/
H A Dlib.in97 LINE("libpmc", "Performance Counters Library (libpmc, \\-lpmc)")
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFeatures.td122 "'Zicntr' (Base Counters and Timers)",
158 "'Zihpm' (Hardware Performance Counters)",

12