Lines Matching refs:Visited
475 DenseMap<Value *, std::set<Value *>> &Visited) { in getBaseValues() argument
476 auto It = Visited.find(V); in getBaseValues()
477 if (It != Visited.end()) { in getBaseValues()
487 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
491 const std::set<Value *> &OpResult = getBaseValues(Op, DT, Visited); in getBaseValues()
494 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
502 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
513 DenseMap<Instruction *, bool> &Visited) { in checkHoistValue() argument
516 auto It = Visited.find(I); in checkHoistValue()
517 if (It != Visited.end()) { in checkHoistValue()
524 Visited[I] = false; in checkHoistValue()
531 Visited[I] = true; in checkHoistValue()
542 Visited)) { in checkHoistValue()
551 Visited[I] = true; in checkHoistValue()
555 Visited[I] = false; in checkHoistValue()
889 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
891 DT, Unhoistables, nullptr, Visited); in checkScopeHoistable()
910 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
912 DT, Unhoistables, nullptr, Visited); in checkScopeHoistable()
942 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
944 DT, Unhoistables, nullptr, Visited) && in checkScopeHoistable()
950 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
952 Unhoistables, nullptr, Visited) && in checkScopeHoistable()
1053 DenseMap<Instruction *, bool> Visited; in shouldSplit() local
1054 if (!checkHoistValue(V, InsertPoint, DT, Unhoistables, nullptr, Visited)) { in shouldSplit()
1065 DenseMap<Value *, std::set<Value *>> Visited; in shouldSplit() local
1067 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited); in shouldSplit()
1071 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited); in shouldSplit()
1383 DenseMap<Instruction *, bool> Visited; in setCHRRegions() local
1385 Unhoistables, &HoistStops, Visited); in setCHRRegions()
1395 DenseMap<Instruction *, bool> Visited; in setCHRRegions() local
1397 Unhoistables, &HoistStops, Visited); in setCHRRegions()