Flutter Engine
The Flutter Engine
|
#include <native_location.h>
Public Member Functions | |
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 () |
Public Member Functions inherited from dart::ZoneAllocated | |
ZoneAllocated () | |
void * | operator new (size_t size) |
void * | operator new (size_t size, Zone *zone) |
void | operator delete (void *pointer) |
Static Public Member Functions | |
static bool | LocationCanBeExpressed (Location loc, Representation rep) |
static NativeLocation & | FromLocation (Zone *zone, Location loc, Representation rep) |
static NativeLocation & | FromPairLocation (Zone *zone, Location loc, Representation rep, intptr_t index) |
Protected Member Functions | |
NativeLocation (const NativeType &payload_type, const NativeType &container_type) | |
Definition at line 63 of file native_location.h.
|
inlinevirtual |
Definition at line 141 of file native_location.h.
|
inlineprotected |
Definition at line 144 of file native_location.h.
const BothNativeLocations & dart::compiler::ffi::NativeLocation::AsBoth | ( | ) | const |
Definition at line 100 of file native_location.cc.
const NativeFpuRegistersLocation & dart::compiler::ffi::NativeLocation::AsFpuRegisters | ( | ) | const |
Definition at line 80 of file native_location.cc.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation, dart::compiler::ffi::NativeFpuRegistersLocation, and dart::compiler::ffi::NativeStackLocation.
Definition at line 108 of file native_location.h.
const MultipleNativeLocations & dart::compiler::ffi::NativeLocation::AsMultiple | ( | ) | const |
Definition at line 90 of file native_location.cc.
const PointerToMemoryLocation & dart::compiler::ffi::NativeLocation::AsPointerToMemory | ( | ) | const |
Definition at line 95 of file native_location.cc.
const NativeRegistersLocation & dart::compiler::ffi::NativeLocation::AsRegisters | ( | ) | const |
Definition at line 75 of file native_location.cc.
const NativeStackLocation & dart::compiler::ffi::NativeLocation::AsStack | ( | ) | const |
Definition at line 85 of file native_location.cc.
|
inline |
Definition at line 85 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation, dart::compiler::ffi::NativeFpuRegistersLocation, dart::compiler::ffi::NativeStackLocation, and dart::compiler::ffi::PointerToMemoryLocation.
Definition at line 139 of file native_location.h.
|
static |
Definition at line 32 of file native_location.cc.
|
static |
Definition at line 61 of file native_location.cc.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::BothNativeLocations.
Definition at line 104 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation, dart::compiler::ffi::NativeFpuRegistersLocation, and dart::compiler::ffi::NativeStackLocation.
Definition at line 106 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeFpuRegistersLocation.
Definition at line 100 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::MultipleNativeLocations.
Definition at line 102 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::PointerToMemoryLocation.
Definition at line 103 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation.
Definition at line 99 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeStackLocation.
Definition at line 101 of file native_location.h.
|
static |
Definition at line 16 of file native_location.cc.
|
inline |
Definition at line 77 of file native_location.h.
|
virtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation, dart::compiler::ffi::NativeFpuRegistersLocation, dart::compiler::ffi::NativeStackLocation, dart::compiler::ffi::PointerToMemoryLocation, dart::compiler::ffi::MultipleNativeLocations, and dart::compiler::ffi::BothNativeLocations.
Definition at line 287 of file native_location.cc.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeRegistersLocation, and dart::compiler::ffi::NativeStackLocation.
Definition at line 128 of file native_location.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeStackLocation, dart::compiler::ffi::PointerToMemoryLocation, dart::compiler::ffi::MultipleNativeLocations, and dart::compiler::ffi::BothNativeLocations.
Definition at line 136 of file native_location.h.
const char * dart::compiler::ffi::NativeLocation::ToCString | ( | ) | const |
Definition at line 374 of file native_location.cc.
const char * dart::compiler::ffi::NativeLocation::ToCString | ( | Zone * | zone | ) | const |
Definition at line 338 of file native_location.cc.
NativeLocation & dart::compiler::ffi::NativeLocation::WidenTo4Bytes | ( | Zone * | zone | ) | const |
Definition at line 187 of file native_location.cc.
NativeLocation & dart::compiler::ffi::NativeLocation::WidenTo8Bytes | ( | Zone * | zone | ) | const |
Definition at line 192 of file native_location.cc.
|
pure virtual |