V8 Project
|
#include <lithium-allocator.h>
Public Member Functions | |
int | Value () const |
int | InstructionIndex () const |
bool | IsInstructionStart () const |
LifetimePosition | InstructionStart () const |
LifetimePosition | InstructionEnd () const |
LifetimePosition | NextInstruction () const |
LifetimePosition | PrevInstruction () const |
LifetimePosition () | |
bool | IsValid () const |
Static Public Member Functions | |
static LifetimePosition | FromInstructionIndex (int index) |
static LifetimePosition | Invalid () |
static LifetimePosition | MaxPosition () |
Private Member Functions | |
STATIC_ASSERT (IS_POWER_OF_TWO(kStep)) | |
LifetimePosition (int value) | |
Private Attributes | |
int | value_ |
Static Private Attributes | |
static const int | kStep = 2 |
Definition at line 38 of file lithium-allocator.h.
|
inline |
Definition at line 94 of file lithium-allocator.h.
Referenced by FromInstructionIndex(), InstructionEnd(), InstructionStart(), Invalid(), MaxPosition(), NextInstruction(), and PrevInstruction().
|
inlineexplicitprivate |
Definition at line 114 of file lithium-allocator.h.
|
inlinestatic |
Definition at line 42 of file lithium-allocator.h.
References kStep, and LifetimePosition().
|
inline |
Definition at line 73 of file lithium-allocator.h.
References DCHECK, InstructionStart(), IsValid(), kStep, LifetimePosition(), and Value().
Referenced by v8::internal::LiveRange::CanBeSpilled().
|
inline |
|
inline |
Definition at line 66 of file lithium-allocator.h.
References DCHECK, IsValid(), kStep, LifetimePosition(), and value_.
Referenced by InstructionEnd(), NextInstruction(), and PrevInstruction().
|
inlinestatic |
Definition at line 100 of file lithium-allocator.h.
References LifetimePosition().
Referenced by v8::internal::LiveRange::AdvanceLastProcessedMarker(), v8::internal::LiveRange::FirstIntersection(), and v8::internal::UseInterval::Intersect().
|
inline |
|
inline |
Definition at line 98 of file lithium-allocator.h.
References value_.
Referenced by v8::internal::LiveRange::FirstIntersection(), InstructionEnd(), InstructionIndex(), InstructionStart(), NextInstruction(), PrevInstruction(), and v8::internal::UsePosition::UsePosition().
|
inlinestatic |
Definition at line 102 of file lithium-allocator.h.
References v8::internal::kMaxInt, and LifetimePosition().
|
inline |
Definition at line 79 of file lithium-allocator.h.
References DCHECK, InstructionStart(), IsValid(), kStep, LifetimePosition(), and Value().
Referenced by v8::internal::LiveRange::CanBeSpilled().
|
inline |
Definition at line 86 of file lithium-allocator.h.
References DCHECK, InstructionStart(), IsValid(), kStep, LifetimePosition(), Value(), and value_.
|
private |
|
inline |
Definition at line 47 of file lithium-allocator.h.
References value_.
Referenced by v8::internal::LiveRange::AddUseInterval(), v8::internal::LiveRange::AddUsePosition(), v8::internal::LiveRange::AdvanceLastProcessedMarker(), v8::internal::LiveRange::CanBeSpilled(), v8::internal::LiveRange::CanCover(), v8::internal::UseInterval::Contains(), v8::internal::LiveRange::ConvertOperands(), v8::internal::LiveRange::Covers(), v8::internal::LiveRange::EnsureInterval(), v8::internal::LiveRange::FirstIntersection(), v8::internal::LiveRange::FirstSearchIntervalForPosition(), InstructionEnd(), v8::internal::UseInterval::Intersect(), v8::internal::Max(), v8::internal::Min(), NextInstruction(), v8::internal::LiveRange::NextUsePosition(), PrevInstruction(), v8::internal::LiveRange::PreviousUsePositionRegisterIsBeneficial(), v8::internal::LiveRange::ShortenTo(), v8::internal::LiveRange::ShouldBeAllocatedBefore(), v8::internal::UseInterval::SplitAt(), v8::internal::LiveRange::SplitAt(), and v8::internal::UseInterval::UseInterval().
|
staticprivate |
Definition at line 109 of file lithium-allocator.h.
Referenced by FromInstructionIndex(), InstructionEnd(), InstructionIndex(), InstructionStart(), IsInstructionStart(), NextInstruction(), and PrevInstruction().
|
private |
Definition at line 116 of file lithium-allocator.h.
Referenced by InstructionIndex(), InstructionStart(), IsInstructionStart(), IsValid(), PrevInstruction(), and Value().