| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 77 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
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | stats_test.cpp | 29 scudo::uptr Counters[scudo::StatCount] = {}; in TEST() local 30 GStats.get(Counters); in TEST() 32 EXPECT_EQ(Counters[I], 0U); in TEST() 38 GStats.get(Counters); in TEST() 40 EXPECT_EQ(Counters[I], 4096U); in TEST() 43 GStats.get(Counters); in TEST() 45 EXPECT_EQ(Counters[I], 4096U); in TEST()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | DebugCounter.cpp | 113 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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/ |
| H A D | ProfileGenerator.h | 37 const ContextSampleCounterMap *Counters) in ProfileGeneratorBase() argument 38 : Binary(Binary), SampleCounters(Counters){}; in ProfileGeneratorBase() 45 create(ProfiledBinary *Binary, const ContextSampleCounterMap *Counters, 150 const ContextSampleCounterMap *Counters) in ProfileGenerator() argument 151 : ProfileGeneratorBase(Binary, Counters){}; in ProfileGenerator() 184 const ContextSampleCounterMap *Counters) in CSProfileGenerator() argument 185 : ProfileGeneratorBase(Binary, Counters){}; in CSProfileGenerator()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkRunner.cpp | 50 Expected<int64_t> runAndMeasure(const char *Counters) const override { in runAndMeasure() 51 auto ResultOrError = runAndSample(Counters); in runAndMeasure() 68 runAndSample(const char *Counters) const override { in runAndSample() 74 StringRef(Counters).split(CounterNames, '+'); in runAndSample()
|
| H A D | BenchmarkRunner.h | 92 virtual Expected<int64_t> runAndMeasure(const char *Counters) const = 0; 95 runAndSample(const char *Counters) const = 0;
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | StmtOpenMP.cpp | 315 Dir->setCounters(Exprs.Counters); in Create() 358 Dir->setCounters(Exprs.Counters); in Create() 473 Dir->setCounters(Exprs.Counters); in Create() 603 Dir->setCounters(Exprs.Counters); in Create() 648 Dir->setCounters(Exprs.Counters); in Create() 980 Dir->setCounters(Exprs.Counters); in Create() 1084 Dir->setCounters(Exprs.Counters); in Create() 1129 Dir->setCounters(Exprs.Counters); in Create() 1172 Dir->setCounters(Exprs.Counters); in Create() 1217 Dir->setCounters(Exprs.Counters); in Create() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Target/ |
| H A D | TargetPfmCounters.td | 1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===// 46 ProcPfmCounters Counters = counters;
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsPfmCounters.td | 1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64PfmCounters.td | 1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCPfmCounters.td | 1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86PfmCounters.td | 1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===// 20 // Intel X86 Counters. 191 // AMD X86 Counters.
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfWriter.h | 103 const InstrProfRecord &Counters,
|
| /openbsd-src/gnu/llvm/llvm/docs/AMDGPU/ |
| H A D | gfx8_hwreg.rst | 53 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx7_hwreg.rst | 53 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx90a_hwreg.rst | 53 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx9_hwreg.rst | 53 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx11_hwreg.rst | 54 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx1030_hwreg.rst | 54 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx10_hwreg.rst | 54 HW_REG_IB_STS Counters of outstanding instructions.
|
| H A D | gfx940_hwreg.rst | 53 HW_REG_IB_STS Counters of outstanding instructions.
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 912 GlobalVariable *Counters = new GlobalVariable( in emitProfileNotes() local 915 CountersBySP.emplace_back(Counters, SP); in emitProfileNotes() 921 Counters->getValueType(), Counters, 0, I); in emitProfileNotes()
|
| H A D | InstrProfiling.cpp | 669 auto *Counters = getOrCreateRegionCounters(I); in getCounterAddress() local 673 Counters->getValueType(), Counters, 0, I->getIndex()->getZExtValue()); in getCounterAddress()
|