Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
il_serializer.h File Reference
#include <utility>
#include "platform/globals.h"
#include "vm/allocation.h"
#include "vm/compiler/backend/locations.h"

Go to the source code of this file.

Classes

class  dart::FlowGraphSerializer
 
struct  dart::FlowGraphSerializer::WriteTrait< T, class >
 
struct  dart::FlowGraphSerializer::WriteTrait< GrowableArray< T > >
 
struct  dart::FlowGraphSerializer::WriteTrait< const GrowableArray< T > & >
 
struct  dart::FlowGraphSerializer::WriteTrait< ZoneGrowableArray< T > * >
 
struct  dart::FlowGraphSerializer::WriteTrait< const ZoneGrowableArray< T > & >
 
struct  dart::FlowGraphSerializer::WriteTrait< T, std::enable_if_t< std::is_same_v< intptr_t, T > &&!std::is_same_v< intptr_t, int32_t > &&!std::is_same_v< intptr_t, int64_t > > >
 
struct  dart::FlowGraphSerializer::WriteTrait< T, std::enable_if_t< std::is_same_v< uintptr_t, T > &&!std::is_same_v< uintptr_t, uint32_t > &&!std::is_same_v< uintptr_t, uint64_t > > >
 
struct  dart::FlowGraphSerializer::WriteRefTrait< T, class >
 
class  dart::FlowGraphDeserializer
 
struct  dart::FlowGraphDeserializer::ReadTrait< T, class >
 
struct  dart::FlowGraphDeserializer::ReadTrait< GrowableArray< T > >
 
struct  dart::FlowGraphDeserializer::ReadTrait< const GrowableArray< T > & >
 
struct  dart::FlowGraphDeserializer::ReadTrait< ZoneGrowableArray< T > * >
 
struct  dart::FlowGraphDeserializer::ReadTrait< const ZoneGrowableArray< T > & >
 
struct  dart::FlowGraphDeserializer::ReadTrait< T, std::enable_if_t< std::is_same_v< intptr_t, T > &&!std::is_same_v< intptr_t, int32_t > &&!std::is_same_v< intptr_t, int64_t > > >
 
struct  dart::FlowGraphDeserializer::ReadTrait< T, std::enable_if_t< std::is_same_v< uintptr_t, T > &&!std::is_same_v< uintptr_t, uint32_t > &&!std::is_same_v< uintptr_t, uint64_t > > >
 
struct  dart::FlowGraphDeserializer::ReadRefTrait< T, class >
 

Namespaces

namespace  dart
 
namespace  dart::compiler
 
namespace  dart::compiler::ffi
 

Macros

#define IL_SERIALIZABLE_TYPE_LIST(V)
 
#define IL_SERIALIZABLE_REF_TYPE_LIST(V)
 
#define DECLARE_WRITE_TRAIT(type)
 
#define DECLARE_WRITE_REF_TRAIT(type)
 
#define DECLARE_READ_TRAIT(type)
 
#define DECLARE_READ_REF_TRAIT(type)
 

Macro Definition Documentation

◆ DECLARE_READ_REF_TRAIT

#define DECLARE_READ_REF_TRAIT (   type)
Value:
template <typename T> \
struct ReadRefTrait<T, std::enable_if_t<std::is_same_v<type, T>>> { \
static T ReadRef(FlowGraphDeserializer* d); \
};
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition main.cc:19
Definition ref_ptr.h:256
#define T

Definition at line 476 of file il_serializer.h.

478 { \
479 static T ReadRef(FlowGraphDeserializer* d); \
480 };

◆ DECLARE_READ_TRAIT

#define DECLARE_READ_TRAIT (   type)
Value:
template <typename T> \
struct ReadTrait<T, std::enable_if_t<std::is_same_v<type, T>>> { \
static type Read(FlowGraphDeserializer* d); \
};

Definition at line 450 of file il_serializer.h.

452 { \
453 static type Read(FlowGraphDeserializer* d); \
454 };
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)

◆ DECLARE_WRITE_REF_TRAIT

#define DECLARE_WRITE_REF_TRAIT (   type)
Value:
template <typename T> \
struct WriteRefTrait<T, std::enable_if_t<std::is_same_v<type, T>>> { \
static void WriteRef(FlowGraphSerializer* s, T x); \
};
struct MyStruct s
double x

Definition at line 277 of file il_serializer.h.

279 { \
280 static void WriteRef(FlowGraphSerializer* s, T x); \
281 };

◆ DECLARE_WRITE_TRAIT

#define DECLARE_WRITE_TRAIT (   type)
Value:
template <typename T> \
struct WriteTrait<T, std::enable_if_t<std::is_same_v<type, T>>> { \
using ArgType = type; \
static void Write(FlowGraphSerializer* s, type x); \
};

Definition at line 250 of file il_serializer.h.

252 { \
253 using ArgType = type; \
254 static void Write(FlowGraphSerializer* s, type x); \
255 };

◆ IL_SERIALIZABLE_REF_TYPE_LIST

#define IL_SERIALIZABLE_REF_TYPE_LIST (   V)
Value:
V(BlockEntryInstr*) \
V(CatchBlockEntryInstr*) \
V(Definition*) \
V(FunctionEntryInstr*) \
V(IndirectEntryInstr*) \
V(JoinEntryInstr*) \
V(OsrEntryInstr*) \
V(TargetEntryInstr*)
#define V(name)
Definition raw_object.h:124

Definition at line 125 of file il_serializer.h.

◆ IL_SERIALIZABLE_TYPE_LIST

#define IL_SERIALIZABLE_TYPE_LIST (   V)

Definition at line 71 of file il_serializer.h.