| /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/lib/ProfileData/ |
| H A D | PGOCtxProfWriter.cpp | 59 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter() 64 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter() 69 DescribeRecord(PGOCtxProfileRecords::Counters, "Counters"); in PGOCtxProfileWriter() 78 void PGOCtxProfileWriter::writeCounters(ArrayRef<uint64_t> Counters) { in writeCounters() argument 80 Writer.EmitVBR(PGOCtxProfileRecords::Counters, VBREncodingBits); in writeCounters() 81 Writer.EmitVBR(Counters.size(), VBREncodingBits); in writeCounters() 82 for (uint64_t C : Counters) in writeCounters() 174 std::vector<uint64_t> Counters; member 198 auto AllocSize = ctx_profile::ContextNode::getAllocSize(DC.Counters.size(), in createNode() 202 auto *Ret = new (Mem) ctx_profile::ContextNode(DC.Guid, DC.Counters.size(), in createNode() [all …]
|
| H A D | PGOCtxProfReader.cpp | 39 SmallVectorImpl<uint64_t> &&Counters) { in getOrEmplace() argument 41 Callsites[Index].insert({G, PGOCtxProfContext(G, std::move(Counters))}); in getOrEmplace() 97 std::optional<SmallVector<uint64_t, 16>> Counters; in readProfile() local 109 return Guid.has_value() && Counters.has_value() && in readProfile() 137 case PGOCtxProfileRecords::Counters: in readProfile() 138 Counters = std::move(RecordValues); in readProfile() 139 if (Counters->empty()) in readProfile() 165 PGOCtxProfContext Ret(*Guid, std::move(*Counters), TotalEntryCount, in readProfile() 308 const SmallVectorImpl<uint64_t> &Counters, in toYaml() argument 330 for (size_t I = 0U, E = Counters.size(); I < E; ++I) { [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | PGOCtxProfReader.h | 101 SmallVector<uint64_t, 16> Counters; variable 107 GlobalValue::GUID G, SmallVectorImpl<uint64_t> &&Counters, 110 : GUID(G), Counters(std::move(Counters)), RootEntryCount(RootEntryCount), in GUID() 117 SmallVectorImpl<uint64_t> &&Counters); 130 const SmallVectorImpl<uint64_t> &counters() const { return Counters; } in counters() 131 SmallVectorImpl<uint64_t> &counters() { return Counters; } in counters() 139 assert(!Counters.empty() && in getEntrycount() 142 return Counters[0]; in getEntrycount() 159 void resizeCounters(uint32_t Size) { Counters.resize(Size); } in resizeCounters()
|
| H A D | PGOCtxProfWriter.h | 28 Counters, enumerator 87 void writeCounters(ArrayRef<uint64_t> Counters);
|
| H A D | InstrProfWriter.h | 159 const InstrProfRecord &Counters,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 98 return instance().Counters[ID].IsSet; in isCounterSet() 109 auto Result = Us.Counters.find(ID); in getCounterState() 110 assert(Result != Us.Counters.end() && "Asking about a non-set counter"); in getCounterState() 117 auto &Counter = Us.Counters[ID]; in setCounterState() 139 return std::make_pair(RegisteredCounters[ID], Counters.lookup(ID).Desc); in getCounterInfo() 168 auto &C = Counters[Result]; in addCounter() 182 DenseMap<unsigned, CounterInfo> Counters; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CtxProfAnalysis.cpp | 195 ArrayRef<uint64_t> Counters; member in llvm::ProfileAnnotatorImpl 271 assert(Index < Counters.size()); in allNonColdSelectsHaveProfile() 272 if (Counters[Index] == 0) in allNonColdSelectsHaveProfile() 312 ProfileAnnotatorImpl(const Function &F, ArrayRef<uint64_t> Counters) in ProfileAnnotatorImpl() argument 313 : F(F), Counters(Counters) { in ProfileAnnotatorImpl() 315 assert(!Counters.empty()); in ProfileAnnotatorImpl() 322 assert(Index < Counters.size() && in ProfileAnnotatorImpl() 327 Count = Counters[Ins->getIndex()->getZExtValue()]; in ProfileAnnotatorImpl() 387 assert(Index < PImpl->Counters.size() && in getSelectInstrProfile() 393 TrueCount = PImpl->Counters[Index]; in getSelectInstrProfile() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DebugCounter.cpp | 202 CounterInfo &Counter = Counters[CounterID]; in push_back() 216 const CounterInfo &C = Us.Counters[CounterID]; in print() 226 auto Result = Us.Counters.find(CounterName); in shouldExecuteImpl() 227 if (Result != Us.Counters.end()) { in shouldExecuteImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtOpenMP.cpp | 315 Dir->setCounters(Exprs.Counters); in Create() 358 Dir->setCounters(Exprs.Counters); in Create() 534 Dir->setCounters(Exprs.Counters); in Create() 681 Dir->setCounters(Exprs.Counters); in Create() 726 Dir->setCounters(Exprs.Counters); in Create() 1075 Dir->setCounters(Exprs.Counters); in Create() 1179 Dir->setCounters(Exprs.Counters); in Create() 1224 Dir->setCounters(Exprs.Counters); in Create() 1267 Dir->setCounters(Exprs.Counters); in Create() 1312 Dir->setCounters(Exprs.Counters); in Create() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/ |
| H A D | CtxInstrProfiling.cpp | 291 uint32_t Counters, uint32_t Callsites) in tryStartContextGivenRoot() argument 297 setupContext(Root, Guid, Counters, Callsites); in tryStartContextGivenRoot() 409 uint32_t Counters, in __llvm_ctx_profile_start_context() argument 413 return tryStartContextGivenRoot(Root, Guid, Counters, Callsites); in __llvm_ctx_profile_start_context()
|
| H A D | CtxInstrProfiling.h | 202 uint32_t Counters, uint32_t Callsites);
|
| /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/Mips/ |
| H A D | MipsPfmCounters.td | 1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCPfmCounters.td | 1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
|
| /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 | 182 // Pfm Counters
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVPfmCounters.td | 1 //===---- RISCVPfmCounters.td - RISC-V Hardware Counters ---*- tablegen -*-===//
|
| H A D | RISCV.td | 77 // Pfm Counters
|
| /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/packages/pmc/ |
| H A D | pmc.ucl | 4 The Performance Counters Library (libpmc, -lpmc) provides a programming
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PfmCounters.td | 1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===// 20 // Intel X86 Counters. 259 // AMD X86 Counters.
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 892 GlobalVariable *Counters = new GlobalVariable( in emitProfileNotes() local 897 Counters->setSection("__llvm_gcov_ctr_section"); in emitProfileNotes() 898 CountersBySP.emplace_back(Counters, SP); in emitProfileNotes() 904 Counters->getValueType(), Counters, 0, I); in emitProfileNotes()
|