Lines Matching refs:roots
385 SmallVector<Value> roots; in detectRoots() local
388 roots.push_back(operationOp); in detectRoots()
390 return roots; in detectRoots()
400 static void buildCostGraph(ArrayRef<Value> roots, RootOrderingGraph &graph, in buildCostGraph() argument
429 for (Value root : roots) { in buildCostGraph()
503 assert((llvm::hasSingleElement(roots) || graph.size() == roots.size()) && in buildCostGraph()
594 SmallVector<Value> roots = detectRoots(pattern); in buildPredicateList() local
599 buildCostGraph(roots, graph, parentMaps); in buildPredicateList()
621 for (Value root : roots) { in buildPredicateList()
628 bestEdges = solver.preOrderTraversal(roots); in buildPredicateList()
634 bestEdges = solver.preOrderTraversal(roots); in buildPredicateList()