LLVM 20.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 382 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 402 of file SimplePackedSerialization.h.

References E, I, and 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 393 of file SimplePackedSerialization.h.

References E.

◆ 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 386 of file SimplePackedSerialization.h.

References E, and Size.


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