V8 Project
|
#include <lithium-allocator.h>
Public Member Functions | |
UsePosition (LifetimePosition pos, LOperand *operand, LOperand *hint) | |
LOperand * | operand () const |
bool | HasOperand () const |
LOperand * | hint () const |
bool | HasHint () const |
bool | RequiresRegister () const |
bool | RegisterIsBeneficial () const |
LifetimePosition | pos () const |
UsePosition * | next () const |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Private Member Functions | |
void | set_next (UsePosition *next) |
Private Attributes | |
LOperand *const | operand_ |
LOperand *const | hint_ |
LifetimePosition const | pos_ |
UsePosition * | next_ |
bool | requires_reg_ |
bool | register_beneficial_ |
Friends | |
class | LiveRange |
Definition at line 160 of file lithium-allocator.h.
v8::internal::UsePosition::UsePosition | ( | LifetimePosition | pos, |
LOperand * | operand, | ||
LOperand * | hint | ||
) |
Definition at line 25 of file lithium-allocator.cc.
References v8::internal::LUnallocated::cast(), DCHECK, v8::internal::LUnallocated::HasAnyPolicy(), v8::internal::LUnallocated::HasDoubleRegisterPolicy(), v8::internal::LUnallocated::HasRegisterPolicy(), v8::internal::LifetimePosition::IsValid(), NULL, operand_, pos_, register_beneficial_, and requires_reg_.
bool v8::internal::UsePosition::HasHint | ( | ) | const |
Definition at line 44 of file lithium-allocator.cc.
Referenced by v8::internal::LiveRange::AddUsePosition(), and v8::internal::LiveRange::FirstHint().
|
inline |
Definition at line 165 of file lithium-allocator.h.
References NULL, and operand_.
Referenced by v8::internal::LiveRange::ConvertOperands().
|
inline |
Definition at line 167 of file lithium-allocator.h.
References hint_.
Referenced by v8::internal::LiveRange::FirstHint().
|
inline |
Definition at line 173 of file lithium-allocator.h.
References next_.
Referenced by v8::internal::LiveRange::AddUsePosition(), v8::internal::LiveRange::ConvertOperands(), v8::internal::LiveRange::FirstHint(), v8::internal::LiveRange::NextRegisterPosition(), v8::internal::LiveRange::NextUsePosition(), v8::internal::LiveRange::NextUsePositionRegisterIsBeneficial(), v8::internal::LiveRange::PreviousUsePositionRegisterIsBeneficial(), set_next(), and v8::internal::LiveRange::SplitAt().
|
inline |
Definition at line 164 of file lithium-allocator.h.
References operand_.
Referenced by v8::internal::LiveRange::ConvertOperands().
|
inline |
Definition at line 172 of file lithium-allocator.h.
References pos_.
Referenced by v8::internal::LiveRange::AddUsePosition(), v8::internal::LiveRange::CanBeSpilled(), v8::internal::LiveRange::ConvertOperands(), v8::internal::LiveRange::NextUsePosition(), v8::internal::LiveRange::PreviousUsePositionRegisterIsBeneficial(), v8::internal::LiveRange::ShouldBeAllocatedBefore(), and v8::internal::LiveRange::SplitAt().
bool v8::internal::UsePosition::RegisterIsBeneficial | ( | ) | const |
Definition at line 54 of file lithium-allocator.cc.
References register_beneficial_.
Referenced by v8::internal::LiveRange::NextUsePositionRegisterIsBeneficial(), and v8::internal::LiveRange::PreviousUsePositionRegisterIsBeneficial().
bool v8::internal::UsePosition::RequiresRegister | ( | ) | const |
Definition at line 49 of file lithium-allocator.cc.
References requires_reg_.
Referenced by v8::internal::LiveRange::ConvertOperands(), and v8::internal::LiveRange::NextRegisterPosition().
|
inlineprivate |
Definition at line 176 of file lithium-allocator.h.
Referenced by v8::internal::LiveRange::AddUsePosition().
|
friend |
Definition at line 185 of file lithium-allocator.h.
|
private |
Definition at line 179 of file lithium-allocator.h.
|
private |
Definition at line 181 of file lithium-allocator.h.
Referenced by v8::internal::LiveRange::AddUsePosition(), next(), set_next(), and v8::internal::LiveRange::SplitAt().
|
private |
Definition at line 178 of file lithium-allocator.h.
Referenced by HasOperand(), operand(), and UsePosition().
|
private |
Definition at line 180 of file lithium-allocator.h.
Referenced by pos(), and UsePosition().
|
private |
Definition at line 183 of file lithium-allocator.h.
Referenced by RegisterIsBeneficial(), and UsePosition().
|
private |
Definition at line 182 of file lithium-allocator.h.
Referenced by RequiresRegister(), and UsePosition().