OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Counts
(Results
1 - 7
of
7
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/include/llvm/Support/
TrigramIndex.h
57
std::vector<unsigned>
Counts
;
59
// are used in
Counts
to store per-rule limits.
/src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SyntheticCountsPropagation.cpp
1
//=- SyntheticCountsPropagation.cpp - Propagate function
counts
--*- C++ -*-=//
9
// This file implements a transformation that synthesizes entry
counts
for
11
//
counts
. The presence of !prof metadata with counter name set to
15
// function entry
counts
in the PGO mode.
18
//
counts
of all functions and then doing a top-down traversal of the
19
// callgraph-scc to propagate the
counts
. For each function the set of callsites
22
// count. For non-trivial SCCs, the new
counts
are computed from the previous
23
//
counts
and updated in one shot.
45
#define DEBUG_TYPE "synthetic-
counts
-propagation"
64
// Assign initial synthetic entry
counts
to functions
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
CGProfile.cpp
29
MapVector<std::pair<Function *, Function *>, uint64_t> &
Counts
) {
30
if (
Counts
.empty())
37
for (auto E :
Counts
) {
52
MapVector<std::pair<Function *, Function *>, uint64_t>
Counts
;
59
uint64_t &Count =
Counts
[std::make_pair(F, CalledF)];
101
return addModuleFlags(M,
Counts
);
/src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp
245
std::vector<uint64_t>
Counts
;
247
Record.FunctionHash,
Counts
)) {
255
Counts
.assign(getMaxCounterID(Ctx, Record) + 1, 0);
257
Ctx.setCounts(
Counts
);
263
// the other TU will either be loaded (providing full region
counts
) or they
265
// when they have non-zero
counts
in the profile).
267
Record.MappingRegions[0].Count.isZero() &&
Counts
[0] > 0)
582
/// Combine
counts
of regions which cover the same area.
601
// to accumulate
counts
only from CodeRegions, or else the area will be
608
// We add
counts
of the regions of the same kind as the active regio
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
InstrProf.h
679
/// Optionally scale merged
counts
by \p Weight.
682
/// Scale up value profile data
counts
by N (Numerator) / D (Denominator).
692
std::vector<uint64_t>
Counts
;
695
InstrProfRecord(std::vector<uint64_t>
Counts
) :
Counts
(std::move(
Counts
)) {}
698
:
Counts
(RHS.
Counts
),
704
Counts
= RHS.
Counts
;
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LowerMatrixIntrinsics.cpp
1917
/// Calculate the number of exclusive and shared op
counts
for expression
1995
OpInfoTy
Counts
, SharedCounts;
1996
std::tie(
Counts
, SharedCounts) =
2003
Rem << ore::NV("NumStores",
Counts
.NumStores) << " stores, "
2004
<< ore::NV("NumLoads",
Counts
.NumLoads) << " loads, "
2005
<< ore::NV("NumComputeOps",
Counts
.NumComputeOps)
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntime.cpp
7158
MapNonContiguousArrayTy
Counts
;
7182
NonContigInfo.
Counts
.append(CurInfo.NonContigInfo.
Counts
.begin(),
7183
CurInfo.NonContigInfo.
Counts
.end());
8204
CombinedInfo.NonContigInfo.
Counts
.push_back(CurCounts);
9249
CGF.EmitStoreOfScalar(NonContigInfo.
Counts
[L][RevIdx], CountLVal);
Completed in 33 milliseconds
Indexes created Wed Aug 05 00:25:39 UTC 2026