v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Register Struct Reference

#include <assembler-arm.h>

Public Member Functions

bool is_valid () const
 
bool is (Register reg) const
 
int code () const
 
int bit () const
 
void set_code (int code)
 
bool is_valid () const
 
bool is (Register reg) const
 
bool is_byte_register () const
 
int code () const
 
int bit () const
 
bool is_valid () const
 
bool is (Register reg) const
 
int code () const
 
int bit () const
 
bool is_valid () const
 
bool is (Register reg) const
 
bool is_byte_register () const
 
int code () const
 
int bit () const
 
int high_bit () const
 
int low_bits () const
 

Static Public Member Functions

static int ToAllocationIndex (Register reg)
 
static Register FromAllocationIndex (int index)
 
static const char * AllocationIndexToString (int index)
 
static Register from_code (int code)
 
static const char * AllocationIndexToString (int index)
 
static int ToAllocationIndex (Register reg)
 
static Register FromAllocationIndex (int index)
 
static Register from_code (int code)
 
static int ToAllocationIndex (Register reg)
 
static Register FromAllocationIndex (int index)
 
static const char * AllocationIndexToString (int index)
 
static Register from_code (int code)
 
static int ToAllocationIndex (Register reg)
 
static Register FromAllocationIndex (int index)
 
static const char * AllocationIndexToString (int index)
 
static Register from_code (int code)
 

Data Fields

int code_
 

Static Public Attributes

static const int kNumRegisters = 16
 
static const int kNumAllocatableRegisters = 8
 
static const int kSizeInBytes = 4
 

Detailed Description

Definition at line 72 of file assembler-arm.h.

Member Function Documentation

static const char* AllocationIndexToString ( int  index)
inlinestatic
const char * AllocationIndexToString ( int  index)
inlinestatic

Definition at line 87 of file assembler-arm.h.

References ASSERT, and Register::kNumAllocatableRegisters.

Referenced by LOperand::PrintTo().

static const char* AllocationIndexToString ( int  index)
inlinestatic

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

References ASSERT, and Register::kNumAllocatableRegisters.

static const char* AllocationIndexToString ( int  index)
inlinestatic

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

References ASSERT, and Register::kNumAllocatableRegisters.

int bit ( ) const
inline

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

References ASSERT, Register::code_, and Register::is_valid().

int bit ( ) const
inline

Definition at line 113 of file assembler-arm.h.

References ASSERT, Register::code_, and Register::is_valid().

Referenced by MacroAssembler::Pop(), MacroAssembler::Push(), and TEST().

int bit ( ) const
inline

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

References ASSERT, Register::code_, and Register::is_valid().

int bit ( ) const
inline

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

References Register::code_.

int code ( ) const
inline

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

References ASSERT, Register::code_, and Register::is_valid().

int code ( ) const
inline

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

References ASSERT, Register::code_, and Register::is_valid().

int code ( ) const
inline

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

References ASSERT, Register::code_, and Register::is_valid().

static Register from_code ( int  code)
inlinestatic

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

References ASSERT, and Register::kNumRegisters.

static Register from_code ( int  code)
inlinestatic
static Register from_code ( int  code)
inlinestatic

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

static Register from_code ( int  code)
inlinestatic

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

static Register FromAllocationIndex ( int  index)
inlinestatic
static Register FromAllocationIndex ( int  index)
inlinestatic
Register FromAllocationIndex ( int  index)
inlinestatic

Definition at line 82 of file assembler-arm.h.

References ASSERT, Register::from_code(), and Register::kNumAllocatableRegisters.

static Register FromAllocationIndex ( int  index)
inlinestatic

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

References ASSERT, and Register::kNumAllocatableRegisters.

int high_bit ( ) const
inline

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

References Register::code_.

Referenced by MacroAssembler::CallSize().

bool is ( Register  reg) const
inline

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

References Register::code_.

bool is ( Register  reg) const
inline

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

References Register::code_.

bool is ( Register  reg) const
inline

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

References Register::code_.

bool is_byte_register ( ) const
inline

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

References Register::code_.

bool is_byte_register ( ) const
inline

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

References Register::code_.

bool is_valid ( ) const
inline

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

References Register::code_, and Register::kNumRegisters.

bool is_valid ( ) const
inline

Definition at line 107 of file assembler-arm.h.

References Register::code_, and Register::kNumRegisters.

Referenced by Register::bit(), Register::code(), and Register::set_code().

bool is_valid ( ) const
inline

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

References Register::code_, and Register::kNumRegisters.

bool is_valid ( ) const
inline

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

References Register::code_, and Register::kNumRegisters.

int low_bits ( ) const
inline

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

References Register::code_.

void set_code ( int  code)
inline

Definition at line 118 of file assembler-arm.h.

References ASSERT, Register::code(), Register::code_, and Register::is_valid().

static int ToAllocationIndex ( Register  reg)
inlinestatic
int ToAllocationIndex ( Register  reg)
inlinestatic

Definition at line 77 of file assembler-arm.h.

References ASSERT, Register::code(), and Register::kNumAllocatableRegisters.

static int ToAllocationIndex ( Register  reg)
inlinestatic

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

static int ToAllocationIndex ( Register  reg)
inlinestatic

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

Field Documentation

static const int kNumAllocatableRegisters = 8
static
static const int kNumRegisters = 16
static
static const int kSizeInBytes = 4
static

Definition at line 75 of file assembler-arm.h.


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