Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Analysis/
DProfileInfo.cpp223 replaceEdge(const Edge &oldedge, const Edge &newedge) { in replaceEdge() argument
226 w = getEdgeWeight(oldedge); in replaceEdge()
227 DEBUG(dbgs() << "Replacing " << oldedge << " with " << newedge << "\n"); in replaceEdge()
229 w += getEdgeWeight(oldedge); in replaceEdge()
230 DEBUG(dbgs() << "Adding " << oldedge << " to " << newedge << "\n"); in replaceEdge()
233 removeEdge(oldedge); in replaceEdge()
282 divertFlow(const Edge &oldedge, const Edge &newedge) { in divertFlow() argument
283 DEBUG(dbgs() << "Diverting " << oldedge << " via " << newedge ); in divertFlow()
286 if (getEdgeWeight(oldedge) == 0) { in divertFlow()
287 removeEdge(oldedge); in divertFlow()
[all …]