Lines Matching defs:node2
175 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra);
180 &G.getNodeMetadata(node2).getAllowedRegs();
182 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2);
203 G.addEdge(node1, node2, std::move(costs));
207 if (G.getEdgeNode1Id(edge) == node2) {
208 std::swap(node1, node2);
274 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r);
276 &G.getNodeMetadata(node2).getAllowedRegs();
278 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2);
284 if (G.getEdgeNode1Id(edge) == node2) {
285 std::swap(node1, node2);