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
MemOperand Class Reference

#include <assembler-arm64.h>

Inheritance diagram for MemOperand:
Collaboration diagram for MemOperand:

Public Types

enum  OffsetAddend { offset_minus_one = -1, offset_zero = 0 }
 

Public Member Functions

 MemOperand (Register base, ptrdiff_t offset=0, AddrMode addrmode=Offset)
 
 MemOperand (Register base, Register regoffset, Shift shift=LSL, unsigned shift_amount=0)
 
 MemOperand (Register base, Register regoffset, Extend extend, unsigned shift_amount=0)
 
 MemOperand (Register base, const Operand &offset, AddrMode addrmode=Offset)
 
const Registerbase () const
 
const Registerregoffset () const
 
ptrdiff_t offset () const
 
AddrMode addrmode () const
 
Shift shift () const
 
Extend extend () const
 
unsigned shift_amount () const
 
bool IsImmediateOffset () const
 
bool IsRegisterOffset () const
 
bool IsPreIndex () const
 
bool IsPostIndex () const
 
Operand OffsetAsOperand () const
 
 MemOperand (Register rn, int32_t offset=0)
 
 MemOperand (Register rn, int32_t unit, int32_t multiplier, OffsetAddend offset_addend=offset_zero)
 
int32_t offset () const
 
bool OffsetIsInt16Encodable () const
 
- Public Member Functions inherited from Operand
 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)
 

Friends

class Assembler
 

Additional Inherited Members

- Static Public Member Functions inherited from Operand
static Operand UntagSmi (Register smi)
 
static Operand UntagSmiAndScale (Register smi, int scale)
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
offset_minus_one 
offset_zero 

Definition at line 391 of file assembler-mips.h.

Constructor & Destructor Documentation

MemOperand ( Register  base,
ptrdiff_t  offset = 0,
AddrMode  addrmode = Offset 
)
inlineexplicit
MemOperand ( Register  base,
Register  regoffset,
Shift  shift = LSL,
unsigned  shift_amount = 0 
)
inlineexplicit
MemOperand ( Register  base,
Register  regoffset,
Extend  extend,
unsigned  shift_amount = 0 
)
inlineexplicit
MemOperand ( Register  rn,
int32_t  offset = 0 
)
explicit
MemOperand ( Register  rn,
int32_t  unit,
int32_t  multiplier,
OffsetAddend  offset_addend = offset_zero 
)
explicit

Member Function Documentation

AddrMode addrmode ( ) const
inline

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

const Register& base ( ) const
inline

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

Extend extend ( ) const
inline

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

Referenced by MemOperand::OffsetAsOperand().

bool IsImmediateOffset ( ) const
inline

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

References CPURegister::Is(), and v8::internal::Offset.

Referenced by MemOperand::OffsetAsOperand().

bool IsPostIndex ( ) const
inline

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

References v8::internal::PostIndex.

bool IsPreIndex ( ) const
inline

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

References v8::internal::PreIndex.

bool IsRegisterOffset ( ) const
inline

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

References CPURegister::Is(), and v8::internal::Offset.

Referenced by MemOperand::OffsetAsOperand().

int32_t offset ( ) const
inline

Definition at line 399 of file assembler-mips.h.

ptrdiff_t offset ( ) const
inline
bool OffsetIsInt16Encodable ( ) const
inline

Definition at line 401 of file assembler-mips.h.

const Register& regoffset ( ) const
inline

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

Referenced by MemOperand::OffsetAsOperand().

Shift shift ( ) const
inline

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

Referenced by MemOperand::OffsetAsOperand().

unsigned shift_amount ( ) const
inline

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

Referenced by MemOperand::OffsetAsOperand().

Friends And Related Function Documentation

friend class Assembler
friend

Definition at line 408 of file assembler-mips.h.


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