Lines Matching refs:nodes
148 bool update(const Node nodes[], const BlockFrequency &Threshold) { in update()
153 if (nodes[I->second].Value == -1) in update()
155 else if (nodes[I->second].Value == 1) in update()
178 const Node nodes[]) const { in getDissentingNeighbors()
183 if (Value != nodes[n].Value) in getDissentingNeighbors()
194 assert(!nodes && "Leaking node array"); in runOnMachineFunction()
195 nodes = new Node[bundles->getNumBundles()]; in runOnMachineFunction()
213 delete[] nodes; in releaseMemory()
214 nodes = nullptr; in releaseMemory()
224 nodes[n].clear(Threshold); in activate()
236 nodes[n].BiasP = 0; in activate()
237 nodes[n].BiasN = (MBFI->getEntryFreq() / 16); in activate()
265 nodes[ib].addBias(Freq, I->Entry); in addConstraints()
272 nodes[ob].addBias(Freq, I->Exit); in addConstraints()
288 nodes[ib].addBias(Freq, PrefSpill); in addPrefSpill()
289 nodes[ob].addBias(Freq, PrefSpill); in addPrefSpill()
306 nodes[ib].addLink(ob, Freq); in addLinks()
307 nodes[ob].addLink(ib, Freq); in addLinks()
317 if (nodes[n].mustSpill()) in scanActiveBundles()
319 if (nodes[n].preferReg()) in scanActiveBundles()
326 if (!nodes[n].update(nodes, Threshold)) in update()
328 nodes[n].getDissentingNeighbors(TodoList, nodes); in update()
348 if (nodes[n].preferReg()) in iterate()
369 if (!nodes[n].preferReg()) { in finish()