Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/PDLToPDLInterp/
H A DRootOrdering.cpp91 Value bestSource; in contract() local
98 if (!bestSource || bestCost > inner->second.cost) { in contract()
99 bestSource = source; in contract()
109 if (bestSource) { in contract()
111 actualSource[target] = bestSource; in contract()
152 Value &bestSource = parents[node]; in solve() local
156 if (!bestSource /* initial */ || bestCost > entry.cost) { in solve()
157 bestSource = inner.first; in solve()
161 assert(bestSource && "the graph is not strongly connected"); in solve()
163 node = bestSource; in solve()