v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Operand Class Reference

#include <assembler-arm64.h>

Inheritance diagram for Operand:

Public Member Functions

 Operand (Register reg, Shift shift=LSL, unsigned shift_amount=0)
 
 Operand (Register reg, Extend extend, unsigned shift_amount=0)
 
template<typename T >
 Operand (Handle< T > handle)
 
template<typename T >
 Operand (T t)
 
template<typename int_t >
 Operand (int_t t, RelocInfo::Mode rmode)
 
bool IsImmediate () const
 
bool IsShiftedRegister () const
 
bool IsExtendedRegister () const
 
bool IsZero () const
 
Operand ToExtendedRegister () const
 
int64_t immediate () const
 
Register reg () const
 
Shift shift () const
 
Extend extend () const
 
unsigned shift_amount () const
 
RelocInfo::Mode rmode () const
 
void set_rmode (RelocInfo::Mode rmode)
 
bool NeedsRelocation () const
 
template<typename T >
 Operand (T t, RelocInfo::Mode rmode)
 

Static Public Member Functions

static Operand UntagSmi (Register smi)
 
static Operand UntagSmiAndScale (Register smi, int scale)
 

Detailed Description

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

Constructor & Destructor Documentation

Operand ( Register  reg,
Extend  extend,
unsigned  shift_amount = 0 
)
inline
Operand ( Handle< T handle)
inlineexplicit

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

Operand ( T  t)
inline

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

Operand ( int_t  t,
RelocInfo::Mode  rmode 
)
inline
Operand ( T  t,
RelocInfo::Mode  rmode 
)

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

References v8::internal::STATIC_ASSERT().

Member Function Documentation

Extend extend ( ) const
inline

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

References ASSERT, and Operand::IsExtendedRegister().

Referenced by MemOperand::MemOperand().

bool IsExtendedRegister ( ) const
inline
bool IsShiftedRegister ( ) const
inline
bool NeedsRelocation ( ) const
Register reg ( ) const
inline
RelocInfo::Mode rmode ( ) const
inline

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

Referenced by Operand::set_rmode().

void set_rmode ( RelocInfo::Mode  rmode)
inline

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

References Operand::rmode().

Shift shift ( ) const
inline

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

References ASSERT, and Operand::IsShiftedRegister().

Referenced by MemOperand::MemOperand().

unsigned shift_amount ( ) const
inline
Operand UntagSmi ( Register  smi)
inlinestatic
Operand UntagSmiAndScale ( Register  smi,
int  scale 
)
inlinestatic

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