/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerDataFlowTrace.h | 56 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 D | FuzzerDataFlowTrace.cpp | 69 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 D | DebugCounter.h | 97 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 D | PGOCtxProfReader.cpp | 37 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 D | PGOCtxProfWriter.cpp | 21 Writer.EmitVBR(PGOCtxProfileRecords::Counters, VBREncodingBits); in writeCounters()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | PGOCtxProfReader.h | 42 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 D | PGOCtxProfWriter.h | 21 enum PGOCtxProfileRecords { Invalid = 0, Version, Guid, CalleeIndex, Counters }; enumerator
|
H A D | InstrProfWriter.h | 145 const InstrProfRecord &Counters,
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DebugCounter.cpp | 197 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 D | StmtOpenMP.cpp | 314 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 D | TargetPfmCounters.td | 1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===// 76 ProcPfmCounters Counters = counters;
|
/freebsd/sys/contrib/device-tree/Bindings/arc/ |
H A D | archs-pct.txt | 1 * ARC HS Performance Counters
|
H A D | pct.txt | 1 * ARC Performance Counters
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64PfmCounters.td | 1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
|
H A D | AArch64.td | 170 // Pfm Counters
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsPfmCounters.td | 1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
|
H A D | Mips.td | 289 // Pfm Counters
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCPfmCounters.td | 1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/ |
H A D | CtxInstrProfiling.cpp | 257 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 D | CtxInstrProfiling.h | 146 GUID Guid, uint32_t Counters,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PfmCounters.td | 1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===// 20 // Intel X86 Counters. 223 // AMD X86 Counters.
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 914 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 D | InstrProfiling.cpp | 1104 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 D | lib.in | 97 LINE("libpmc", "Performance Counters Library (libpmc, \\-lpmc)")
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFeatures.td | 122 "'Zicntr' (Base Counters and Timers)", 158 "'Zihpm' (Hardware Performance Counters)",
|