Home
last modified time | relevance | path

Searched refs:EId (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h76 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 …]
DReductionRules.h39 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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DGraph.h74 AdjEdgeIdx addAdjEdgeId(EdgeId EId) { in addAdjEdgeId() argument
76 AdjEdgeIds.push_back(EId); in addAdjEdgeId()
189 EdgeEntry& getEdge(EdgeId EId) { return Edges[EId]; } in getEdge() argument
190 const EdgeEntry& getEdge(EdgeId EId) const { return Edges[EId]; } in getEdge() argument
208 EdgeId EId = 0; in addConstructedEdge() local
210 EId = FreeEdgeIds.back(); in addConstructedEdge()
212 Edges[EId] = std::move(E); in addConstructedEdge()
214 EId = Edges.size(); in addConstructedEdge()
218 EdgeEntry &NE = getEdge(EId); in addConstructedEdge()
221 NE.connect(*this, EId); in addConstructedEdge()
[all …]
DReductionRules.h40 EdgeId EId = *G.adjEdgeIds(NId).begin(); in applyR1() local
41 NodeId MId = G.getEdgeOtherNodeId(EId, NId); in applyR1()
43 const Matrix &ECosts = G.getEdgeCosts(EId); in applyR1()
48 if (NId == G.getEdgeNode1Id(EId)) { in applyR1()
70 G.disconnectEdge(EId, MId); in applyR1()
202 for (auto EId : G.adjEdgeIds(NId)) { in backpropagate() local
203 const Matrix& edgeCosts = G.getEdgeCosts(EId); in backpropagate()
204 if (NId == G.getEdgeNode1Id(EId)) { in backpropagate()
205 NodeId mId = G.getEdgeNode2Id(EId); in backpropagate()
208 NodeId mId = G.getEdgeNode1Id(EId); in backpropagate()
/external/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h367 void handleAddEdge(EdgeId EId) { in handleAddEdge() argument
368 handleReconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleAddEdge()
369 handleReconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleAddEdge()
372 void handleRemoveEdge(EdgeId EId) { in handleRemoveEdge() argument
373 handleDisconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleRemoveEdge()
374 handleDisconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleRemoveEdge()
377 void handleDisconnectEdge(EdgeId EId, NodeId NId) { in handleDisconnectEdge() argument
379 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleDisconnectEdge()
380 NMd.handleRemoveEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleDisconnectEdge()
384 void handleReconnectEdge(EdgeId EId, NodeId NId) { in handleReconnectEdge() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRegAllocPBQP.h307 void handleAddEdge(EdgeId EId) { in handleAddEdge() argument
308 handleReconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleAddEdge()
309 handleReconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleAddEdge()
312 void handleDisconnectEdge(EdgeId EId, NodeId NId) { in handleDisconnectEdge() argument
314 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleDisconnectEdge()
315 NMd.handleRemoveEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleDisconnectEdge()
319 void handleReconnectEdge(EdgeId EId, NodeId NId) { in handleReconnectEdge() argument
321 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleReconnectEdge()
322 NMd.handleAddEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleReconnectEdge()
325 void handleUpdateCosts(EdgeId EId, const Matrix& NewCosts) { in handleUpdateCosts() argument
[all …]
/external/llvm/lib/CodeGen/
DRegAllocPBQP.cpp402 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge() local
403 C[K] = G.getEdgeCostsPtr(EId); in createInterferenceEdge()
458 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply() local
459 if (EId == G.invalidEdgeId()) { in apply()
465 if (G.getEdgeNode1Id(EId) == N2Id) { in apply()
469 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply()
471 G.updateEdgeCosts(EId, std::move(Costs)); in apply()
848 for (auto EId : edgeIds()) { in dump() local
849 NodeId N1Id = getEdgeNode1Id(EId); in dump()
850 NodeId N2Id = getEdgeNode2Id(EId); in dump()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegAllocPBQP.cpp429 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge() local
430 C[K] = G.getEdgeCostsPtr(EId); in createInterferenceEdge()
483 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply() local
484 if (EId == G.invalidEdgeId()) { in apply()
490 if (G.getEdgeNode1Id(EId) == N2Id) { in apply()
494 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply()
496 G.updateEdgeCosts(EId, std::move(Costs)); in apply()
896 for (auto EId : edgeIds()) { in dump() local
897 NodeId N1Id = getEdgeNode1Id(EId); in dump()
898 NodeId N2Id = getEdgeNode2Id(EId); in dump()
[all …]