v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#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) |
Register () | |
Register (const CPURegister &r) | |
Register (const Register &r) | |
bool | IsValid () const |
bool | IsAllocatable () const |
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 |
Public Member Functions inherited from CPURegister | |
unsigned | code () const |
RegisterType | type () const |
RegList | Bit () const |
unsigned | SizeInBits () const |
int | SizeInBytes () const |
bool | Is32Bits () const |
bool | Is64Bits () const |
bool | IsValid () const |
bool | IsValidOrNone () const |
bool | IsValidRegister () const |
bool | IsValidFPRegister () const |
bool | IsNone () const |
bool | Is (const CPURegister &other) const |
bool | IsZero () const |
bool | IsSP () const |
bool | IsRegister () const |
bool | IsFPRegister () const |
Register | X () const |
Register | W () const |
FPRegister | D () const |
FPRegister | S () const |
bool | IsSameSizeAndType (const CPURegister &other) const |
bool | is (const CPURegister &other) const |
bool | is_valid () const |
Data Fields | |
int | code_ |
Data Fields inherited from CPURegister | |
unsigned | reg_code |
unsigned | reg_size |
RegisterType | reg_type |
Static Public Attributes | |
static const int | kNumRegisters = 16 |
static const int | kMaxNumAllocatableRegisters |
static const int | kSizeInBytes = 4 |
static const unsigned | kAllocatableLowRangeBegin = 0 |
static const unsigned | kAllocatableLowRangeEnd = 15 |
static const unsigned | kAllocatableHighRangeBegin = 18 |
static const unsigned | kAllocatableHighRangeEnd = 24 |
static const unsigned | kAllocatableContext = 27 |
static const int | kAllocatableRangeGapSize |
static const int | kCpRegister = 23 |
Additional Inherited Members | |
Public Types inherited from CPURegister | |
enum | RegisterType { kInvalid = 0, kRegister, kFPRegister, kNoRegister } |
Definition at line 161 of file assembler-arm.h.
|
inline |
Definition at line 121 of file assembler-arm64.h.
References CPURegister::kNoRegister, CPURegister::reg_code, CPURegister::reg_size, and CPURegister::reg_type.
Referenced by Register::Create().
|
inlineexplicit |
Definition at line 127 of file assembler-arm64.h.
References ASSERT, CPURegister::IsValidOrNone(), CPURegister::reg_code, CPURegister::reg_size, and CPURegister::reg_type.
Definition at line 134 of file assembler-arm64.h.
References ASSERT, CPURegister::IsValidOrNone(), CPURegister::reg_code, CPURegister::reg_size, and CPURegister::reg_type.
|
inlinestatic |
|
inlinestatic |
Definition at line 92 of file assembler-x64.h.
References ASSERT, and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 97 of file assembler-mips.h.
References ASSERT, and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 179 of file assembler-arm.h.
References ASSERT, and Register::kMaxNumAllocatableRegisters.
Referenced by LOperand::PrintTo().
|
inlinestatic |
Definition at line 206 of file assembler-arm64.h.
References ASSERT, Register::kAllocatableContext, Register::kAllocatableHighRangeBegin, Register::kAllocatableHighRangeEnd, Register::kAllocatableLowRangeBegin, Register::kAllocatableLowRangeEnd, and Register::NumAllocatableRegisters().
|
inline |
Definition at line 94 of file assembler-ia32.h.
References ASSERT, Register::code_, and Register::is_valid().
|
inline |
Definition at line 122 of file assembler-x64.h.
References Register::code_.
|
inline |
Definition at line 129 of file assembler-mips.h.
References ASSERT, Register::code_, and Register::is_valid().
|
inline |
Definition at line 209 of file assembler-arm.h.
References ASSERT, Register::code_, and Register::is_valid().
Referenced by MacroAssembler::Pop(), MacroAssembler::Push(), and TEST().
|
inline |
Definition at line 90 of file assembler-ia32.h.
References ASSERT, Register::code_, and Register::is_valid().
|
inline |
Definition at line 118 of file assembler-x64.h.
References ASSERT, Register::code_, and Register::is_valid().
|
inline |
Definition at line 125 of file assembler-mips.h.
References ASSERT, Register::code_, and Register::is_valid().
|
inline |
Definition at line 205 of file assembler-arm.h.
References ASSERT, Register::code_, and Register::is_valid().
Referenced by DoubleToIStub::DoubleToIStub(), RegisterDump::Dump(), Equal32(), Equal64(), MacroAssembler::LoadFromSafepointRegisterSlot(), MacroAssembler::Pop(), MacroAssembler::Push(), Assembler::RdSP(), Assembler::RnSP(), v8::internal::RUNTIME_FUNCTION(), MacroAssembler::SafepointRegisterStackIndex(), Register::set_code(), MacroAssembler::StoreToSafepointRegisterSlot(), Register::ToAllocationIndex(), and WriteInt32ToHeapNumberStub::WriteInt32ToHeapNumberStub().
|
inlinestatic |
Definition at line 117 of file assembler-arm64.h.
References CPURegister::Create(), CPURegister::kRegister, and Register::Register().
Referenced by Clobber(), Register::from_code(), PopulateRegisterArray(), Register::WRegFromCode(), and Register::XRegFromCode().
|
inlinestatic |
Definition at line 80 of file assembler-ia32.h.
References ASSERT, and Register::kNumRegisters.
|
inlinestatic |
Definition at line 110 of file assembler-x64.h.
|
inlinestatic |
Definition at line 118 of file assembler-mips.h.
|
inlinestatic |
Definition at line 198 of file assembler-arm.h.
Referenced by DoubleToIStub::destination(), Register::FromAllocationIndex(), MakeConvertDToIFuncTrampoline(), DoubleToIStub::source(), and Register::ToAllocationIndex().
|
inlinestatic |
Definition at line 235 of file assembler-arm64.h.
References Register::Create(), and v8::internal::kXRegSizeInBits.
|
inlinestatic |
|
inlinestatic |
Definition at line 86 of file assembler-x64.h.
References ASSERT, and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 90 of file assembler-mips.h.
References ASSERT, Register::from_code(), Register::kCpRegister, and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 174 of file assembler-arm.h.
References ASSERT, Register::from_code(), and Register::kMaxNumAllocatableRegisters.
Referenced by MakeConvertDToIFuncTrampoline().
|
inlinestatic |
Definition at line 193 of file assembler-arm64.h.
References ASSERT, Register::from_code(), Register::kAllocatableContext, Register::kAllocatableLowRangeEnd, Register::kAllocatableRangeGapSize, and Register::NumAllocatableRegisters().
|
inline |
Definition at line 128 of file assembler-x64.h.
References Register::code_.
Referenced by MacroAssembler::CallSize().
|
inline |
Definition at line 87 of file assembler-ia32.h.
References Register::code_.
|
inline |
Definition at line 115 of file assembler-x64.h.
References Register::code_.
|
inline |
Definition at line 124 of file assembler-mips.h.
References Register::code_.
|
inline |
Definition at line 204 of file assembler-arm.h.
References Register::code_.
Referenced by MacroAssembler::CmovX(), LCodeGen::DoDeferredAllocate(), LCodeGen::DoDeferredMathAbsTaggedHeapNumber(), LCodeGen::DoDeferredNumberTagIU(), LCodeGen::DoDeferredTaggedToI(), CodeStubInterfaceDescriptor::IsParameterCountRegister(), MakeConvertDToIFuncTrampoline(), MacroAssembler::Move(), MacroAssembler::Pop(), MacroAssembler::Push(), StringCharCodeAtGenerator::StringCharCodeAtGenerator(), and StringCharFromCodeGenerator::StringCharFromCodeGenerator().
|
inline |
Definition at line 89 of file assembler-ia32.h.
References Register::code_.
|
inline |
Definition at line 117 of file assembler-x64.h.
References Register::code_.
|
inline |
Definition at line 86 of file assembler-ia32.h.
References Register::code_, and Register::kNumRegisters.
|
inline |
Definition at line 114 of file assembler-x64.h.
References Register::code_, and Register::kNumRegisters.
|
inline |
Definition at line 123 of file assembler-mips.h.
References Register::code_, and Register::kNumRegisters.
|
inline |
Definition at line 203 of file assembler-arm.h.
References Register::code_, and Register::kNumRegisters.
Referenced by Register::bit(), CodeStubGraphBuilderBase::BuildGraph(), Register::code(), Register::set_code(), and CodeStubInterfaceDescriptor::SetMissHandler().
|
inline |
Definition at line 186 of file assembler-arm64.h.
References Register::kAllocatableContext, Register::kAllocatableHighRangeBegin, Register::kAllocatableHighRangeEnd, Register::kAllocatableLowRangeEnd, and CPURegister::reg_code.
Referenced by Register::ToAllocationIndex().
|
inline |
Definition at line 141 of file assembler-arm64.h.
References ASSERT, CPURegister::IsNone(), CPURegister::IsRegister(), and CPURegister::IsValidRegister().
Referenced by Clobber(), Operand::IsExtendedRegister(), Operand::IsShiftedRegister(), and Operand::Operand().
|
inline |
Definition at line 133 of file assembler-x64.h.
References Register::code_.
|
inlinestatic |
Definition at line 69 of file assembler-ia32.h.
References Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 77 of file assembler-x64.h.
References Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
|
inlinestatic |
Definition at line 50 of file assembler-arm-inl.h.
References Register::kMaxNumAllocatableRegisters.
Referenced by Register::AllocationIndexToString(), Register::FromAllocationIndex(), MakeConvertDToIFuncTrampoline(), and Register::ToAllocationIndex().
|
inlinestatic |
Definition at line 183 of file assembler-arm64.h.
References Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 154 of file assembler-arm64.h.
References Register::kNumRegisters.
|
inline |
Definition at line 214 of file assembler-arm.h.
References ASSERT, Register::code(), Register::code_, and Register::is_valid().
|
inlinestatic |
|
inlinestatic |
Definition at line 82 of file assembler-mips.h.
References ASSERT, Register::from_code(), Register::kCpRegister, and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 82 of file assembler-x64.h.
|
inlinestatic |
Definition at line 169 of file assembler-arm.h.
References ASSERT, Register::code(), and Register::kMaxNumAllocatableRegisters.
|
inlinestatic |
Definition at line 223 of file assembler-arm64.h.
References ASSERT, Register::code(), Register::IsAllocatable(), Register::kAllocatableContext, Register::kAllocatableLowRangeEnd, Register::kAllocatableRangeGapSize, and Register::NumAllocatableRegisters().
|
inlinestatic |
Definition at line 228 of file assembler-arm64-inl.h.
References ASSERT, Register::Create(), v8::internal::kNumberOfRegisters, and v8::internal::kWRegSizeInBits.
Referenced by RegisterDump::Dump(), and CPURegister::W().
|
inlinestatic |
Definition at line 220 of file assembler-arm64-inl.h.
References ASSERT, Register::Create(), v8::internal::kNumberOfRegisters, and v8::internal::kXRegSizeInBits.
Referenced by RegisterDump::Dump(), Assembler::nop(), TEST(), and CPURegister::X().
int code_ |
Definition at line 220 of file assembler-arm.h.
Referenced by Register::bit(), Register::code(), Register::high_bit(), Register::is(), Register::is_byte_register(), Register::is_valid(), Register::low_bits(), and Register::set_code().
|
static |
Definition at line 174 of file assembler-arm64.h.
Referenced by Register::AllocationIndexToString(), Register::FromAllocationIndex(), Register::IsAllocatable(), and Register::ToAllocationIndex().
|
static |
Definition at line 172 of file assembler-arm64.h.
Referenced by Register::AllocationIndexToString(), and Register::IsAllocatable().
|
static |
Definition at line 173 of file assembler-arm64.h.
Referenced by Register::AllocationIndexToString(), and Register::IsAllocatable().
|
static |
Definition at line 170 of file assembler-arm64.h.
Referenced by Register::AllocationIndexToString().
|
static |
Definition at line 171 of file assembler-arm64.h.
Referenced by Register::AllocationIndexToString(), Register::FromAllocationIndex(), Register::IsAllocatable(), and Register::ToAllocationIndex().
|
static |
Definition at line 177 of file assembler-arm64.h.
Referenced by Register::FromAllocationIndex(), and Register::ToAllocationIndex().
|
static |
Definition at line 78 of file assembler-mips.h.
Referenced by Register::FromAllocationIndex(), and Register::ToAllocationIndex().
|
static |
Definition at line 163 of file assembler-arm.h.
Referenced by Register::AllocationIndexToString(), Register::FromAllocationIndex(), Register::NumAllocatableRegisters(), and Register::ToAllocationIndex().
|
static |
Definition at line 162 of file assembler-arm.h.
Referenced by FrameDescription::FrameDescription(), Register::from_code(), Register::is_valid(), and Register::NumRegisters().
|
static |
Definition at line 165 of file assembler-arm.h.