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

#include <assembler-arm64.h>

Collaboration diagram for v8::internal::Immediate:

Classes

union  Value
 

Public Member Functions

template<typename T >
 Immediate (Handle< T > handle, RelocInfo::Mode mode=RelocInfo::FULL_EMBEDDED_OBJECT)
 
template<typename T >
 Immediate (T value)
 
template<typename T >
 Immediate (T value, RelocInfo::Mode rmode)
 
int64_t value () const
 
RelocInfo::Mode rmode () const
 
 Immediate (int x, RelocInfo::Mode rmode=RelocInfo::NO_INFO)
 
 Immediate (const ExternalReference &ext)
 
 Immediate (Handle< HeapObject > handle)
 
 Immediate (Tagged< Smi > value)
 
bool is_heap_number_request () const
 
HeapNumberRequest heap_number_request () const
 
int immediate () const
 
bool is_embedded_object () const
 
Handle< HeapObjectembedded_object () const
 
bool is_external_reference () const
 
ExternalReference external_reference () const
 
bool is_zero () const
 
bool is_int8 () const
 
bool is_uint8 () const
 
bool is_int16 () const
 
bool is_uint16 () const
 
RelocInfo::Mode rmode () const
 
constexpr Immediate (int32_t value)
 
constexpr Immediate (int32_t value, RelocInfo::Mode rmode)
 
 Immediate (Tagged< Smi > value)
 
int32_t value () const
 
RelocInfo::Mode rmode () const
 

Static Public Member Functions

static Immediate EmbeddedNumber (double number)
 
static Immediate CodeRelativeOffset (Label *label)
 

Private Member Functions

 Immediate (Label *value)
 

Private Attributes

int64_t value_
 
RelocInfo::Mode rmode_
 
union v8::internal::Immediate::Value value_
 
bool is_heap_number_request_ = false
 
const int32_t value_
 
const RelocInfo::Mode rmode_ = RelocInfo::NO_INFO
 

Friends

class Operand
 
class Assembler
 
class MacroAssembler
 

Detailed Description

Definition at line 126 of file assembler-x64.h.

Constructor & Destructor Documentation

◆ Immediate() [1/11]

template<typename T >
v8::internal::Immediate::Immediate ( Handle< T > handle,
RelocInfo::Mode mode = RelocInfo::FULL_EMBEDDED_OBJECT )
inlineexplicit

Definition at line 230 of file assembler-arm64-inl.h.

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

◆ Immediate() [2/11]

template<typename T >
v8::internal::Immediate::Immediate ( T value)
inline

Definition at line 236 of file assembler-arm64-inl.h.

◆ Immediate() [3/11]

template<typename T >
v8::internal::Immediate::Immediate ( T value,
RelocInfo::Mode rmode )
inline

Definition at line 241 of file assembler-arm64-inl.h.

◆ Immediate() [4/11]

v8::internal::Immediate::Immediate ( int x,
RelocInfo::Mode rmode = RelocInfo::NO_INFO )
inlineexplicit

Definition at line 119 of file assembler-ia32.h.

Here is the call graph for this function:

◆ Immediate() [5/11]

v8::internal::Immediate::Immediate ( const ExternalReference & ext)
inlineexplicit

Definition at line 123 of file assembler-ia32.h.

◆ Immediate() [6/11]

v8::internal::Immediate::Immediate ( Handle< HeapObject > handle)
inlineexplicit

Definition at line 125 of file assembler-ia32.h.

◆ Immediate() [7/11]

v8::internal::Immediate::Immediate ( Tagged< Smi > value)
inlineexplicit

Definition at line 127 of file assembler-ia32.h.

◆ Immediate() [8/11]

v8::internal::Immediate::Immediate ( Label * value)
inlineexplicitprivate

Definition at line 189 of file assembler-ia32.h.

Here is the call graph for this function:

◆ Immediate() [9/11]

v8::internal::Immediate::Immediate ( int32_t value)
inlineexplicitconstexpr

Definition at line 128 of file assembler-x64.h.

◆ Immediate() [10/11]

v8::internal::Immediate::Immediate ( int32_t value,
RelocInfo::Mode rmode )
inlineexplicitconstexpr

Definition at line 129 of file assembler-x64.h.

◆ Immediate() [11/11]

v8::internal::Immediate::Immediate ( Tagged< Smi > value)
inlineexplicit

Definition at line 131 of file assembler-x64.h.

Here is the call graph for this function:

Member Function Documentation

◆ CodeRelativeOffset()

static Immediate v8::internal::Immediate::CodeRelativeOffset ( Label * label)
inlinestatic

Definition at line 132 of file assembler-ia32.h.

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

◆ embedded_object()

Handle< HeapObject > v8::internal::Immediate::embedded_object ( ) const
inline

Definition at line 156 of file assembler-ia32.h.

Here is the call graph for this function:

◆ EmbeddedNumber()

static Immediate v8::internal::Immediate::EmbeddedNumber ( double number)
static
Here is the caller graph for this function:

◆ external_reference()

ExternalReference v8::internal::Immediate::external_reference ( ) const
inline

Definition at line 164 of file assembler-ia32.h.

Here is the call graph for this function:

◆ heap_number_request()

HeapNumberRequest v8::internal::Immediate::heap_number_request ( ) const
inline

Definition at line 141 of file assembler-ia32.h.

Here is the call graph for this function:

◆ immediate()

int v8::internal::Immediate::immediate ( ) const
inline

Definition at line 146 of file assembler-ia32.h.

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

◆ is_embedded_object()

bool v8::internal::Immediate::is_embedded_object ( ) const
inline

Definition at line 151 of file assembler-ia32.h.

Here is the call graph for this function:

◆ is_external_reference()

bool v8::internal::Immediate::is_external_reference ( ) const
inline

Definition at line 160 of file assembler-ia32.h.

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

◆ is_heap_number_request()

bool v8::internal::Immediate::is_heap_number_request ( ) const
inline

Definition at line 134 of file assembler-ia32.h.

Here is the caller graph for this function:

◆ is_int16()

bool v8::internal::Immediate::is_int16 ( ) const
inline

Definition at line 178 of file assembler-ia32.h.

Here is the call graph for this function:

◆ is_int8()

bool v8::internal::Immediate::is_int8 ( ) const
inline

Definition at line 172 of file assembler-ia32.h.

Here is the call graph for this function:

◆ is_uint16()

bool v8::internal::Immediate::is_uint16 ( ) const
inline

Definition at line 182 of file assembler-ia32.h.

Here is the call graph for this function:

◆ is_uint8()

bool v8::internal::Immediate::is_uint8 ( ) const
inline

Definition at line 175 of file assembler-ia32.h.

Here is the call graph for this function:

◆ is_zero()

bool v8::internal::Immediate::is_zero ( ) const
inline

Definition at line 169 of file assembler-ia32.h.

Here is the call graph for this function:

◆ rmode() [1/3]

RelocInfo::Mode v8::internal::Immediate::rmode ( ) const
inline

Definition at line 55 of file assembler-arm64.h.

Here is the caller graph for this function:

◆ rmode() [2/3]

RelocInfo::Mode v8::internal::Immediate::rmode ( ) const
inline

Definition at line 186 of file assembler-ia32.h.

◆ rmode() [3/3]

RelocInfo::Mode v8::internal::Immediate::rmode ( ) const
inline

Definition at line 137 of file assembler-x64.h.

◆ value() [1/2]

int64_t v8::internal::Immediate::value ( ) const
inline

Definition at line 54 of file assembler-arm64.h.

Here is the caller graph for this function:

◆ value() [2/2]

int32_t v8::internal::Immediate::value ( ) const
inline

Definition at line 136 of file assembler-x64.h.

Friends And Related Symbol Documentation

◆ Assembler

Assembler
friend

Definition at line 203 of file assembler-ia32.h.

◆ MacroAssembler

friend class MacroAssembler
friend

Definition at line 204 of file assembler-ia32.h.

◆ Operand

friend class Operand
friend

Definition at line 202 of file assembler-ia32.h.

Member Data Documentation

◆ is_heap_number_request_

bool v8::internal::Immediate::is_heap_number_request_ = false
private

Definition at line 199 of file assembler-ia32.h.

◆ rmode_ [1/2]

RelocInfo::Mode v8::internal::Immediate::rmode_
private

Definition at line 59 of file assembler-arm64.h.

◆ rmode_ [2/2]

const RelocInfo::Mode v8::internal::Immediate::rmode_ = RelocInfo::NO_INFO
private

Definition at line 141 of file assembler-x64.h.

◆ value_ [1/3]

int64_t v8::internal::Immediate::value_
private

Definition at line 58 of file assembler-arm64.h.

◆ value_ [2/3]

union v8::internal::Immediate::Value v8::internal::Immediate::value_
private

◆ value_ [3/3]

const int32_t v8::internal::Immediate::value_
private

Definition at line 140 of file assembler-x64.h.


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