V8 Project
|
#include <register-allocator.h>
Public Member Functions | |
UsePosition (LifetimePosition pos, InstructionOperand *operand, InstructionOperand *hint) | |
InstructionOperand * | operand () const |
bool | HasOperand () const |
InstructionOperand * | hint () const |
bool | HasHint () const |
bool | RequiresRegister () const |
bool | RegisterIsBeneficial () const |
LifetimePosition | pos () const |
UsePosition * | next () const |
void | set_next (UsePosition *next) |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Public Attributes | |
InstructionOperand *const | operand_ |
InstructionOperand *const | hint_ |
LifetimePosition const | pos_ |
UsePosition * | next_ |
bool | requires_reg_ |
bool | register_beneficial_ |
Definition at line 153 of file register-allocator.h.
v8::internal::compiler::UsePosition::UsePosition | ( | LifetimePosition | pos, |
InstructionOperand * | operand, | ||
InstructionOperand * | hint | ||
) |
Definition at line 25 of file register-allocator.cc.
References v8::internal::compiler::UnallocatedOperand::cast(), DCHECK, v8::internal::compiler::UnallocatedOperand::HasAnyPolicy(), v8::internal::compiler::UnallocatedOperand::HasRegisterPolicy(), v8::internal::compiler::LifetimePosition::IsValid(), NULL, operand_, pos_, register_beneficial_, and requires_reg_.
bool v8::internal::compiler::UsePosition::HasHint | ( | ) | const |
Definition at line 42 of file register-allocator.cc.
Referenced by v8::internal::compiler::LiveRange::AddUsePosition(), and v8::internal::compiler::LiveRange::FirstHint().
|
inline |
Definition at line 159 of file register-allocator.h.
References NULL, and operand_.
Referenced by v8::internal::compiler::LiveRange::ConvertOperands().
|
inline |
Definition at line 161 of file register-allocator.h.
References hint_.
Referenced by v8::internal::compiler::LiveRange::FirstHint().
|
inline |
Definition at line 167 of file register-allocator.h.
References next_.
Referenced by v8::internal::compiler::LiveRange::AddUsePosition(), v8::internal::compiler::LiveRange::ConvertOperands(), v8::internal::compiler::LiveRange::FirstHint(), v8::internal::compiler::LiveRange::NextRegisterPosition(), v8::internal::compiler::LiveRange::NextUsePosition(), v8::internal::compiler::LiveRange::NextUsePositionRegisterIsBeneficial(), v8::internal::compiler::LiveRange::PreviousUsePositionRegisterIsBeneficial(), set_next(), and v8::internal::compiler::LiveRange::SplitAt().
|
inline |
Definition at line 158 of file register-allocator.h.
References operand_.
Referenced by v8::internal::compiler::LiveRange::ConvertOperands().
|
inline |
Definition at line 166 of file register-allocator.h.
References pos_.
Referenced by v8::internal::compiler::LiveRange::AddUsePosition(), v8::internal::compiler::LiveRange::CanBeSpilled(), v8::internal::compiler::LiveRange::ConvertOperands(), v8::internal::compiler::LiveRange::NextUsePosition(), v8::internal::compiler::LiveRange::PreviousUsePositionRegisterIsBeneficial(), v8::internal::compiler::LiveRange::ShouldBeAllocatedBefore(), and v8::internal::compiler::LiveRange::SplitAt().
bool v8::internal::compiler::UsePosition::RegisterIsBeneficial | ( | ) | const |
Definition at line 50 of file register-allocator.cc.
References register_beneficial_.
Referenced by v8::internal::compiler::LiveRange::NextUsePositionRegisterIsBeneficial(), and v8::internal::compiler::LiveRange::PreviousUsePositionRegisterIsBeneficial().
bool v8::internal::compiler::UsePosition::RequiresRegister | ( | ) | const |
Definition at line 47 of file register-allocator.cc.
References requires_reg_.
Referenced by v8::internal::compiler::LiveRange::ConvertOperands(), and v8::internal::compiler::LiveRange::NextRegisterPosition().
|
inline |
Definition at line 169 of file register-allocator.h.
Referenced by v8::internal::compiler::LiveRange::AddUsePosition().
InstructionOperand* const v8::internal::compiler::UsePosition::hint_ |
Definition at line 172 of file register-allocator.h.
UsePosition* v8::internal::compiler::UsePosition::next_ |
Definition at line 174 of file register-allocator.h.
Referenced by v8::internal::compiler::LiveRange::AddUsePosition(), next(), set_next(), and v8::internal::compiler::LiveRange::SplitAt().
InstructionOperand* const v8::internal::compiler::UsePosition::operand_ |
Definition at line 171 of file register-allocator.h.
Referenced by HasOperand(), operand(), and UsePosition().
LifetimePosition const v8::internal::compiler::UsePosition::pos_ |
Definition at line 173 of file register-allocator.h.
Referenced by pos(), and UsePosition().
bool v8::internal::compiler::UsePosition::register_beneficial_ |
Definition at line 176 of file register-allocator.h.
Referenced by RegisterIsBeneficial(), and UsePosition().
bool v8::internal::compiler::UsePosition::requires_reg_ |
Definition at line 175 of file register-allocator.h.
Referenced by RequiresRegister(), and UsePosition().