Lines Matching full:links
67 /// but Bias and Links are computed each time placeSpills is called.
79 /// Value - Output value of this node computed from the Bias and links.
86 /// Links - (Weight, BundleNo) for all transparent blocks connecting to other
88 LinkVector Links;
90 /// SumLinkWeights - Cached sum of the weights of all links + ThresHold.
114 Links.clear();
122 // There can be multiple links to the same bundle, add them up.
123 for (std::pair<BlockFrequency, unsigned> &L : Links)
129 Links.push_back(std::make_pair(w, b));
149 /// update - Recompute Value from Bias and Links. Return true when node
155 for (std::pair<BlockFrequency, unsigned> &L : Links) {
166 // 1. It avoids arbitrary bias when all links are 0 as is possible during
168 // 2. It helps tame rounding errors when the links nominally sum to 0.
182 for (const auto &Elt : Links) {
235 // limiting the number of blocks visited and the number of links in the
295 void SpillPlacement::addLinks(ArrayRef<unsigned> Links) {
296 for (unsigned Number : Links) {
315 // A node that must spill, or a node without any links is not going to