Flutter Engine
The Flutter Engine
|
#include <native_type.h>
Public Member Functions | |
virtual bool | IsPrimitive () const |
const NativePrimitiveType & | AsPrimitive () const |
virtual bool | IsArray () const |
const NativeArrayType & | AsArray () const |
virtual bool | IsCompound () const |
const NativeCompoundType & | AsCompound () const |
virtual bool | IsStruct () const |
const NativeStructType & | AsStruct () const |
virtual bool | IsInt () const |
virtual bool | IsFloat () const |
virtual bool | IsVoid () const |
virtual bool | IsSigned () const |
virtual intptr_t | SizeInBytes () const =0 |
virtual intptr_t | AlignmentInBytesStack (bool is_vararg=false) const =0 |
virtual intptr_t | AlignmentInBytesField () const =0 |
virtual bool | ContainsOnlyFloats (Range range) const =0 |
virtual bool | ContainsUnalignedMembers (intptr_t offset=0) const =0 |
virtual bool | IsExpressibleAsRepresentation () const |
virtual Representation | AsRepresentation () const |
Representation | AsRepresentationOverApprox (Zone *zone_) const |
virtual bool | Equals (const NativeType &other) const |
virtual NativeType & | Split (Zone *zone, intptr_t index) const |
const NativeType & | WidenTo4Bytes (Zone *zone) const |
const NativeType & | WidenTo8Bytes (Zone *zone) const |
const NativeType & | Extend (Zone *zone, ExtensionStrategy extension) const |
virtual void | PrintTo (BaseTextBuffer *f, bool multi_line=false, bool verbose=true) const |
const char * | ToCString (Zone *zone, bool multi_line=false, bool verbose=true) const |
const char * | ToCString () const |
virtual intptr_t | NumPrimitiveMembersRecursive () const =0 |
virtual const NativePrimitiveType & | FirstPrimitiveMember () const =0 |
virtual intptr_t | PrimitivePairMembers (const NativePrimitiveType **first, const NativePrimitiveType **second, intptr_t offset_in_members=0) const =0 |
virtual | ~NativeType () |
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 const NativeType * | FromAbstractType (Zone *zone, const AbstractType &type, const char **error) |
static const NativeType & | FromTypedDataClassId (Zone *zone, classid_t class_id) |
static NativePrimitiveType & | FromRepresentation (Zone *zone, Representation rep) |
Protected Member Functions | |
NativeType () | |
Definition at line 66 of file native_type.h.
|
inlinevirtual |
Definition at line 173 of file native_type.h.
|
inlineprotected |
Definition at line 176 of file native_type.h.
|
pure virtual |
|
pure virtual |
const NativeArrayType & dart::compiler::ffi::NativeType::AsArray | ( | ) | const |
Definition at line 51 of file native_type.cc.
const NativeCompoundType & dart::compiler::ffi::NativeType::AsCompound | ( | ) | const |
Definition at line 56 of file native_type.cc.
const NativePrimitiveType & dart::compiler::ffi::NativeType::AsPrimitive | ( | ) | const |
Definition at line 46 of file native_type.cc.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 121 of file native_type.h.
Representation dart::compiler::ffi::NativeType::AsRepresentationOverApprox | ( | Zone * | zone_ | ) | const |
Definition at line 1076 of file native_type.cc.
const NativeStructType & dart::compiler::ffi::NativeType::AsStruct | ( | ) | const |
Definition at line 61 of file native_type.cc.
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType, dart::compiler::ffi::NativeArrayType, and dart::compiler::ffi::NativeCompoundType.
Definition at line 127 of file native_type.h.
|
inline |
Definition at line 140 of file native_type.h.
|
pure virtual |
|
static |
Definition at line 549 of file native_type.cc.
|
static |
Definition at line 632 of file native_type.cc.
|
static |
Definition at line 435 of file native_type.cc.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeArrayType.
Definition at line 82 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeCompoundType.
Definition at line 84 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 118 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 90 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 89 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 80 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 93 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativeStructType.
Definition at line 86 of file native_type.h.
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 91 of file native_type.h.
|
pure virtual |
|
pure virtual |
|
virtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType, dart::compiler::ffi::NativeArrayType, and dart::compiler::ffi::NativeCompoundType.
Definition at line 715 of file native_type.cc.
|
pure virtual |
|
inlinevirtual |
Reimplemented in dart::compiler::ffi::NativePrimitiveType.
Definition at line 130 of file native_type.h.
const char * dart::compiler::ffi::NativeType::ToCString | ( | ) | const |
Definition at line 663 of file native_type.cc.
const char * dart::compiler::ffi::NativeType::ToCString | ( | Zone * | zone, |
bool | multi_line = false , |
||
bool | verbose = true |
||
) | const |
Definition at line 654 of file native_type.cc.
const NativeType & dart::compiler::ffi::NativeType::WidenTo4Bytes | ( | Zone * | zone | ) | const |
Definition at line 1099 of file native_type.cc.
const NativeType & dart::compiler::ffi::NativeType::WidenTo8Bytes | ( | Zone * | zone | ) | const |
Definition at line 1110 of file native_type.cc.