OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SuccWeights
(Results
1 - 2
of
2
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/lib/Analysis/
BranchProbabilityInfo.cpp
840
SmallVector<uint32_t, 4>
SuccWeights
;
842
// Go over all successors of BB and put their weights into
SuccWeights
.
876
SuccWeights
.push_back(WeightVal);
885
assert(
SuccWeights
.size() == succ_size(BB) && "Missed successor?");
886
const unsigned SuccCount =
SuccWeights
.size();
894
SuccWeights
[Idx] /= ScalingFactor;
895
if (
SuccWeights
[Idx] == static_cast<uint32_t>(BlockExecWeight::ZERO))
896
SuccWeights
[Idx] =
898
TotalWeight +=
SuccWeights
[Idx];
909
BranchProbability(
SuccWeights
[Idx], (uint32_t)TotalWeight)
[
all
...]
/src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp
1150
SmallVector<uint64_t, 8>
SuccWeights
;
1152
GetBranchWeights(TI,
SuccWeights
);
1154
if (
SuccWeights
.size() != 1 + BBCases.size())
1157
SuccWeights
.assign(1 + BBCases.size(), 1);
1201
Weights.push_back(Weights[0] *
SuccWeights
[i + 1]);
1202
ValidTotalSuccWeight +=
SuccWeights
[i + 1];
1207
ValidTotalSuccWeight +=
SuccWeights
[0];
1211
// Scale the default weight by SuccDefaultWeight (
SuccWeights
[0]).
1212
Weights[0] *=
SuccWeights
[0];
Completed in 19 milliseconds
Indexes created Fri Jun 19 00:25:02 UTC 2026