Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::Simd128DeserializationCluster Class Reference
Inheritance diagram for dart::Simd128DeserializationCluster:
dart::AbstractInstanceDeserializationCluster dart::DeserializationCluster dart::ZoneAllocated

Public Member Functions

 Simd128DeserializationCluster (intptr_t cid, bool is_canonical, bool is_root_unit)
 
 ~Simd128DeserializationCluster ()
 
void ReadAlloc (Deserializer *d) override
 
void ReadFill (Deserializer *d_) override
 
- Public Member Functions inherited from dart::DeserializationCluster
 DeserializationCluster (const char *name, bool is_canonical=false, bool is_immutable=false)
 
virtual ~DeserializationCluster ()
 
virtual void ReadAlloc (Deserializer *deserializer)=0
 
virtual void ReadFill (Deserializer *deserializer)=0
 
virtual void PostLoad (Deserializer *deserializer, const Array &refs)
 
const char * name () const
 
bool is_canonical () const
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::AbstractInstanceDeserializationCluster
 AbstractInstanceDeserializationCluster (const char *name, bool is_canonical, bool is_root_unit)
 
- Protected Member Functions inherited from dart::DeserializationCluster
void ReadAllocFixedSize (Deserializer *deserializer, intptr_t instance_size)
 
- Protected Attributes inherited from dart::AbstractInstanceDeserializationCluster
const bool is_root_unit_
 
- Protected Attributes inherited from dart::DeserializationCluster
const char *const name_
 
const bool is_canonical_
 
const bool is_immutable_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 5482 of file app_snapshot.cc.

Constructor & Destructor Documentation

◆ Simd128DeserializationCluster()

dart::Simd128DeserializationCluster::Simd128DeserializationCluster ( intptr_t  cid,
bool  is_canonical,
bool  is_root_unit 
)
inlineexplicit

Definition at line 5485 of file app_snapshot.cc.

5490 is_root_unit),
5491 cid_(cid) {}
AbstractInstanceDeserializationCluster(const char *name, bool is_canonical, bool is_root_unit)
const intptr_t cid

◆ ~Simd128DeserializationCluster()

dart::Simd128DeserializationCluster::~Simd128DeserializationCluster ( )
inline

Definition at line 5492 of file app_snapshot.cc.

5492{}

Member Function Documentation

◆ ReadAlloc()

void dart::Simd128DeserializationCluster::ReadAlloc ( Deserializer d)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 5494 of file app_snapshot.cc.

5494 {
5498 }
#define ASSERT_EQUAL(expected, actual)
Definition: assert.h:309
void ReadAllocFixedSize(Deserializer *deserializer, intptr_t instance_size)
static intptr_t InstanceSize()
Definition: object.h:11193
static intptr_t InstanceSize()
Definition: object.h:11262
static intptr_t InstanceSize()
Definition: object.h:11231
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19

◆ ReadFill()

void dart::Simd128DeserializationCluster::ReadFill ( Deserializer d_)
inlineoverridevirtual

Implements dart::DeserializationCluster.

Definition at line 5500 of file app_snapshot.cc.

5500 {
5501 Deserializer::Local d(d_);
5502 const intptr_t cid = cid_;
5503 const bool mark_canonical = is_root_unit_ && is_canonical();
5504 for (intptr_t id = start_index_, n = stop_index_; id < n; id++) {
5505 ObjectPtr vector = d.Ref(id);
5507 mark_canonical);
5508 d.ReadBytes(&(static_cast<Int32x4Ptr>(vector)->untag()->value_),
5509 sizeof(simd128_value_t));
5510 }
5511 }
static void InitializeHeader(ObjectPtr raw, intptr_t cid, intptr_t size, bool is_canonical=false)
raw_obj untag() -> num_entries()) VARIABLE_COMPRESSED_VISITOR(Array, Smi::Value(raw_obj->untag() ->length())) VARIABLE_COMPRESSED_VISITOR(TypedData, TypedData::ElementSizeInBytes(raw_obj->GetClassId()) *Smi::Value(raw_obj->untag() ->length())) VARIABLE_COMPRESSED_VISITOR(Record, RecordShape(raw_obj->untag() ->shape()).num_fields()) VARIABLE_NULL_VISITOR(CompressedStackMaps, CompressedStackMaps::PayloadSizeOf(raw_obj)) VARIABLE_NULL_VISITOR(OneByteString, Smi::Value(raw_obj->untag() ->length())) VARIABLE_NULL_VISITOR(TwoByteString, Smi::Value(raw_obj->untag() ->length())) intptr_t UntaggedField::VisitFieldPointers(FieldPtr raw_obj, ObjectPointerVisitor *visitor)
Definition: raw_object.cc:558

The documentation for this class was generated from the following file: