Home | History | Annotate | Download | only in SelectionDAG

Lines Matching full:visited

5847   SmallPtrSet<const SDNode *, 32> Visited;
5849 return hasPredecessorHelper(N, Visited, Worklist);
5853 SmallPtrSet<const SDNode *, 32> &Visited,
5855 if (Visited.empty()) {
5858 // Take a look in the visited set. If we've already encountered this node
5860 if (Visited.count(N))
5864 // Haven't visited N yet. Continue the search.
5869 if (Visited.insert(Op))
6135 SmallPtrSet<const SDNode*, 32> &Visited,
6141 // If a node has already been visited on this depth-first walk, reject it as
6143 if (!Visited.insert(N)) {
6151 checkForCyclesHelper(N->getOperand(i).getNode(), Visited, Checked);
6154 Visited.erase(N);
6161 SmallPtrSet<const SDNode*, 32> visited;
6163 checkForCyclesHelper(N, visited, checked);