Searched refs:ArenaAllocator (Results 1 – 7 of 7) sorted by relevance
137 class ArenaAllocator {142 ArenaAllocator(Arena* arena) : arena_(arena) {} // NOLINT(runtime/explicit) in ArenaAllocator() function145 ArenaAllocator(const ArenaAllocator<U>& other) : arena_(other.arena()) {} in ArenaAllocator() function154 bool operator==(const ArenaAllocator<T>& other) const { return arena() == other.arena(); }156 bool operator!=(const ArenaAllocator<T>& other) const { return arena() != other.arena(); }
26 using ArenaString = std::basic_string<char, std::char_traits<char>, ArenaAllocator<char> >;
27 using ArenaVector = std::vector<T, ArenaAllocator<T> >;
27 using ArenaList = std::list<T, ArenaAllocator<T> >;
27 using ArenaMap = std::map<K, T, C, ArenaAllocator<std::pair<const K, T> > >;
30 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Init()
37 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Run()