Home
last modified time | relevance | path

Searched full:weight (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h23 /// Normalize the spill weight of a live interval
25 /// The spill weight of a live interval is computed as:
37 // intervals have a spill weight that is mostly proportional to the number in normalizeSpillWeight()
38 // of uses, while large intervals get a spill weight that is closer to a use in normalizeSpillWeight()
44 /// spill weight and allocation hint.
64 /// (re)compute li's spill weight and allocation hint.
84 /// Helper function for weight calculations.
85 /// (Re)compute LI's spill weight and allocation hint, or, for non null
86 /// start and end - compute future expected spill weight of a split
88 /// \param LI The live interval for which to compute the weight.
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h267 /// The weight of a basic block is defined to be the maximum
354 /// Print the weight of edge \p E on stream \p OS.
360 OS << "weight[" << E.first->getName() << "->" << E.second->getName()
376 /// Print the weight of block \p BB on stream \p OS.
385 OS << "weight[" << BB->getName() << "]: " << W << "\n";
389 /// Get the weight for an instruction.
391 /// The "weight" of an instruction \p Inst is the number of samples
399 /// \returns the weight of \p Inst.
447 << Discriminator << " - weight: " << R.get() << ")\n");
452 // Here use error_code to represent: 1) The dangling probe. 2) Ignore the weight
[all …]
/freebsd/contrib/mandoc/
H A Dmandoc.css114 font-weight: bold; }
159 font-weight: normal; }
162 font-weight: normal; }
166 font-weight: normal; }
168 font-weight: normal; }
188 font-weight: bold;
191 font-weight: bold;
194 font-weight: bold;
197 font-weight: normal; }
200 font-weight: bold;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h92 // 1. we prefer instrumenting those other edges by setting the weight in findBBInfo()
110 // Traverse the CFG using a stack. Find all the edges and assign the weight. in buildEdges()
111 // Edges with large weight will be put into MST first so they are less likely in buildEdges()
119 // If we want to instrument the entry count, lower the weight to 0. in buildEdges()
143 uint64_t Weight = 2; in buildEdges()
156 Weight = BPI->getEdgeProbability(&BB, TargetBB).scale(scaleFactor); in buildEdges()
157 if (Weight == 0) in buildEdges()
158 Weight++; in buildEdges()
159 auto *E = &addEdge(&BB, TargetBB, Weight); in buildEdges()
163 << TargetBB->getName() << " w=" << Weight << "\ in buildEdges()
129 uint64_t Weight = 2; buildEdges() local
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h26 ProfiledCallGraphNode *Target, uint64_t Weight)
27 : Source(Source), Target(Target), Weight(Weight) {} in ProfiledCallGraphEdge()
30 uint64_t Weight;
41 // callee only the edge with the largest weight is added to the edge set.
74 // Trim edges with weight up to `IgnoreColdCallThreshold`. This aims
107 // Fetch edge weight from the profile.
108 uint64_t Weight;
111 Weight = 0;
121 Weight
32 uint64_t Weight; global() member
109 uint64_t Weight; global() variable
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOperations.h39 OpDescriptor selectDescriptor(unsigned Weight);
40 OpDescriptor fnegDescriptor(unsigned Weight);
41 OpDescriptor binOpDescriptor(unsigned Weight, Instruction::BinaryOps Op);
42 OpDescriptor cmpOpDescriptor(unsigned Weight, Instruction::OtherOps CmpOp,
44 OpDescriptor splitBlockDescriptor(unsigned Weight);
45 OpDescriptor gepDescriptor(unsigned Weight);
46 OpDescriptor extractValueDescriptor(unsigned Weight);
47 OpDescriptor insertValueDescriptor(unsigned Weight);
48 OpDescriptor extractElementDescriptor(unsigned Weight);
49 OpDescriptor insertElementDescriptor(unsigned Weight);
[all …]
H A DRandom.h52 /// Sample each item in \c Items with unit weight
59 /// Sample a single item with the given weight.
60 ReservoirSampler &sample(const T &Item, uint64_t Weight) { in sample() argument
61 if (!Weight) in sample()
62 // If the weight is zero, do nothing. in sample()
64 TotalWeight += Weight; in sample()
66 if (uniform<uint64_t>(RandGen, 1, TotalWeight) <= Weight) in sample()
83 uint64_t Weight) { in makeSampler() argument
85 RS.sample(Item, Weight); in makeSampler()
/freebsd/contrib/llvm-project/lld/ELF/
H A DCallGraphSort.cpp42 uint64_t weight;
51 return double(weight) / double(size);
57 uint64_t weight = 0;
70 /// the weight of the cluster is the sum of the weight of all incoming
77 /// * The weight of the cluster divided by the size of the cluster. This is a
82 /// * Sort input sections by weight
83 /// * For each input section starting with the highest weight
131 uint64_t weight = c.second; in CallGraphSort()
145 clusters[to].weight in CallGraphSort()
58 uint64_t weight; global() member
73 uint64_t weight = 0; global() member
120 uint64_t weight = c.second; CallGraphSort() local
[all...]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dmetaslab_impl.h85 * The metaslab weight is used to encode the amount of free space in a
87 * metaslabs by weight. The weight (and therefore the "best" metaslab) can
89 * the free space in the metaslab (a space based weight) or by counting only
90 * the free segments of the largest size (a segment based weight). We prefer
91 * the segment based weight because it reflects how the free space is
95 * the segment weight by looking at each bucket in the histogram and
101 * Space-based weight:
112 * Segment-based weight:
124 #define WEIGHT_GET_ACTIVE(weight) BF64_GET((weight), 61, 3) argument
125 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 61, 3, x) argument
[all …]
/freebsd/crypto/heimdal/doc/doxyout/gssapi/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hdb/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hx509/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/krb5/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/ntlm/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/crypto/heimdal/doc/doxyout/wind/html/
H A Ddoxygen.css18 font-weight: bold
51 font-weight: bold;
56 font-weight: bold;
65 font-weight: bold;
82 font-weight: bold
85 font-weight: bold
89 font-weight: normal;
94 font-weight: normal;
98 font-weight: normal;
102 font-weight: normal;
[all …]
/freebsd/contrib/llvm-project/lld/COFF/
H A DCallGraphSort.cpp30 uint64_t weight; member
39 return double(weight) / double(size); in getDensity()
45 uint64_t weight = 0; member
93 uint64_t weight = c.second; in CallGraphSort() local
107 clusters[to].weight += weight; in CallGraphSort()
114 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort()
116 toC.bestPred.weight = weight; in CallGraphSort()
120 c.initialWeight = c.weight; in CallGraphSort()
125 double newDensity = double(a.weight + b.weight) / double(a.size + b.size); in isNewDensityBad()
148 into.weight += from.weight; in mergeClusters()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dairtime_policy.c98 unsigned int weight) in sta_set_airtime_weight() argument
102 if (weight != sta->airtime_weight && in sta_set_airtime_weight()
103 (ret = hostapd_sta_set_airtime_weight(hapd, sta->addr, weight))) in sta_set_airtime_weight()
106 sta->airtime_weight = weight; in sta_set_airtime_weight()
111 static void set_sta_weights(struct hostapd_data *hapd, unsigned int weight) in set_sta_weights() argument
116 sta_set_airtime_weight(hapd, sta, weight); in set_sta_weights()
178 /* If we're in LIMIT mode, we only apply the weight in update_airtime_weights()
197 /* We only set the calculated weight if the BSS has active in update_airtime_weights()
199 * otherwise we just set a unit weight. This ensures that in update_airtime_weights()
238 return wt ? wt->weight : hapd->conf->airtime_weight; in get_weight_for_sta()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp95 using Weight = BlockFrequencyInfoImplBase::Weight; typedef
100 /// This class splits up a single mass into portions by weight, dithering to
111 /// 1. Construct a branch probability, P, as the portion's weight divided
115 /// the current portion's weight and mass.
122 BlockMass takeMass(uint32_t Weight);
134 BlockMass DitheringDistributer::takeMass(uint32_t Weight) { in takeMass() argument
135 assert(Weight && "invalid weight"); in takeMass()
136 assert(Weight <= RemWeight); in takeMass()
137 BlockMass Mass = RemMass * BranchProbability(Weight, RemWeight); in takeMass()
140 RemWeight -= Weight; in takeMass()
[all …]
H A DBranchProbabilityInfo.cpp90 // | | (Weight = 124)
94 // | (Weight = 4)
199 /// Special weight used for cases with exact zero probability.
201 /// Minimal possible non zero weight.
203 /// Weight to an 'unreachable' block.
205 /// Weight to a block containing non returning call.
207 /// Weight to 'unwind' block of an invoke instruction.
209 /// Weight to a 'cold' block. Cold blocks are the ones containing calls marked
212 /// Default weight is used in cases when there is no dedicated execution
213 /// weight set. It is not propagated through the domination line either.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCalcSpillWeights.cpp101 // weight must reflect this. in isRematerializable()
143 float Weight = weightCalcHelper(LI); in calculateSpillWeightAndHint() local
145 if (Weight < 0) in calculateSpillWeightAndHint()
147 LI.setWeight(Weight); in calculateSpillWeightAndHint()
184 // Don't recompute spill weight for an unspillable register. in weightCalcHelper()
211 const float Weight; in weightCalcHelper() member
212 CopyHint(Register R, float W) : Reg(R), Weight(W) {} in weightCalcHelper()
217 if (Weight != Rhs.Weight) in weightCalcHelper()
218 return (Weight > Rhs.Weight); in weightCalcHelper()
261 // Force Weight onto the stack so that x86 doesn't add hidden precision, in weightCalcHelper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp100 OpDescriptor llvm::fuzzerop::selectDescriptor(unsigned Weight) { in selectDescriptor() argument
104 return {Weight, in selectDescriptor()
109 OpDescriptor llvm::fuzzerop::fnegDescriptor(unsigned Weight) { in fnegDescriptor() argument
113 return {Weight, {anyFloatOrVecFloatType()}, buildOp}; in fnegDescriptor()
116 OpDescriptor llvm::fuzzerop::binOpDescriptor(unsigned Weight, in binOpDescriptor() argument
135 return {Weight, {anyIntOrVecIntType(), matchFirstType()}, buildOp}; in binOpDescriptor()
141 return {Weight, {anyFloatOrVecFloatType(), matchFirstType()}, buildOp}; in binOpDescriptor()
148 OpDescriptor llvm::fuzzerop::cmpOpDescriptor(unsigned Weight, in cmpOpDescriptor() argument
157 return {Weight, {anyIntOrVecIntType(), matchFirstType()}, buildOp}; in cmpOpDescriptor()
159 return {Weight, {anyFloatOrVecFloatType(), matchFirstType()}, buildOp}; in cmpOpDescriptor()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DProfDataUtils.h27 /// Checks if an MDNode contains Branch Weight Metadata
30 /// Checks if an instructions has Branch Weight Metadata
37 /// Checks if an instructions has valid Branch Weight Metadata
41 /// i.e., one weight for each successor. False otherwise.
58 /// Check if Branch Weight Metadata has an "expected" field from an llvm.expect*
62 /// Check if Branch Weight Metadata has an "expected" field from an llvm.expect*
66 /// Return the offset to the first branch weight data
102 /// \param [out] TrueVal will contain the branch weight for the True branch
103 /// \param [out] FalseVal will contain the branch weight for the False branch
111 /// \param ProfileData The profile data to extract the total weight from
[all …]
/freebsd/contrib/bzip2/
H A Dhuffman.c37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
52 weight[heap[yy+1]] < weight[heap[yy]]) \
54 if (weight[tmp] < weight[heap[yy]]) break; \
76 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; in BZ2_hbMakeCodeLengths() local
80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; in BZ2_hbMakeCodeLengths()
88 weight[0] = 0; in BZ2_hbMakeCodeLengths()
105 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]); in BZ2_hbMakeCodeLengths()
143 j = weight[i] >> 8; in BZ2_hbMakeCodeLengths()
145 weight[i] = j << 8; in BZ2_hbMakeCodeLengths()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSectionPriorities.cpp45 uint64_t weight; member
54 return double(weight) / double(size); in getDensity()
60 uint64_t weight = 0; member
98 uint64_t weight = c.second; in CallGraphSort() local
111 clusters[to].weight += weight; in CallGraphSort()
118 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort()
120 toC.bestPred.weight = weight; in CallGraphSort()
124 c.initialWeight = c.weight; in CallGraphSort()
129 double newDensity = double(a.weight + b.weight) / double(a.size + b.size); in isNewDensityBad()
152 into.weight += from.weight; in mergeClusters()
[all …]

12345678910>>...20