Lines Matching full:visited
6075 SmallPtrSet<const SDNode *, 32> Visited;
6077 return hasPredecessorHelper(N, Visited, Worklist);
6082 SmallPtrSet<const SDNode *, 32> &Visited,
6084 if (Visited.empty()) {
6087 visited set. If we've already encountered this node
6089 if (Visited.count(N))
6093 // Haven't visited N yet. Continue the search.
6098 if (Visited.insert(Op))
6367 SmallPtrSet<const SDNode*, 32> &Visited,
6373 // If a node has already been visited on this depth-first walk, reject it as
6375 if (!Visited.insert(N)) {
6383 checkForCyclesHelper(N->getOperand(i).getNode(), Visited, Checked);
6386 Visited.erase(N);
6393 SmallPtrSet<const SDNode*, 32> visited;
6395 checkForCyclesHelper(N, visited, checked);