Lines Matching refs:Visited

491               DenseMap<Value *, std::set<Value *>> &Visited) {  in getBaseValues()  argument
492 auto It = Visited.find(V); in getBaseValues()
493 if (It != Visited.end()) { in getBaseValues()
503 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
507 const std::set<Value *> &OpResult = getBaseValues(Op, DT, Visited); in getBaseValues()
510 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
518 return Visited.insert(std::make_pair(V, std::move(Result))).first->second; in getBaseValues()
529 DenseMap<Instruction *, bool> &Visited) { in checkHoistValue() argument
532 auto It = Visited.find(I); in checkHoistValue()
533 if (It != Visited.end()) { in checkHoistValue()
540 Visited[I] = false; in checkHoistValue()
547 Visited[I] = true; in checkHoistValue()
558 Visited)) { in checkHoistValue()
567 Visited[I] = true; in checkHoistValue()
571 Visited[I] = false; in checkHoistValue()
897 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
899 DT, Unhoistables, nullptr, Visited); in checkScopeHoistable()
918 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
920 DT, Unhoistables, nullptr, Visited); in checkScopeHoistable()
950 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
952 DT, Unhoistables, nullptr, Visited) && in checkScopeHoistable()
958 DenseMap<Instruction *, bool> Visited; in checkScopeHoistable() local
960 Unhoistables, nullptr, Visited) && in checkScopeHoistable()
1061 DenseMap<Instruction *, bool> Visited; in shouldSplit() local
1062 if (!checkHoistValue(V, InsertPoint, DT, Unhoistables, nullptr, Visited)) { in shouldSplit()
1073 DenseMap<Value *, std::set<Value *>> Visited; in shouldSplit() local
1075 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited); in shouldSplit()
1079 const std::set<Value *> &BaseValues = getBaseValues(V, DT, Visited); in shouldSplit()
1391 DenseMap<Instruction *, bool> Visited; in setCHRRegions() local
1393 Unhoistables, &HoistStops, Visited); in setCHRRegions()
1403 DenseMap<Instruction *, bool> Visited; in setCHRRegions() local
1405 Unhoistables, &HoistStops, Visited); in setCHRRegions()