Lines Matching refs:node2
169 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint() local
174 &G.getNodeMetadata(node2).getAllowedRegs(); in addIntraChainConstraint()
176 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint()
197 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint()
201 if (G.getEdgeNode1Id(edge) == node2) { in addIntraChainConstraint()
202 std::swap(node1, node2); in addIntraChainConstraint()
268 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r); in addInterChainConstraint() local
270 &G.getNodeMetadata(node2).getAllowedRegs(); in addInterChainConstraint()
272 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint()
278 if (G.getEdgeNode1Id(edge) == node2) { in addInterChainConstraint()
279 std::swap(node1, node2); in addInterChainConstraint()