Flutter Engine
The Flutter Engine
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
#define T
Definition: precompiler.cc:65

Definition at line 476 of file il_serializer.h.

◆ 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); \
};
GLenum type
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)

Definition at line 450 of file il_serializer.h.

◆ 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.

◆ 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.

◆ 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:125

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.