Home | History | Annotate | Download | only in crankshaft

Lines Matching refs:Zone

15   HInstructionMap(Zone* zone, SideEffectsTracker* side_effects_tracker)
23 ResizeLists(kInitialSize, zone);
24 Resize(kInitialSize, zone);
29 void Add(HInstruction* instr, Zone* zone) {
31 Insert(instr, zone);
36 HInstructionMap* Copy(Zone* zone) const {
37 return new(zone) HInstructionMap(zone, this);
53 HInstructionMap(Zone* zone, const HInstructionMap* other);
55 void Resize(int new_size, Zone* zone);
56 void ResizeLists(int new_size, Zone* zone);
57 void Insert(HInstruction* instr, Zone* zone);
135 HInstructionMap::HInstructionMap(Zone* zone, const HInstructionMap* other)
140 array_(zone->NewArray<HInstructionMapListElement>(other->array_size_)),
141 lists_(zone->NewArray<HInstructionMapListElement>(other->lists_size_)),
215 void HInstructionMap::Resize(int new_size, Zone* zone) {
222 ResizeLists(lists_size_ << 1, zone);
226 zone->NewArray<HInstructionMapListElement>(new_size);
244 Insert(lists_[current].instr, zone);
251 Insert(old_array[i].instr, zone);
260 void HInstructionMap::ResizeLists(int new_size, Zone* zone) {
264 zone->NewArray<HInstructionMapListElement>(new_size);
283 void HInstructionMap::Insert(HInstruction* instr, Zone* zone) {
286 if (count_ >= array_size_ >> 1) Resize(array_size_ << 1, zone);
295 ResizeLists(lists_size_ << 1, zone);
496 block_side_effects_(graph->blocks()->length(), zone()),
497 loop_side_effects_(graph->blocks()->length(), zone()),
498 visited_on_paths_(graph->blocks()->length(), zone()) {
501 SideEffects(), graph->blocks()->length(), zone());
503 SideEffects(), graph->blocks()->length(), zone());
684 static GvnBasicBlockState* CreateEntry(Zone* zone,
687 return new(zone)
688 GvnBasicBlockState(NULL, entry_block, entry_map, NULL, zone);
696 Zone* zone,
701 GvnBasicBlockState* result = next_dominated(zone);
708 result = dominator_state->next_dominated(zone);
722 Zone* zone) {
724 map_ = copy_map ? map->Copy(zone) : map;
737 Zone* zone)
739 Initialize(block, map, dominators, true, zone);
742 GvnBasicBlockState* next_dominated(Zone* zone) {
750 zone);
753 return push(zone, block_->dominated_blocks()->at(dominated_index_));
759 GvnBasicBlockState* push(Zone* zone, HBasicBlock* block) {
762 new(zone) GvnBasicBlockState(this, block, map(), dominators(), zone);
764 next_->Initialize(block, map(), dominators(), true, zone);
796 new(zone()) HInstructionMap(zone(), &side_effects_tracker_);
798 GvnBasicBlockState::CreateEntry(zone(), entry_block, entry_map);
864 map->Add(instr, zone());
871 current->next_in_dominator_tree_traversal(zone(),