Lines Matching defs:Visited
492 DenseMap<Value *, std::set<Value *>> &Visited) {
493 auto It = Visited.find(V);
494 if (It != Visited.end()) {
504 return Visited.insert(std::make_pair(V, std::move(Result))).first->second;
508 const std::set<Value *> &OpResult = getBaseValues(Op, DT, Visited);
511 return Visited.insert(std::make_pair(V, std::move(Result))).first->second;
519 return Visited.insert(std::make_pair(V, std::move(Result))).first->second;
530 DenseMap<Instruction *, bool> &Visited) {
533 auto It = Visited.find(I);
534 if (It != Visited.end()) {
541 Visited[I] = false;
548 Visited[I] = true;
559 Visited)) {
568 Visited[I] = true;
572 Visited[I] = false;
898 DenseMap<Instruction *, bool> Visited;
900 DT, Unhoistables, nullptr, Visited);
919 DenseMap<Instruction *, bool> Visited;
921 DT, Unhoistables, nullptr, Visited);
951 DenseMap<Instruction *, bool> Visited;
953 DT, Unhoistables, nullptr, Visited) &&
959 DenseMap<Instruction *, bool> Visited;
961 Unhoistables, nullptr, Visited) &&
1062 DenseMap<Instruction *, bool> Visited;
1063 if (!checkHoistValue(V, InsertPoint, DT, Unhoistables, nullptr, Visited)) {
1074 DenseMap<Value *, std::set<Value *>> Visited;
1076 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited);
1080 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited);
1392 DenseMap<Instruction *, bool> Visited;
1394 Unhoistables, &HoistStops, Visited);
1404 DenseMap<Instruction *, bool> Visited;
1406 Unhoistables, &HoistStops, Visited);