14#ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_TARGETPROCESSCONTROLTYPES_H
15#define LLVM_EXECUTIONENGINE_ORC_SHARED_TARGETPROCESSCONTROLTYPES_H
52 std::vector<SharedMemorySegFinalizeRequest>
Segments;
136 uint8_t WireValue = 0;
138 WireValue |= ReadBit;
140 WireValue |= WriteBit;
142 WireValue |= ExecBit;
144 WireValue |= FinalizeBit;
168 tpctypes::SegFinalizeRequest> {
208 tpctypes::SharedMemorySegFinalizeRequest> {
213 return SFRAL::size(SFR.
AG, SFR.
Addr, SFR.
Size);
218 return SFRAL::serialize(OB, SFR.
AG, SFR.
Addr, SFR.
Size);
223 return SFRAL::deserialize(IB, SFR.
AG, SFR.
Addr, SFR.
Size);
229 tpctypes::SharedMemoryFinalizeRequest> {
250 tpctypes::UIntWrite<T>> {
269 tpctypes::BufferWrite> {
278 OB, W.Addr, W.Buffer);
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
StringRef - Represent a constant reference to a string, i.e.
LLVM Value Representation.
A pair of memory protections and allocation policies.
MemDeallocPolicy getMemDeallocPolicy() const
Returns the MemoryDeallocationPolicy for this group.
MemProt getMemProt() const
Returns the MemProt for this group.
Represents an address in the executor process.
A utility class for serializing to a blob from a variadic list.
Output char buffer with overflow check.
SPS tag type for sequences.
static size_t size(const AllocGroup &AG)
static bool serialize(SPSOutputBuffer &OB, const AllocGroup &AG)
static bool deserialize(SPSInputBuffer &IB, AllocGroup &AG)
static size_t size(const tpctypes::FinalizeRequest &FR)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::FinalizeRequest &FR)
static bool deserialize(SPSInputBuffer &IB, tpctypes::FinalizeRequest &FR)
static bool deserialize(SPSInputBuffer &IB, tpctypes::BufferWrite &W)
static size_t size(const tpctypes::BufferWrite &W)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::BufferWrite &W)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::UIntWrite< T > &W)
static size_t size(const tpctypes::UIntWrite< T > &W)
static bool deserialize(SPSInputBuffer &IB, tpctypes::UIntWrite< T > &W)
static size_t size(const tpctypes::SegFinalizeRequest &SFR)
static bool deserialize(SPSInputBuffer &IB, tpctypes::SegFinalizeRequest &SFR)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::SegFinalizeRequest &SFR)
static bool deserialize(SPSInputBuffer &IB, tpctypes::SharedMemoryFinalizeRequest &FR)
static size_t size(const tpctypes::SharedMemoryFinalizeRequest &FR)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::SharedMemoryFinalizeRequest &FR)
static bool deserialize(SPSInputBuffer &IB, tpctypes::SharedMemorySegFinalizeRequest &SFR)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::SharedMemorySegFinalizeRequest &SFR)
static size_t size(const tpctypes::SharedMemorySegFinalizeRequest &SFR)
Specialize to describe how to serialize/deserialize to/from the given concrete type.
SPSArgList< SPSTagTs... > AsArgList
Convenience typedef of the corresponding arg list.
std::vector< AllocActionCallPair > AllocActions
A vector of allocation actions to be run for this allocation.
std::vector< ExecutorAddr > LookupResult
MemProt
Describes Read/Write/Exec permissions for memory.
MemDeallocPolicy
Describes a memory deallocation policy for memory to be allocated by a JITLinkMemoryManager.
@ Standard
Standard memory should be deallocated when the deallocate method is called for the finalized allocati...
@ Finalize
Finalize memory should be overwritten and then deallocated after all finalization functions have been...
This is an optimization pass for GlobalISel generic memory operations.
Describes a write to a buffer.
BufferWrite(ExecutorAddr Addr, StringRef Buffer)
std::vector< SegFinalizeRequest > Segments
shared::AllocActions Actions
std::vector< SharedMemorySegFinalizeRequest > Segments
shared::AllocActions Actions
UIntWrite(ExecutorAddr Addr, T Value)