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