| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | CalcSpillWeights.h | 24 /// Normalize the spill weight of a live interval 26 /// The spill weight of a live interval is computed as: 38 // intervals have a spill weight that is mostly proportional to the number in normalizeSpillWeight() 39 // of uses, while large intervals get a spill weight that is closer to a use in normalizeSpillWeight() 45 /// spill weight and allocation hint. 67 /// (re)compute li's spill weight and allocation hint. 87 /// Helper function for weight calculations. 88 /// (Re)compute LI's spill weight and allocation hint, or, for non null 89 /// start and end - compute future expected spill weight of a split 91 /// \param LI The live interval for which to compute the weight. [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseImpl.h | 268 /// The weight of a basic block is defined to be the maximum 355 /// Print the weight of edge \p E on stream \p OS. 361 OS << "weight[" << E.first->getName() << "->" << E.second->getName() 377 /// Print the weight of block \p BB on stream \p OS. 386 OS << "weight[" << BB->getName() << "]: " << W << "\n"; 390 /// Get the weight for an instruction. 392 /// The "weight" of an instruction \p Inst is the number of samples 400 /// \returns the weight of \p Inst. 448 << Discriminator << " - weight: " << R.get() << ")\n"); 460 // probe, we choose to infer the BB's weight. [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | mandoc.css | 122 font-weight: bold; } 167 font-weight: normal; } 170 font-weight: normal; } 174 font-weight: normal; } 176 font-weight: normal; } 183 font-weight: normal; } 197 font-weight: bold; 200 font-weight: bold; 203 font-weight: bold; 206 font-weight [all...] |
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | ProfiledCallGraph.h | 26 ProfiledCallGraphNode *Target, uint64_t Weight) in ProfiledCallGraphEdge() 27 : Source(Source), Target(Target), Weight(Weight) {} in ProfiledCallGraphEdge() 30 uint64_t Weight; member 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; variable 111 Weight = 0; 121 Weight = std::max(CallsiteCount, CalleeEntryCount); 124 addProfiledCall(Caller->getFuncName(), Callee->getFuncName(), Weight); [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
| H A D | Operations.h | 44 LLVM_ABI OpDescriptor selectDescriptor(unsigned Weight); 45 LLVM_ABI OpDescriptor fnegDescriptor(unsigned Weight); 46 LLVM_ABI OpDescriptor binOpDescriptor(unsigned Weight, 48 LLVM_ABI OpDescriptor cmpOpDescriptor(unsigned Weight, 51 LLVM_ABI OpDescriptor splitBlockDescriptor(unsigned Weight); 52 LLVM_ABI OpDescriptor gepDescriptor(unsigned Weight); 53 LLVM_ABI OpDescriptor extractValueDescriptor(unsigned Weight); 54 LLVM_ABI OpDescriptor insertValueDescriptor(unsigned Weight); 55 LLVM_ABI OpDescriptor extractElementDescriptor(unsigned Weight); 56 LLVM_ABI OpDescriptor insertElementDescriptor(unsigned Weight); [all …]
|
| H A D | Random.h | 52 /// 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 D | CallGraphSort.cpp | 42 uint64_t weight; member 51 return double(weight) / double(size); in getDensity() 57 uint64_t weight = 0; member 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 132 uint64_t weight = c.second; in CallGraphSort() local 146 clusters[to].weight += weight; in CallGraphSort() 153 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 97 // 1. we prefer instrumenting those other edges by setting the weight in handleCoroSuspendEdge() 115 // Traverse the CFG using a stack. Find all the edges and assign the weight. 116 // Edges with large weight will be put into MST first so they are less likely 124 // If we want to instrument the entry count, lower the weight to 0. in buildEdges() 148 uint64_t Weight = 2; in buildEdges() local 161 Weight = BPI->getEdgeProbability(&BB, TargetBB).scale(scaleFactor); in buildEdges() 164 // Weight to be minimal, so that the edge won't be chosen for the MST in buildEdges() 170 Weight = 0; in buildEdges() 172 if (Weight == 0) in buildEdges() 173 Weight++; in buildEdges() [all …]
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | metaslab_impl.h | 86 * The metaslab weight is used to encode the amount of free space in a 88 * metaslabs by weight. The weight (and therefore the "best" metaslab) can 90 * the free space in the metaslab (a space based weight) or by counting only 91 * the free segments of the largest size (a segment based weight). We prefer 92 * the segment based weight because it reflects how the free space is 96 * the segment weight by looking at each bucket in the histogram and 102 * Space-based weight: 113 * Segment-based weight: 125 #define WEIGHT_GET_ACTIVE(weight) BF64_GET((weight), 61, 3) argument 126 #define WEIGHT_SET_ACTIVE(weight, x) BF64_SET((weight), 61, 3, x) argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CalcSpillWeights.cpp | 100 // weight must reflect this. in isRematerializable() 142 float Weight = weightCalcHelper(LI); in calculateSpillWeightAndHint() local 144 if (Weight < 0) in calculateSpillWeightAndHint() 146 LI.setWeight(Weight); in calculateSpillWeightAndHint() 183 // Don't recompute spill weight for an unspillable register. in weightCalcHelper() 212 float Weight; in weightCalcHelper() member 215 : Reg(R), Weight(W), IsCSR(IsCSR) {} in weightCalcHelper() 220 if (Weight != Rhs.Weight) in weightCalcHelper() 221 return (Weight > Rhs.Weight); in weightCalcHelper() 266 // Force Weight onto the stack so that x86 doesn't add hidden precision. in weightCalcHelper() [all …]
|
| /freebsd/crypto/heimdal/doc/doxyout/gssapi/html/ |
| H A D | doxygen.css | 18 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 D | doxygen.css | 18 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 D | doxygen.css | 18 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 D | doxygen.css | 18 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 D | doxygen.css | 18 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 D | doxygen.css | 18 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 D | doxygen.css | 18 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/llvm/lib/Analysis/ |
| H A D | BlockFrequencyInfoImpl.cpp | 95 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 D | BranchProbabilityInfo.cpp | 86 // | | (Weight = 124) 90 // | (Weight = 4) 195 /// Special weight used for cases with exact zero probability. 197 /// Minimal possible non zero weight. 199 /// Weight to an 'unreachable' block. 201 /// Weight to a block containing non returning call. 203 /// Weight to 'unwind' block of an invoke instruction. 205 /// Weight to a 'cold' block. Cold blocks are the ones containing calls marked 208 /// Default weight is used in cases when there is no dedicated execution 209 /// weight set. It is not propagated through the domination line either. [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | CallGraphSort.cpp | 29 uint64_t weight; member 38 return double(weight) / double(size); in getDensity() 44 uint64_t weight = 0; member 92 uint64_t weight = c.second; in CallGraphSort() local 106 clusters[to].weight += weight; in CallGraphSort() 113 if (toC.bestPred.from == -1 || toC.bestPred.weight < weight) { in CallGraphSort() 115 toC.bestPred.weight = weight; in CallGraphSort() 119 c.initialWeight = c.weight; in CallGraphSort() 124 double newDensity = double(a.weight + b.weight) / double(a.size + b.size); in isNewDensityBad() 147 into.weight += from.weight; in mergeClusters() [all …]
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | airtime_policy.c | 98 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/FuzzMutate/ |
| H A D | Operations.cpp | 100 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 158 return {Weight, {anyIntOrVecIntType(), matchFirstType()}, buildOp}; in cmpOpDescriptor() 160 return {Weight, {anyFloatOrVecFloatType(), matchFirstType()}, buildOp}; in cmpOpDescriptor() [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | dnssrv.c | 80 /* Insert new into the list *head, ordering by priority. Weight is not 161 srv->weight = rr->Data.SRV.wWeight; in krb5int_make_srv_query_realm() 170 srv->weight); in krb5int_make_srv_query_realm() 186 /* Query the URI RR, collecting weight, priority, and target. */ 195 unsigned short priority, weight; in k5_make_uri_query() local 225 SAFE_GETUINT16(base, rdlen, p, 2, weight, out); in k5_make_uri_query() 232 uri->weight = weight; in k5_make_uri_query() 233 /* rdlen - 4 bytes remain after the priority and weight. */ in k5_make_uri_query() 240 TRACE_DNS_URI_ANS(context, uri->host, uri->priority, uri->weight); in k5_make_uri_query() 267 unsigned short priority, weight, port; in krb5int_make_srv_query_realm() local [all …]
|
| /freebsd/contrib/bzip2/ |
| H A D | huffman.c | 37 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/llvm/include/llvm/IR/ |
| H A D | ProfDataUtils.h | 36 /// Checks if an MDNode contains Branch Weight Metadata 42 /// Checks if an instructions has Branch Weight Metadata 49 /// Checks if an instructions has valid Branch Weight Metadata 53 /// i.e., one weight for each successor. False otherwise. 70 /// Check if Branch Weight Metadata has an "expected" field from an llvm.expect* 74 /// Check if Branch Weight Metadata has an "expected" field from an llvm.expect* 78 /// Return the offset to the first branch weight data 114 /// \param [out] TrueVal will contain the branch weight for the True branch 115 /// \param [out] FalseVal will contain the branch weight for the False branch 123 /// \param ProfileData The profile data to extract the total weight from [all …]
|