Lines Matching refs:allocator
39 explicit ValueSet(ArenaAllocator* allocator)
40 : allocator_(allocator),
42 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)),
43 buckets_owned_(allocator, num_buckets_, false, kArenaAllocGvn),
52 ValueSet(ArenaAllocator* allocator, const ValueSet& other)
53 : allocator_(allocator),
55 buckets_(allocator->AllocArray<Node*>(num_buckets_, kArenaAllocGvn)),
56 buckets_owned_(allocator, num_buckets_, false, kArenaAllocGvn),
211 Node* Dup(ArenaAllocator* allocator, Node* new_next = nullptr) {
212 return new (allocator) Node(instruction_, hash_code_, new_next);
353 GlobalValueNumberer(ArenaAllocator* allocator,
357 allocator_(allocator),
359 sets_(graph->GetBlocks().size(), nullptr, allocator->Adapter(kArenaAllocGvn)),
361 allocator, graph->GetBlocks().size(), /* expandable */ false, kArenaAllocGvn) {}