Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/
DGraph.h104 EdgeEntry(NodeId N1Id, NodeId N2Id, MatrixPtr Costs) in EdgeEntry() argument
106 NIds[0] = N1Id; in EdgeEntry()
410 EdgeId addEdge(NodeId N1Id, NodeId N2Id, OtherVectorT Costs) { in addEdge() argument
411 assert(getNodeCosts(N1Id).getLength() == Costs.getRows() && in addEdge()
416 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, AllocatedCosts)); in addEdge()
435 NodeId addEdgeBypassingCostAllocator(NodeId N1Id, NodeId N2Id, in addEdgeBypassingCostAllocator() argument
437 assert(getNodeCosts(N1Id).getLength() == Costs->getRows() && in addEdgeBypassingCostAllocator()
441 EdgeId EId = addConstructedEdge(EdgeEntry(N1Id, N2Id, Costs)); in addEdgeBypassingCostAllocator()
574 EdgeId findEdge(NodeId N1Id, NodeId N2Id) { in findEdge() argument
575 for (auto AEId : adjEdgeIds(N1Id)) { in findEdge()
/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h104 EdgeEntry(NodeId N1Id, NodeId N2Id, MatrixPtr Costs) in EdgeEntry() argument
106 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h327 NodeId N1Id = G.getEdgeNode1Id(EId); in handleUpdateCosts() local
329 NodeMetadata& N1Md = G.getNodeMetadata(N1Id); in handleUpdateCosts()
331 bool Transpose = N1Id != G.getEdgeNode1Id(EId); in handleUpdateCosts()
346 promote(N1Id, N1Md); in handleUpdateCosts()
482 bool operator()(NodeId N1Id, NodeId N2Id) { in operator()
483 PBQPNum N1SC = G.getNodeCosts(N1Id)[0]; in operator()
486 return G.getNodeDegree(N1Id) < G.getNodeDegree(N2Id); in operator()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h391 NodeId N1Id = G.getEdgeNode1Id(EId); in handleUpdateCosts() local
393 NodeMetadata& N1Md = G.getNodeMetadata(N1Id); in handleUpdateCosts()
395 bool Transpose = N1Id != G.getEdgeNode1Id(EId); in handleUpdateCosts()
410 promote(N1Id, N1Md); in handleUpdateCosts()
547 bool operator()(NodeId N1Id, NodeId N2Id) { in operator()
548 PBQPNum N1SC = G.getNodeCosts(N1Id)[0]; in operator()
551 return G.getNodeDegree(N1Id) < G.getNodeDegree(N2Id); in operator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp477 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply() local
480 &G.getNodeMetadata(N1Id).getAllowedRegs(); in apply()
484 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
489 G.addEdge(N1Id, N2Id, std::move(Costs)); in apply()
492 std::swap(N1Id, N2Id); in apply()
898 NodeId N1Id = getEdgeNode1Id(EId); in dump() local
900 assert(N1Id != N2Id && "PBQP graphs should not have self-edges."); in dump()
904 OS << PrintNodeInfo(N1Id, *this) << ' ' << M.getRows() << " rows / "; in dump()
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp451 PBQPRAGraph::NodeId N1Id = G.getMetadata().getNodeIdForVReg(DstReg); in apply() local
454 &G.getNodeMetadata(N1Id).getAllowedRegs(); in apply()
458 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply()
463 G.addEdge(N1Id, N2Id, std::move(Costs)); in apply()
466 std::swap(N1Id, N2Id); in apply()
849 NodeId N1Id = getEdgeNode1Id(EId); in dump() local
851 assert(N1Id != N2Id && "PBQP graphs should not have self-edges."); in dump()
855 OS << PrintNodeInfo(N1Id, *this) << ' ' << M.getRows() << " rows / "; in dump()