Lines Matching refs:allocator
23 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator) in GlobalValueNumbering() argument
26 allocator_(allocator), in GlobalValueNumbering()
31 global_value_map_(std::less<uint64_t>(), allocator->Adapter()), in GlobalValueNumbering()
32 field_index_map_(FieldReferenceComparator(), allocator->Adapter()), in GlobalValueNumbering()
33 field_index_reverse_map_(allocator->Adapter()), in GlobalValueNumbering()
34 array_location_map_(ArrayLocationComparator(), allocator->Adapter()), in GlobalValueNumbering()
35 array_location_reverse_map_(allocator->Adapter()), in GlobalValueNumbering()
36 ref_set_map_(std::less<ValueNameSet>(), allocator->Adapter()), in GlobalValueNumbering()
37 lvns_(mir_graph_->GetNumBlocks(), nullptr, allocator->Adapter()), in GlobalValueNumbering()
39 merge_lvns_(allocator->Adapter()) { in GlobalValueNumbering()
47 ScopedArenaAllocator* allocator) { in PrepareBasicBlock() argument
62 if (allocator == nullptr) { in PrepareBasicBlock()
63 allocator = allocator_; in PrepareBasicBlock()
66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); in PrepareBasicBlock()