v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::LifetimePosition Class Referencefinal

#include <register-allocator.h>

Collaboration diagram for v8::internal::compiler::LifetimePosition:

Public Member Functions

int value () const
 
int ToInstructionIndex () const
 
bool IsStart () const
 
bool IsEnd () const
 
bool IsFullStart () const
 
bool IsGapPosition () const
 
bool IsInstructionPosition () const
 
LifetimePosition Start () const
 
LifetimePosition FullStart () const
 
LifetimePosition End () const
 
LifetimePosition NextStart () const
 
LifetimePosition NextFullStart () const
 
LifetimePosition PrevStart () const
 
 LifetimePosition ()
 
bool IsValid () const
 
bool operator< (const LifetimePosition &that) const
 
bool operator<= (const LifetimePosition &that) const
 
bool operator== (const LifetimePosition &that) const
 
bool operator!= (const LifetimePosition &that) const
 
bool operator> (const LifetimePosition &that) const
 
bool operator>= (const LifetimePosition &that) const
 
void Print () const
 

Static Public Member Functions

static LifetimePosition GapFromInstructionIndex (int index)
 
static LifetimePosition InstructionFromInstructionIndex (int index)
 
static bool ExistsGapPositionBetween (LifetimePosition pos1, LifetimePosition pos2)
 
static LifetimePosition Invalid ()
 
static LifetimePosition MaxPosition ()
 
static LifetimePosition FromInt (int value)
 

Private Member Functions

 LifetimePosition (int value)
 

Private Attributes

int value_
 

Static Private Attributes

static const int kHalfStep = 2
 
static const int kStep = 2 * kHalfStep
 

Detailed Description

Definition at line 41 of file register-allocator.h.

Constructor & Destructor Documentation

◆ LifetimePosition() [1/2]

v8::internal::compiler::LifetimePosition::LifetimePosition ( )
inline

Definition at line 121 of file register-allocator.h.

Here is the caller graph for this function:

◆ LifetimePosition() [2/2]

v8::internal::compiler::LifetimePosition::LifetimePosition ( int value)
inlineexplicitprivate

Definition at line 173 of file register-allocator.h.

Member Function Documentation

◆ End()

LifetimePosition v8::internal::compiler::LifetimePosition::End ( ) const
inline

Definition at line 95 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExistsGapPositionBetween()

static bool v8::internal::compiler::LifetimePosition::ExistsGapPositionBetween ( LifetimePosition pos1,
LifetimePosition pos2 )
inlinestatic

Definition at line 54 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FromInt()

static LifetimePosition v8::internal::compiler::LifetimePosition::FromInt ( int value)
inlinestatic

Definition at line 162 of file register-allocator.h.

Here is the call graph for this function:

◆ FullStart()

LifetimePosition v8::internal::compiler::LifetimePosition::FullStart ( ) const
inline

Definition at line 89 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GapFromInstructionIndex()

static LifetimePosition v8::internal::compiler::LifetimePosition::GapFromInstructionIndex ( int index)
inlinestatic

Definition at line 45 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstructionFromInstructionIndex()

static LifetimePosition v8::internal::compiler::LifetimePosition::InstructionFromInstructionIndex ( int index)
inlinestatic

Definition at line 50 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Invalid()

static LifetimePosition v8::internal::compiler::LifetimePosition::Invalid ( )
inlinestatic

Definition at line 154 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsEnd()

bool v8::internal::compiler::LifetimePosition::IsEnd ( ) const
inline

Definition at line 75 of file register-allocator.h.

◆ IsFullStart()

bool v8::internal::compiler::LifetimePosition::IsFullStart ( ) const
inline

Definition at line 77 of file register-allocator.h.

◆ IsGapPosition()

bool v8::internal::compiler::LifetimePosition::IsGapPosition ( ) const
inline

Definition at line 79 of file register-allocator.h.

Here is the caller graph for this function:

◆ IsInstructionPosition()

bool v8::internal::compiler::LifetimePosition::IsInstructionPosition ( ) const
inline

Definition at line 80 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsStart()

bool v8::internal::compiler::LifetimePosition::IsStart ( ) const
inline

Definition at line 73 of file register-allocator.h.

Here is the caller graph for this function:

◆ IsValid()

bool v8::internal::compiler::LifetimePosition::IsValid ( ) const
inline

Definition at line 125 of file register-allocator.h.

Here is the caller graph for this function:

◆ MaxPosition()

static LifetimePosition v8::internal::compiler::LifetimePosition::MaxPosition ( )
inlinestatic

Definition at line 156 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NextFullStart()

LifetimePosition v8::internal::compiler::LifetimePosition::NextFullStart ( ) const
inline

Definition at line 107 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NextStart()

LifetimePosition v8::internal::compiler::LifetimePosition::NextStart ( ) const
inline

Definition at line 101 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::compiler::LifetimePosition::operator!= ( const LifetimePosition & that) const
inline

Definition at line 139 of file register-allocator.h.

◆ operator<()

bool v8::internal::compiler::LifetimePosition::operator< ( const LifetimePosition & that) const
inline

Definition at line 127 of file register-allocator.h.

◆ operator<=()

bool v8::internal::compiler::LifetimePosition::operator<= ( const LifetimePosition & that) const
inline

Definition at line 131 of file register-allocator.h.

◆ operator==()

bool v8::internal::compiler::LifetimePosition::operator== ( const LifetimePosition & that) const
inline

Definition at line 135 of file register-allocator.h.

◆ operator>()

bool v8::internal::compiler::LifetimePosition::operator> ( const LifetimePosition & that) const
inline

Definition at line 143 of file register-allocator.h.

◆ operator>=()

bool v8::internal::compiler::LifetimePosition::operator>= ( const LifetimePosition & that) const
inline

Definition at line 147 of file register-allocator.h.

◆ PrevStart()

LifetimePosition v8::internal::compiler::LifetimePosition::PrevStart ( ) const
inline

Definition at line 113 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print()

void v8::internal::compiler::LifetimePosition::Print ( ) const

Definition at line 177 of file register-allocator.cc.

◆ Start()

LifetimePosition v8::internal::compiler::LifetimePosition::Start ( ) const
inline

Definition at line 83 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToInstructionIndex()

int v8::internal::compiler::LifetimePosition::ToInstructionIndex ( ) const
inline

Definition at line 67 of file register-allocator.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value()

int v8::internal::compiler::LifetimePosition::value ( ) const
inline

Definition at line 63 of file register-allocator.h.

Here is the caller graph for this function:

Member Data Documentation

◆ kHalfStep

const int v8::internal::compiler::LifetimePosition::kHalfStep = 2
staticprivate

Definition at line 167 of file register-allocator.h.

◆ kStep

const int v8::internal::compiler::LifetimePosition::kStep = 2 * kHalfStep
staticprivate

Definition at line 168 of file register-allocator.h.

◆ value_

int v8::internal::compiler::LifetimePosition::value_
private

Definition at line 175 of file register-allocator.h.


The documentation for this class was generated from the following files: