LLVM  14.0.0git
Static Public Member Functions | List of all members
llvm::orc::shared::SPSSerializationTraits< SPSString, StringRef > Class Reference

Serialization for StringRefs. More...

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

Static Public Member Functions

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

Detailed Description

Serialization for StringRefs.

Serialization is as for regular strings. Deserialization points directly into the blob.

Definition at line 431 of file SimplePackedSerialization.h.

Member Function Documentation

◆ deserialize()

static bool llvm::orc::shared::SPSSerializationTraits< SPSString, StringRef >::deserialize ( SPSInputBuffer IB,
StringRef S 
)
inlinestatic

◆ serialize()

static bool llvm::orc::shared::SPSSerializationTraits< SPSString, StringRef >::serialize ( SPSOutputBuffer OB,
StringRef  S 
)
inlinestatic

Definition at line 438 of file SimplePackedSerialization.h.

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

◆ size()

Definition at line 433 of file SimplePackedSerialization.h.

References S, and size.


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