Home
last modified time | relevance | path

Searched refs:visited (Results 1 – 17 of 17) sorted by relevance

/art/runtime/gc/
Dverification.cc160 explicit BFSFindReachable(ObjectSet* visited) : visited_(visited) {} in BFSFindReachable() argument
199 CollectRootVisitor(ObjectSet* visited, WorkQueue* work) : visited_(visited), work_(work) {} in CollectRootVisitor() argument
217 std::set<mirror::Object*> visited; in FirstPathFromRootSet() local
220 CollectRootVisitor root_visitor(&visited, &work); in FirstPathFromRootSet()
229 BFSFindReachable visitor(&visited); in FirstPathFromRootSet()
/art/runtime/
Dhandle_scope_test.cc82 visited.insert(ref); in VisitRootIfNonNull()
87 std::set<StackReference<mirror::Object>*> visited; member in art::CollectVisitor
116 EXPECT_LE(visitor.visited.size(), base->NumberOfReferences()); in TEST_F()
118 for (StackReference<mirror::Object>* ref : visitor.visited) { in TEST_F()
Dclass_linker.cc1551 ObjPtr<mirror::String> visited = visitor(referred_string); in VisitInternedStringReferences() local
1552 if (visited != referred_string) { in VisitInternedStringReferences()
1556 mirror::StringDexCachePair(visited, source.index), std::memory_order_relaxed); in VisitInternedStringReferences()
1576 ObjPtr<mirror::String> visited = visitor(referred_string); in VisitInternedStringReferences() local
1577 if (visited != referred_string) { in VisitInternedStringReferences()
1580 preresolved_strings[string_index] = GcRoot<mirror::String>(visited); in VisitInternedStringReferences()
1600 ObjPtr<mirror::String> visited = visitor(referred_string); in VisitInternedStringReferences() local
1601 if (visited != referred_string) { in VisitInternedStringReferences()
1605 /* kIsVolatile= */ false>(member_offset, visited); in VisitInternedStringReferences()
/art/compiler/optimizing/
Dlicm.cc86 ArenaBitVector* visited = nullptr; in Run() local
88 visited = new (graph_->GetAllocator()) ArenaBitVector(graph_->GetAllocator(), in Run()
110 DCHECK(visited->IsBitSet(inner->GetBlockId())); in Run()
114 visited->SetBit(inner->GetBlockId()); in Run()
Ddead_code_elimination.cc28 static void MarkReachableBlocks(HGraph* graph, ArenaBitVector* visited) { in MarkReachableBlocks() argument
35 visited->SetBit(graph->GetEntryBlock()->GetBlockId()); in MarkReachableBlocks()
42 DCHECK(visited->IsBitSet(block_id)); in MarkReachableBlocks()
82 if (!visited->IsBitSet(successor->GetBlockId())) { in MarkReachableBlocks()
83 visited->SetBit(successor->GetBlockId()); in MarkReachableBlocks()
Dgraph_checker.cc779 BitVector* visited) { in IsConstantEquivalent() argument
789 if (visited->IsBitSet(insn1->GetId())) { in IsConstantEquivalent()
792 visited->SetBit(insn1->GetId()); in IsConstantEquivalent()
795 if (!IsConstantEquivalent(insn1_inputs[i], insn2_inputs[i], visited)) { in IsConstantEquivalent()
933 ArenaBitVector visited(&allocator, in VisitPhi() local
937 visited.ClearAllBits(); in VisitPhi()
938 if (!IsConstantEquivalent(phi, other_phi, &visited)) { in VisitPhi()
Dnodes.cc54 void HGraph::FindBackEdges(ArenaBitVector* visited) { in FindBackEdges() argument
56 DCHECK_EQ(visited->GetHighestBitSet(), -1); in FindBackEdges()
72 visited->SetBit(entry_block_->GetBlockId()); in FindBackEdges()
88 } else if (!visited->IsBitSet(successor_id)) { in FindBackEdges()
89 visited->SetBit(successor_id); in FindBackEdges()
144 void HGraph::RemoveInstructionsAsUsersFromDeadBlocks(const ArenaBitVector& visited) const { in RemoveInstructionsAsUsersFromDeadBlocks()
146 if (!visited.IsBitSet(i)) { in RemoveInstructionsAsUsersFromDeadBlocks()
159 void HGraph::RemoveDeadBlocks(const ArenaBitVector& visited) { in RemoveDeadBlocks() argument
161 if (!visited.IsBitSet(i)) { in RemoveDeadBlocks()
185 ArenaBitVector visited(&allocator, blocks_.size(), false, kArenaAllocGraphBuilder); in BuildDominatorTree() local
[all …]
Dsuperblock_cloner.cc274 ArenaBitVector visited(arena_, graph_->GetBlocks().size(), false, kArenaAllocSuperblockCloner); in FindBackEdgesLocal() local
276 DCHECK_EQ(visited.GetHighestBitSet(), -1); in FindBackEdgesLocal()
289 visited.SetBit(entry_block->GetBlockId()); in FindBackEdgesLocal()
309 } else if (!visited.IsBitSet(successor_id)) { in FindBackEdgesLocal()
310 visited.SetBit(successor_id); in FindBackEdgesLocal()
Dnodes.h445 void FindBackEdges(ArenaBitVector* visited);
697 void RemoveInstructionsAsUsersFromDeadBlocks(const ArenaBitVector& visited) const;
698 void RemoveDeadBlocks(const ArenaBitVector& visited);
/art/test/1945-proxy-method-arguments/
Dinfo.txt1 Test checking that reference arguments of proxy methods are visited as
/art/tools/hiddenapi/
Dhiddenapi.cc341 std::vector<HierarchyClass*> visited; in ForEachResolvableMember() local
342 return ForEachResolvableMember_Impl(other, fn, true, true, visited); in ForEachResolvableMember()
368 std::vector<HierarchyClass*> visited) { in ForEachResolvableMember_Impl() argument
369 if (std::find(visited.begin(), visited.end(), this) == visited.end()) { in ForEachResolvableMember_Impl()
370 visited.push_back(this); in ForEachResolvableMember_Impl()
387 visited); in ForEachResolvableMember_Impl()
402 visited); in ForEachResolvableMember_Impl()
/art/dex2oat/linker/
Dimage_writer.cc986 std::unordered_set<mirror::Object*>* visited, in PruneObjectReferenceVisitor() argument
988 : image_writer_(image_writer), early_exit_(early_exit), visited_(visited), result_(result) {} in PruneObjectReferenceVisitor()
1047 std::unordered_set<mirror::Object*> visited; in PruneImageClass() local
1048 return PruneImageClassInternal(klass, &early_exit, &visited); in PruneImageClass()
1054 std::unordered_set<mirror::Object*>* visited) { in PruneImageClassInternal() argument
1056 DCHECK(visited != nullptr); in PruneImageClassInternal()
1067 if (visited->find(klass.Ptr()) != visited->end()) { in PruneImageClassInternal()
1071 visited->emplace(klass.Ptr()); in PruneImageClassInternal()
1092 visited); in PruneImageClassInternal()
1098 visited); in PruneImageClassInternal()
[all …]
Dimage_writer.h576 std::unordered_set<mirror::Object*>* visited)
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc115 std::set<const void*> visited; in ProcessDexFiles() local
135 if (method.GetCodeItem() == nullptr || !visited.insert(method.GetCodeItem()).second) { in ProcessDexFiles()
/art/dexlayout/
Ddexlayout.cc1719 std::unordered_set<dex_ir::StringData*> visited; in LayoutStringData() local
1721 visited.insert(data.get()); in LayoutStringData()
1724 CHECK(visited.find(string_id->DataItem()) != visited.end()); in LayoutStringData()
/art/openjdkjvmti/
Dti_heap.cc926 std::unordered_set<art::mirror::Object*>* visited) in CollectAndReportRootsVisitor() argument
930 visited_(visited), in CollectAndReportRootsVisitor()
/art/runtime/gc/space/
Dimage_space.cc1333 explicit FixupObjectVisitor(gc::accounting::ContinuousSpaceBitmap* visited, in FixupObjectVisitor() argument
1335 : visited_(visited), forward_(forward) {} in FixupObjectVisitor()