Home
last modified time | relevance | path

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

/art/runtime/gc/accounting/
Dspace_bitmap.cc188 void SpaceBitmap<kAlignment>::WalkInstanceFields(SpaceBitmap<kAlignment>* visited, in WalkInstanceFields() argument
195 WalkInstanceFields(visited, callback, obj, super, arg); in WalkInstanceFields()
202 WalkFieldsInOrder(visited, callback, value, arg); in WalkInstanceFields()
209 void SpaceBitmap<kAlignment>::WalkFieldsInOrder(SpaceBitmap<kAlignment>* visited, in WalkFieldsInOrder() argument
212 if (visited->Test(obj)) { in WalkFieldsInOrder()
217 visited->Set(obj); in WalkFieldsInOrder()
220 WalkInstanceFields(visited, callback, obj, klass, arg); in WalkFieldsInOrder()
227 WalkFieldsInOrder(visited, callback, value, arg); in WalkFieldsInOrder()
238 WalkFieldsInOrder(visited, callback, value, arg); in WalkFieldsInOrder()
246 std::unique_ptr<SpaceBitmap<kAlignment>> visited( in InOrderWalk() local
[all …]
Dspace_bitmap.h206 static void WalkFieldsInOrder(SpaceBitmap* visited, ObjectCallback* callback, mirror::Object* obj,
210 static void WalkInstanceFields(SpaceBitmap<kAlignment>* visited, ObjectCallback* callback,
/art/compiler/optimizing/
Ddead_code_elimination.cc25 static void MarkReachableBlocks(HGraph* graph, ArenaBitVector* visited) { in MarkReachableBlocks() argument
29 visited->SetBit(graph->GetEntryBlock()->GetBlockId()); in MarkReachableBlocks()
36 DCHECK(visited->IsBitSet(block_id)); in MarkReachableBlocks()
76 if (!visited->IsBitSet(successor->GetBlockId())) { in MarkReachableBlocks()
77 visited->SetBit(successor->GetBlockId()); in MarkReachableBlocks()
Dlicm.cc84 ArenaBitVector* visited = nullptr; in Run() local
86 visited = new (graph_->GetArena()) ArenaBitVector(graph_->GetArena(), in Run()
109 DCHECK(visited->IsBitSet(inner->GetBlockId())); in Run()
113 visited->SetBit(inner->GetBlockId()); in Run()
Dgraph_checker.cc674 static bool IsConstantEquivalent(HInstruction* insn1, HInstruction* insn2, BitVector* visited) { in IsConstantEquivalent() argument
679 if (visited->IsBitSet(insn1->GetId())) { in IsConstantEquivalent()
682 visited->SetBit(insn1->GetId()); in IsConstantEquivalent()
685 if (!IsConstantEquivalent(insn1->InputAt(i), insn2->InputAt(i), visited)) { in IsConstantEquivalent()
821 ArenaBitVector& visited = visited_storage_; in VisitPhi() local
822 visited.SetBit(GetGraph()->GetCurrentInstructionId()); in VisitPhi()
823 visited.ClearAllBits(); in VisitPhi()
824 if (!IsConstantEquivalent(phi, other_phi, &visited)) { in VisitPhi()
Dnodes.cc52 void HGraph::FindBackEdges(ArenaBitVector* visited) { in FindBackEdges() argument
54 DCHECK_EQ(visited->GetHighestBitSet(), -1); in FindBackEdges()
66 visited->SetBit(entry_block_->GetBlockId()); in FindBackEdges()
82 } else if (!visited->IsBitSet(successor_id)) { in FindBackEdges()
83 visited->SetBit(successor_id); in FindBackEdges()
111 void HGraph::RemoveInstructionsAsUsersFromDeadBlocks(const ArenaBitVector& visited) const { in RemoveInstructionsAsUsersFromDeadBlocks()
113 if (!visited.IsBitSet(i)) { in RemoveInstructionsAsUsersFromDeadBlocks()
124 void HGraph::RemoveDeadBlocks(const ArenaBitVector& visited) { in RemoveDeadBlocks() argument
126 if (!visited.IsBitSet(i)) { in RemoveDeadBlocks()
147 ArenaBitVector visited(arena_, blocks_.size(), false, kArenaAllocGraphBuilder); in BuildDominatorTree() local
[all …]
Dnodes.h340 void FindBackEdges(ArenaBitVector* visited);
522 void RemoveInstructionsAsUsersFromDeadBlocks(const ArenaBitVector& visited) const;
523 void RemoveDeadBlocks(const ArenaBitVector& visited);
/art/compiler/
Dimage_writer.cc711 std::unordered_set<mirror::Class*> visited; in PruneAppImageClass() local
712 return PruneAppImageClassInternal(klass, &early_exit, &visited); in PruneAppImageClass()
718 std::unordered_set<mirror::Class*>* visited) { in PruneAppImageClassInternal() argument
720 DCHECK(visited != nullptr); in PruneAppImageClassInternal()
731 if (visited->find(klass) != visited->end()) { in PruneAppImageClassInternal()
735 visited->emplace(klass); in PruneAppImageClassInternal()
755 visited); in PruneAppImageClassInternal()
761 visited); in PruneAppImageClassInternal()
776 visited); in PruneAppImageClassInternal()
780 visited); in PruneAppImageClassInternal()
[all …]
Dimage_writer.h455 std::unordered_set<mirror::Class*>* visited)
/art/runtime/gc/space/
Dimage_space.cc756 explicit FixupObjectVisitor(gc::accounting::ContinuousSpaceBitmap* visited, in FixupObjectVisitor() argument
761 visited_(visited) {} in FixupObjectVisitor()