Searched refs:EId (Results 1 – 4 of 4) sorted by relevance
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | Graph.h | 76 AdjEdgeIdx addAdjEdgeId(EdgeId EId) { in addAdjEdgeId() argument 78 AdjEdgeIds.push_back(EId); in addAdjEdgeId() 202 EdgeEntry& getEdge(EdgeId EId) { return Edges[EId]; } in getEdge() argument 203 const EdgeEntry& getEdge(EdgeId EId) const { return Edges[EId]; } in getEdge() argument 221 EdgeId EId = 0; in addConstructedEdge() local 223 EId = FreeEdgeIds.back(); in addConstructedEdge() 225 Edges[EId] = std::move(E); in addConstructedEdge() 227 EId = Edges.size(); in addConstructedEdge() 231 EdgeEntry &NE = getEdge(EId); in addConstructedEdge() 234 NE.connect(*this, EId); in addConstructedEdge() [all …]
|
D | ReductionRules.h | 39 EdgeId EId = *G.adjEdgeIds(NId).begin(); in applyR1() local 40 NodeId MId = G.getEdgeOtherNodeId(EId, NId); in applyR1() 42 const Matrix &ECosts = G.getEdgeCosts(EId); in applyR1() 47 if (NId == G.getEdgeNode1Id(EId)) { in applyR1() 69 G.disconnectEdge(EId, MId); in applyR1() 201 for (auto EId : G.adjEdgeIds(NId)) { in backpropagate() local 202 const Matrix& edgeCosts = G.getEdgeCosts(EId); in backpropagate() 203 if (NId == G.getEdgeNode1Id(EId)) { in backpropagate() 204 NodeId mId = G.getEdgeNode2Id(EId); in backpropagate() 207 NodeId mId = G.getEdgeNode1Id(EId); in backpropagate()
|
/external/llvm/include/llvm/CodeGen/ |
D | RegAllocPBQP.h | 366 void handleAddEdge(EdgeId EId) { in handleAddEdge() argument 367 handleReconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleAddEdge() 368 handleReconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleAddEdge() 371 void handleRemoveEdge(EdgeId EId) { in handleRemoveEdge() argument 372 handleDisconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleRemoveEdge() 373 handleDisconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleRemoveEdge() 376 void handleDisconnectEdge(EdgeId EId, NodeId NId) { in handleDisconnectEdge() argument 378 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleDisconnectEdge() 379 NMd.handleRemoveEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleDisconnectEdge() 383 void handleReconnectEdge(EdgeId EId, NodeId NId) { in handleReconnectEdge() argument [all …]
|
/external/llvm/lib/CodeGen/ |
D | RegAllocPBQP.cpp | 394 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge() local 395 C[K] = G.getEdgeCostsPtr(EId); in createInterferenceEdge() 450 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply() local 451 if (EId == G.invalidEdgeId()) { in apply() 457 if (G.getEdgeNode1Id(EId) == N2Id) { in apply() 461 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply() 463 G.updateEdgeCosts(EId, std::move(Costs)); in apply() 844 for (auto EId : edgeIds()) { in dump() local 845 NodeId N1Id = getEdgeNode1Id(EId); in dump() 846 NodeId N2Id = getEdgeNode2Id(EId); in dump() [all …]
|