Home
last modified time | relevance | path

Searched refs:N1Id (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h105 EdgeEntry(NodeId N1Id, NodeId N2Id, MatrixPtr Costs) in EdgeEntry() argument
107 NIds[0] = N1Id; in EdgeEntry()
416 EdgeId addEdge(NodeId N1Id, NodeId N2Id, OtherVectorT Costs) { in addEdge() argument
417 assert(getNodeCosts(N1Id).getLength() == Costs.getRows() && in addEdge()
422 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, AllocatedCosts)); in addEdge()
441 NodeId addEdgeBypassingCostAllocator(NodeId N1Id, NodeId N2Id, in addEdgeBypassingCostAllocator() argument
443 assert(getNodeCosts(N1Id).getLength() == Costs->getRows() && in addEdgeBypassingCostAllocator()
447 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, Costs)); in addEdgeBypassingCostAllocator()
580 EdgeId findEdge(NodeId N1Id, NodeId N2Id) { in findEdge() argument
581 for (auto AEId : adjEdgeIds(N1Id)) { in findEdge()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h390 NodeId N1Id = G.getEdgeNode1Id(EId); in handleUpdateCosts() local
392 NodeMetadata& N1Md = G.getNodeMetadata(N1Id); in handleUpdateCosts()
394 bool Transpose = N1Id != G.getEdgeNode1Id(EId); in handleUpdateCosts()
409 promote(N1Id, N1Md); in handleUpdateCosts()
546 bool operator()(NodeId N1Id, NodeId N2Id) { in operator()
547 PBQPNum N1SC = G.getNodeCosts(N1Id)[0]; in operator()
550 return G.getNodeDegree(N1Id) < G.getNodeDegree(N2Id); in operator()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp444 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply() local
447 &G.getNodeMetadata(N1Id).getAllowedRegs(); in apply()
451 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
456 G.addEdge(N1Id, N2Id, std::move(Costs)); in apply()
459 std::swap(N1Id, N2Id); in apply()
830 NodeId N1Id = getEdgeNode1Id(EId); in dump() local
832 assert(N1Id != N2Id && "PBQP graphs should not have self-edges."); in dump()
836 OS << PrintNodeInfo(N1Id, *this) << ' ' << M.getRows() << " rows / "; in dump()