/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/ |
D | Graph.h | 75 AdjEdgeIdx addAdjEdgeId(EdgeId EId) { in addAdjEdgeId() argument 77 AdjEdgeIds.push_back(EId); in addAdjEdgeId() 190 EdgeEntry& getEdge(EdgeId EId) { return Edges[EId]; } in getEdge() argument 191 const EdgeEntry& getEdge(EdgeId EId) const { return Edges[EId]; } in getEdge() argument 209 EdgeId EId = 0; in addConstructedEdge() local 211 EId = FreeEdgeIds.back(); in addConstructedEdge() 213 Edges[EId] = std::move(E); in addConstructedEdge() 215 EId = Edges.size(); in addConstructedEdge() 219 EdgeEntry &NE = getEdge(EId); in addConstructedEdge() 222 NE.connect(*this, EId); in addConstructedEdge() [all …]
|
D | ReductionRules.h | 41 EdgeId EId = *G.adjEdgeIds(NId).begin(); in applyR1() local 42 NodeId MId = G.getEdgeOtherNodeId(EId, NId); in applyR1() 44 const Matrix &ECosts = G.getEdgeCosts(EId); in applyR1() 49 if (NId == G.getEdgeNode1Id(EId)) { in applyR1() 71 G.disconnectEdge(EId, MId); in applyR1() 203 for (auto EId : G.adjEdgeIds(NId)) { in backpropagate() local 204 const Matrix& edgeCosts = G.getEdgeCosts(EId); in backpropagate() 205 if (NId == G.getEdgeNode1Id(EId)) { in backpropagate() 206 NodeId mId = G.getEdgeNode2Id(EId); in backpropagate() 209 NodeId mId = G.getEdgeNode1Id(EId); in backpropagate()
|
/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 | 367 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-7.0/llvm/include/llvm/CodeGen/ |
D | RegAllocPBQP.h | 308 void handleAddEdge(EdgeId EId) { in handleAddEdge() argument 309 handleReconnectEdge(EId, G.getEdgeNode1Id(EId)); in handleAddEdge() 310 handleReconnectEdge(EId, G.getEdgeNode2Id(EId)); in handleAddEdge() 313 void handleDisconnectEdge(EdgeId EId, NodeId NId) { in handleDisconnectEdge() argument 315 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleDisconnectEdge() 316 NMd.handleRemoveEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleDisconnectEdge() 320 void handleReconnectEdge(EdgeId EId, NodeId NId) { in handleReconnectEdge() argument 322 const MatrixMetadata& MMd = G.getEdgeCosts(EId).getMetadata(); in handleReconnectEdge() 323 NMd.handleAddEdge(MMd, NId == G.getEdgeNode2Id(EId)); in handleReconnectEdge() 326 void handleUpdateCosts(EdgeId EId, const Matrix& NewCosts) { in handleUpdateCosts() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RegAllocPBQP.cpp | 430 PBQPRAGraph::EdgeId EId = G.addEdge(NId, MId, std::move(M)); in createInterferenceEdge() local 431 C[K] = G.getEdgeCostsPtr(EId); in createInterferenceEdge() 484 PBQPRAGraph::EdgeId EId = G.findEdge(N1Id, N2Id); in apply() local 485 if (EId == G.invalidEdgeId()) { in apply() 491 if (G.getEdgeNode1Id(EId) == N2Id) { in apply() 495 PBQPRAGraph::RawMatrix Costs(G.getEdgeCosts(EId)); in apply() 497 G.updateEdgeCosts(EId, std::move(Costs)); in apply() 897 for (auto EId : edgeIds()) { in dump() local 898 NodeId N1Id = getEdgeNode1Id(EId); in dump() 899 NodeId N2Id = getEdgeNode2Id(EId); in dump() [all …]
|
/external/llvm/lib/CodeGen/ |
D | RegAllocPBQP.cpp | 402 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 …]
|