#include <native_location.h>
|
| NativeFpuRegistersLocation (const NativeType &payload_type, const NativeType &container_type, FpuRegisterKind fpu_reg_kind, intptr_t fpu_register) |
|
| NativeFpuRegistersLocation (const NativeType &payload_type, const NativeType &container_type, FpuRegister fpu_register) |
|
virtual | ~NativeFpuRegistersLocation () |
|
virtual NativeFpuRegistersLocation & | WithOtherNativeType (Zone *zone, const NativeType &new_payload_type, const NativeType &new_container_type) const |
|
virtual bool | IsFpuRegisters () const |
|
virtual bool | IsExpressibleAsLocation () const |
|
virtual Location | AsLocation () const |
|
FpuRegisterKind | fpu_reg_kind () const |
|
FpuRegister | fpu_reg () const |
|
virtual void | PrintTo (BaseTextBuffer *f) const |
|
virtual bool | Equals (const NativeLocation &other) const |
|
const NativeType & | payload_type () const |
|
const NativeType & | container_type () const |
|
virtual NativeLocation & | WithOtherNativeType (Zone *zone, const NativeType &new_payload_type, const NativeType &new_container_type) const =0 |
|
NativeLocation & | WidenTo4Bytes (Zone *zone) const |
|
NativeLocation & | WidenTo8Bytes (Zone *zone) const |
|
virtual bool | IsRegisters () const |
|
virtual bool | IsFpuRegisters () const |
|
virtual bool | IsStack () const |
|
virtual bool | IsMultiple () const |
|
virtual bool | IsPointerToMemory () const |
|
virtual bool | IsBoth () const |
|
virtual bool | IsExpressibleAsLocation () const |
|
virtual Location | AsLocation () const |
|
virtual void | PrintTo (BaseTextBuffer *f) const |
|
const char * | ToCString (Zone *zone) const |
|
const char * | ToCString () const |
|
const NativeRegistersLocation & | AsRegisters () const |
|
const NativeFpuRegistersLocation & | AsFpuRegisters () const |
|
const NativeStackLocation & | AsStack () const |
|
const MultipleNativeLocations & | AsMultiple () const |
|
const PointerToMemoryLocation & | AsPointerToMemory () const |
|
const BothNativeLocations & | AsBoth () const |
|
virtual NativeLocation & | Split (Zone *zone, intptr_t num_parts, intptr_t index) const |
|
virtual intptr_t | StackTopInBytes () const |
|
virtual bool | Equals (const NativeLocation &other) const |
|
virtual | ~NativeLocation () |
|
| ZoneAllocated () |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t size, Zone *zone) |
|
void | operator delete (void *pointer) |
|
Definition at line 226 of file native_location.h.
◆ NativeFpuRegistersLocation() [1/2]
dart::compiler::ffi::NativeFpuRegistersLocation::NativeFpuRegistersLocation |
( |
const NativeType & |
payload_type, |
|
|
const NativeType & |
container_type, |
|
|
FpuRegisterKind |
fpu_reg_kind, |
|
|
intptr_t |
fpu_register |
|
) |
| |
|
inline |
Definition at line 228 of file native_location.h.
234 fpu_reg_(fpu_register) {}
FpuRegisterKind fpu_reg_kind() const
const NativeType & container_type() const
NativeLocation(const NativeType &payload_type, const NativeType &container_type)
const NativeType & payload_type() const
◆ NativeFpuRegistersLocation() [2/2]
dart::compiler::ffi::NativeFpuRegistersLocation::NativeFpuRegistersLocation |
( |
const NativeType & |
payload_type, |
|
|
const NativeType & |
container_type, |
|
|
FpuRegister |
fpu_register |
|
) |
| |
|
inline |
◆ ~NativeFpuRegistersLocation()
virtual dart::compiler::ffi::NativeFpuRegistersLocation::~NativeFpuRegistersLocation |
( |
| ) |
|
|
inlinevirtual |
◆ AsLocation()
virtual Location dart::compiler::ffi::NativeFpuRegistersLocation::AsLocation |
( |
| ) |
const |
|
inlinevirtual |
◆ Equals()
bool dart::compiler::ffi::NativeFpuRegistersLocation::Equals |
( |
const NativeLocation & |
other | ) |
const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeLocation.
Definition at line 235 of file native_location.cc.
235 {
236 if (!other.IsFpuRegisters()) {
237 return false;
238 }
239 auto& other_fpu_reg = other.AsFpuRegisters();
241 return false;
242 }
243
244
245 return other_fpu_reg.fpu_reg_ == fpu_reg_;
246}
◆ fpu_reg()
FpuRegister dart::compiler::ffi::NativeFpuRegistersLocation::fpu_reg |
( |
| ) |
const |
|
inline |
◆ fpu_reg_kind()
FpuRegisterKind dart::compiler::ffi::NativeFpuRegistersLocation::fpu_reg_kind |
( |
| ) |
const |
|
inline |
◆ IsExpressibleAsLocation()
virtual bool dart::compiler::ffi::NativeFpuRegistersLocation::IsExpressibleAsLocation |
( |
| ) |
const |
|
inlinevirtual |
◆ IsFpuRegisters()
virtual bool dart::compiler::ffi::NativeFpuRegistersLocation::IsFpuRegisters |
( |
| ) |
const |
|
inlinevirtual |
◆ PrintTo()
void dart::compiler::ffi::NativeFpuRegistersLocation::PrintTo |
( |
BaseTextBuffer * |
f | ) |
const |
|
virtual |
Reimplemented from dart::compiler::ffi::NativeLocation.
Definition at line 308 of file native_location.cc.
308 {
312 break;
313#if defined(TARGET_ARCH_ARM)
315 f->Printf(
"%s", RegisterNames::FpuDRegisterName(fpu_d_reg()));
316 break;
318 f->Printf(
"%s", RegisterNames::FpuSRegisterName(fpu_s_reg()));
319 break;
320#endif
321 default:
323 }
324
326}
static const char * FpuRegisterName(FpuRegister reg)
static void PrintRepresentations(BaseTextBuffer *f, const NativeLocation &loc)
#define UNREACHABLE_THIS()
◆ WithOtherNativeType()
Implements dart::compiler::ffi::NativeLocation.
Definition at line 257 of file native_location.h.
260 {
262 new_payload_type, new_container_type, fpu_reg_kind_, fpu_reg_);
263 }
NativeFpuRegistersLocation(const NativeType &payload_type, const NativeType &container_type, FpuRegisterKind fpu_reg_kind, intptr_t fpu_register)
The documentation for this class was generated from the following files: