Searched refs:N2Id (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | Graph.h | 103 EdgeEntry(NodeId N1Id, NodeId N2Id, MatrixPtr Costs) in EdgeEntry() argument 106 NIds[1] = N2Id; in EdgeEntry() 409 EdgeId addEdge(NodeId N1Id, NodeId N2Id, OtherVectorT Costs) { in addEdge() argument 411 getNodeCosts(N2Id).getLength() == Costs.getCols() && in addEdge() 415 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, AllocatedCosts)); in addEdge() 434 NodeId addEdgeBypassingCostAllocator(NodeId N1Id, NodeId N2Id, in addEdgeBypassingCostAllocator() argument 437 getNodeCosts(N2Id).getLength() == Costs->getCols() && in addEdgeBypassingCostAllocator() 440 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, Costs)); in addEdgeBypassingCostAllocator() 573 EdgeId findEdge(NodeId N1Id, NodeId N2Id) { in findEdge() argument 575 if ((getEdgeNode1Id(AEId) == N2Id) || in findEdge() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | RegAllocPBQP.h | 330 NodeId N2Id = G.getEdgeNode2Id(EId); in handleUpdateCosts() local 332 NodeMetadata& N2Md = G.getNodeMetadata(N2Id); in handleUpdateCosts() 349 promote(N2Id, N2Md); in handleUpdateCosts() 482 bool operator()(NodeId N1Id, NodeId N2Id) { in operator() 484 PBQPNum N2SC = G.getNodeCosts(N2Id)[0]; in operator() 486 return G.getNodeDegree(N1Id) < G.getNodeDegree(N2Id); in operator()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocPBQP.cpp | 475 PBQPRAGraph::NodeId N2Id = G.getMetadata().getNodeIdForVReg(SrcReg); in apply() local 479 &G.getNodeMetadata(N2Id).getAllowedRegs(); in apply() 481 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply() 486 G.addEdge(N1Id, N2Id, std::move(Costs)); in apply() 488 if (G.getEdgeNode1Id(EId) == N2Id) { in apply() 489 std::swap(N1Id, N2Id); in apply() 911 NodeId N2Id = getEdgeNode2Id(EId); in dump() local 912 assert(N1Id != N2Id && "PBQP graphs should not have self-edges."); in dump() 917 OS << PrintNodeInfo(N2Id, *this) << ' ' << M.getCols() << " cols:\n"; in dump()
|