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

#include <instructions.h>

Collaboration diagram for v8::internal::torque::DefinitionLocation:

Public Types

enum class  Kind { kInvalid , kParameter , kPhi , kInstruction }
 

Public Member Functions

 DefinitionLocation ()
 
Kind GetKind () const
 
bool IsValid () const
 
bool IsParameter () const
 
bool IsPhi () const
 
bool IsInstruction () const
 
std::size_t GetParameterIndex () const
 
const BlockGetPhiBlock () const
 
bool IsPhiFromBlock (const Block *block) const
 
std::size_t GetPhiIndex () const
 
const InstructionBaseGetInstruction () const
 
std::size_t GetInstructionIndex () const
 
bool operator== (const DefinitionLocation &other) const
 
bool operator!= (const DefinitionLocation &other) const
 
bool operator< (const DefinitionLocation &other) const
 

Static Public Member Functions

static DefinitionLocation Parameter (std::size_t index)
 
static DefinitionLocation Phi (const Block *block, std::size_t index)
 
static DefinitionLocation Instruction (const InstructionBase *instruction, std::size_t index=0)
 

Private Member Functions

 DefinitionLocation (Kind kind, const void *location, std::size_t index)
 

Private Attributes

Kind kind_
 
const void * location_
 
std::size_t index_
 

Detailed Description

Definition at line 79 of file instructions.h.

Member Enumeration Documentation

◆ Kind

Enumerator
kInvalid 
kParameter 
kPhi 
kInstruction 

Definition at line 81 of file instructions.h.

Constructor & Destructor Documentation

◆ DefinitionLocation() [1/2]

v8::internal::torque::DefinitionLocation::DefinitionLocation ( )
inline

Definition at line 88 of file instructions.h.

Here is the caller graph for this function:

◆ DefinitionLocation() [2/2]

v8::internal::torque::DefinitionLocation::DefinitionLocation ( Kind kind,
const void * location,
std::size_t index )
inlineprivate

Definition at line 159 of file instructions.h.

Member Function Documentation

◆ GetInstruction()

const InstructionBase * v8::internal::torque::DefinitionLocation::GetInstruction ( ) const
inline

Definition at line 128 of file instructions.h.

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

◆ GetInstructionIndex()

std::size_t v8::internal::torque::DefinitionLocation::GetInstructionIndex ( ) const
inline

Definition at line 133 of file instructions.h.

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

◆ GetKind()

Kind v8::internal::torque::DefinitionLocation::GetKind ( ) const
inline

Definition at line 103 of file instructions.h.

Here is the caller graph for this function:

◆ GetParameterIndex()

std::size_t v8::internal::torque::DefinitionLocation::GetParameterIndex ( ) const
inline

Definition at line 109 of file instructions.h.

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

◆ GetPhiBlock()

const Block * v8::internal::torque::DefinitionLocation::GetPhiBlock ( ) const
inline

Definition at line 114 of file instructions.h.

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

◆ GetPhiIndex()

std::size_t v8::internal::torque::DefinitionLocation::GetPhiIndex ( ) const
inline

Definition at line 123 of file instructions.h.

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

◆ Instruction()

static DefinitionLocation v8::internal::torque::DefinitionLocation::Instruction ( const InstructionBase * instruction,
std::size_t index = 0 )
inlinestatic

Definition at line 98 of file instructions.h.

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

◆ IsInstruction()

bool v8::internal::torque::DefinitionLocation::IsInstruction ( ) const
inline

Definition at line 107 of file instructions.h.

Here is the caller graph for this function:

◆ IsParameter()

bool v8::internal::torque::DefinitionLocation::IsParameter ( ) const
inline

Definition at line 105 of file instructions.h.

Here is the caller graph for this function:

◆ IsPhi()

bool v8::internal::torque::DefinitionLocation::IsPhi ( ) const
inline

Definition at line 106 of file instructions.h.

Here is the caller graph for this function:

◆ IsPhiFromBlock()

bool v8::internal::torque::DefinitionLocation::IsPhiFromBlock ( const Block * block) const
inline

Definition at line 119 of file instructions.h.

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

◆ IsValid()

bool v8::internal::torque::DefinitionLocation::IsValid ( ) const
inline

Definition at line 104 of file instructions.h.

◆ operator!=()

bool v8::internal::torque::DefinitionLocation::operator!= ( const DefinitionLocation & other) const
inline

Definition at line 144 of file instructions.h.

Here is the call graph for this function:

◆ operator<()

bool v8::internal::torque::DefinitionLocation::operator< ( const DefinitionLocation & other) const
inline

Definition at line 148 of file instructions.h.

◆ operator==()

bool v8::internal::torque::DefinitionLocation::operator== ( const DefinitionLocation & other) const
inline

Definition at line 138 of file instructions.h.

Here is the caller graph for this function:

◆ Parameter()

static DefinitionLocation v8::internal::torque::DefinitionLocation::Parameter ( std::size_t index)
inlinestatic

Definition at line 90 of file instructions.h.

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

◆ Phi()

static DefinitionLocation v8::internal::torque::DefinitionLocation::Phi ( const Block * block,
std::size_t index )
inlinestatic

Definition at line 94 of file instructions.h.

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

Member Data Documentation

◆ index_

std::size_t v8::internal::torque::DefinitionLocation::index_
private

Definition at line 164 of file instructions.h.

◆ kind_

Kind v8::internal::torque::DefinitionLocation::kind_
private

Definition at line 162 of file instructions.h.

◆ location_

const void* v8::internal::torque::DefinitionLocation::location_
private

Definition at line 163 of file instructions.h.


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