LLVM  14.0.0git
Static Public Member Functions | List of all members
llvm::orc::shared::SPSSerializationTraits< SPSSequence< SPSElementTagT >, SequenceT, std::enable_if_t< TrivialSPSSequenceSerialization< SPSElementTagT, SequenceT >::available > > Class Template Reference

'Trivial' sequence serialization: Sequence is serialized as a uint64_t size followed by a for-earch loop over the elements of the sequence to serialize each of them. More...

#include "llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h"

Static Public Member Functions

static size_t size (const SequenceT &S)
 
static bool serialize (SPSOutputBuffer &OB, const SequenceT &S)
 
static bool deserialize (SPSInputBuffer &IB, SequenceT &S)
 

Detailed Description

template<typename SPSElementTagT, typename SequenceT>
class llvm::orc::shared::SPSSerializationTraits< SPSSequence< SPSElementTagT >, SequenceT, std::enable_if_t< TrivialSPSSequenceSerialization< SPSElementTagT, SequenceT >::available > >

'Trivial' sequence serialization: Sequence is serialized as a uint64_t size followed by a for-earch loop over the elements of the sequence to serialize each of them.

Definition at line 332 of file SimplePackedSerialization.h.

Member Function Documentation

◆ deserialize()

template<typename SPSElementTagT , typename SequenceT >
static bool llvm::orc::shared::SPSSerializationTraits< SPSSequence< SPSElementTagT >, SequenceT, std::enable_if_t< TrivialSPSSequenceSerialization< SPSElementTagT, SequenceT >::available > >::deserialize ( SPSInputBuffer IB,
SequenceT &  S 
)
inlinestatic

Definition at line 352 of file SimplePackedSerialization.h.

References llvm::sys::path::append(), E, I, move, S, and llvm::Check::Size.

◆ serialize()

template<typename SPSElementTagT , typename SequenceT >
static bool llvm::orc::shared::SPSSerializationTraits< SPSSequence< SPSElementTagT >, SequenceT, std::enable_if_t< TrivialSPSSequenceSerialization< SPSElementTagT, SequenceT >::available > >::serialize ( SPSOutputBuffer OB,
const SequenceT &  S 
)
inlinestatic

Definition at line 343 of file SimplePackedSerialization.h.

References E, llvm::X86II::OB, and S.

◆ size()

template<typename SPSElementTagT , typename SequenceT >
static size_t llvm::orc::shared::SPSSerializationTraits< SPSSequence< SPSElementTagT >, SequenceT, std::enable_if_t< TrivialSPSSequenceSerialization< SPSElementTagT, SequenceT >::available > >::size ( const SequenceT &  S)
inlinestatic

Definition at line 336 of file SimplePackedSerialization.h.

References E, S, llvm::Check::Size, and size.


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