Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h119 void connectToN(Graph &G, EdgeId ThisEdgeId, unsigned NIdx) { in connectToN() argument
120 assert(ThisEdgeAdjIdxs[NIdx] == NodeEntry::getInvalidAdjEdgeIdx() && in connectToN()
122 NodeEntry &N = G.getNode(NIds[NIdx]); in connectToN()
123 ThisEdgeAdjIdxs[NIdx] = N.addAdjEdgeId(ThisEdgeId); in connectToN()
149 void disconnectFromN(Graph &G, unsigned NIdx) { in disconnectFromN() argument
150 assert(ThisEdgeAdjIdxs[NIdx] != NodeEntry::getInvalidAdjEdgeIdx() && in disconnectFromN()
152 NodeEntry &N = G.getNode(NIds[NIdx]); in disconnectFromN()
153 N.removeAdjEdgeId(G, NIds[NIdx], ThisEdgeAdjIdxs[NIdx]); in disconnectFromN()
154 ThisEdgeAdjIdxs[NIdx] = NodeEntry::getInvalidAdjEdgeIdx(); in disconnectFromN()