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