Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dstats_test.cpp29 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 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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfileGenerator.h37 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 DBenchmarkRunner.cpp50 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 DBenchmarkRunner.h92 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 DStmtOpenMP.cpp315 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 DTargetPfmCounters.td1 //===- TargetPfmCounters.td - Target Pfm Counters -*- tablegen ----------*-===//
46 ProcPfmCounters Counters = counters;
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsPfmCounters.td1 //===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64PfmCounters.td1 //===-- AArch64PfmCounters.td - AArch64 Hardware Counters --*- tablegen -*-===//
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCPfmCounters.td1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86PfmCounters.td1 //===-- X86PfmCounters.td - X86 Hardware Counters ----------*- tablegen -*-===//
20 // Intel X86 Counters.
191 // AMD X86 Counters.
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h103 const InstrProfRecord &Counters,
/openbsd-src/gnu/llvm/llvm/docs/AMDGPU/
H A Dgfx8_hwreg.rst53 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx7_hwreg.rst53 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx90a_hwreg.rst53 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx9_hwreg.rst53 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx11_hwreg.rst54 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx1030_hwreg.rst54 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx10_hwreg.rst54 HW_REG_IB_STS Counters of outstanding instructions.
H A Dgfx940_hwreg.rst53 HW_REG_IB_STS Counters of outstanding instructions.
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp912 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 DInstrProfiling.cpp669 auto *Counters = getOrCreateRegionCounters(I); in getCounterAddress() local
673 Counters->getValueType(), Counters, 0, I->getIndex()->getZExtValue()); in getCounterAddress()

12