Lines Matching full:links
66 /// but Bias and Links are computed each time placeSpills is called.
78 /// Value - Output value of this node computed from the Bias and links.
85 /// Links - (Weight, BundleNo) for all transparent blocks connecting to other
87 LinkVector Links; member
89 /// SumLinkWeights - Cached sum of the weights of all links + ThresHold.
111 Links.clear(); in clear()
119 // There can be multiple links to the same bundle, add them up. in addLink()
120 for (LinkVector::iterator I = Links.begin(), E = Links.end(); I != E; ++I) in addLink()
126 Links.push_back(std::make_pair(w, b)); in addLink()
146 /// update - Recompute Value from Bias and Links. Return true when node
152 for (LinkVector::iterator I = Links.begin(), E = Links.end(); I != E; ++I) { in update()
163 // 1. It avoids arbitrary bias when all links are 0 as is possible during in update()
165 // 2. It helps tame rounding errors when the links nominally sum to 0. in update()
218 // limiting the number of blocks visited and the number of links in the in activate()
278 void SpillPlacement::addLinks(ArrayRef<unsigned> Links) { in addLinks() argument
279 for (ArrayRef<unsigned>::iterator I = Links.begin(), E = Links.end(); I != E; in addLinks()
290 if (nodes[ib].Links.empty() && !nodes[ib].mustSpill()) in addLinks()
292 if (nodes[ob].Links.empty() && !nodes[ob].mustSpill()) in addLinks()
305 // A node that must spill, or a node without any links is not going to in scanActiveBundles()
309 if (!nodes[n].Links.empty()) in scanActiveBundles()