Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Side by Side Diff: src/compiler/register-allocator.h

Issue 460623002: Revert "More lazy deoptimization in Turbofan (binops, loads/stores)" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_REGISTER_ALLOCATOR_H_ 5 #ifndef V8_REGISTER_ALLOCATOR_H_
6 #define V8_REGISTER_ALLOCATOR_H_ 6 #define V8_REGISTER_ALLOCATOR_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/compiler/instruction.h" 9 #include "src/compiler/instruction.h"
10 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // Liveness analysis support. 384 // Liveness analysis support.
385 void InitializeLivenessAnalysis(); 385 void InitializeLivenessAnalysis();
386 BitVector* ComputeLiveOut(BasicBlock* block); 386 BitVector* ComputeLiveOut(BasicBlock* block);
387 void AddInitialIntervals(BasicBlock* block, BitVector* live_out); 387 void AddInitialIntervals(BasicBlock* block, BitVector* live_out);
388 bool IsOutputRegisterOf(Instruction* instr, int index); 388 bool IsOutputRegisterOf(Instruction* instr, int index);
389 bool IsOutputDoubleRegisterOf(Instruction* instr, int index); 389 bool IsOutputDoubleRegisterOf(Instruction* instr, int index);
390 void ProcessInstructions(BasicBlock* block, BitVector* live); 390 void ProcessInstructions(BasicBlock* block, BitVector* live);
391 void MeetRegisterConstraints(BasicBlock* block); 391 void MeetRegisterConstraints(BasicBlock* block);
392 void MeetConstraintsBetween(Instruction* first, Instruction* second, 392 void MeetConstraintsBetween(Instruction* first, Instruction* second,
393 int gap_index); 393 int gap_index);
394 void MeetRegisterConstraintsForLastInstructionInBlock(BasicBlock* block);
395 void ResolvePhis(BasicBlock* block); 394 void ResolvePhis(BasicBlock* block);
396 395
397 // Helper methods for building intervals. 396 // Helper methods for building intervals.
398 InstructionOperand* AllocateFixed(UnallocatedOperand* operand, int pos, 397 InstructionOperand* AllocateFixed(UnallocatedOperand* operand, int pos,
399 bool is_tagged); 398 bool is_tagged);
400 LiveRange* LiveRangeFor(InstructionOperand* operand); 399 LiveRange* LiveRangeFor(InstructionOperand* operand);
401 void Define(LifetimePosition position, InstructionOperand* operand, 400 void Define(LifetimePosition position, InstructionOperand* operand,
402 InstructionOperand* hint); 401 InstructionOperand* hint);
403 void Use(LifetimePosition block_start, LifetimePosition position, 402 void Use(LifetimePosition block_start, LifetimePosition position,
404 InstructionOperand* operand, InstructionOperand* hint); 403 InstructionOperand* operand, InstructionOperand* hint);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 RegisterAllocator* allocator_; 538 RegisterAllocator* allocator_;
540 unsigned allocator_zone_start_allocation_size_; 539 unsigned allocator_zone_start_allocation_size_;
541 540
542 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorPhase); 541 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorPhase);
543 }; 542 };
544 } 543 }
545 } 544 }
546 } // namespace v8::internal::compiler 545 } // namespace v8::internal::compiler
547 546
548 #endif // V8_REGISTER_ALLOCATOR_H_ 547 #endif // V8_REGISTER_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/operator-properties-inl.h ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698