Go to the documentation of this file.
14 #ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_TARGETPROCESSCONTROLTYPES_H
15 #define LLVM_EXECUTIONENGINE_ORC_SHARED_TARGETPROCESSCONTROLTYPES_H
67 Result += (WPF &
WPF_Read) ?
'R' :
'-';
69 Result += (WPF &
WPF_Exec) ?
'X' :
'-';
134 template <
typename T>
169 tpctypes::SegFinalizeRequest> {
207 template <
typename T>
209 tpctypes::UIntWrite<T>> {
228 tpctypes::BufferWrite> {
237 OB,
W.Addr,
W.Buffer);
252 #endif // LLVM_EXECUTIONENGINE_ORC_SHARED_TARGETPROCESSCONTROLTYPES_H
Represents an address in the executor process.
WireProtectionFlags toWireProtectionFlags(sys::Memory::ProtectionFlags PF)
Convert from sys::Memory::ProtectionFlags.
static bool deserialize(SPSInputBuffer &IB, tpctypes::SegFinalizeRequest &SFR)
static size_t size(const tpctypes::SegFinalizeRequest &SFR)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::SegFinalizeRequest &SFR)
This is an optimization pass for GlobalISel generic memory operations.
SPS tag type for sequences.
static bool deserialize(SPSInputBuffer &IB, tpctypes::WireProtectionFlags &WPF)
Specialize to describe how to serialize/deserialize to/from the given concrete type.
#define LLVM_MARK_AS_BITMASK_ENUM(LargestValue)
LLVM_MARK_AS_BITMASK_ENUM lets you opt in an individual enum type so you can perform bitwise operatio...
Output char buffer with overflow check.
static size_t size(const tpctypes::UIntWrite< T > &W)
UIntWrite(ExecutorAddr Addr, T Value)
shared::AllocActions Actions
static size_t size(const tpctypes::FinalizeRequest &FR)
static size_t size(const tpctypes::BufferWrite &W)
static bool deserialize(SPSInputBuffer &IB, tpctypes::FinalizeRequest &FR)
std::vector< JITTargetAddress > LookupResult
sys::Memory::ProtectionFlags fromWireProtectionFlags(WireProtectionFlags WPF)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::UIntWrite< T > &W)
Describes a write to a buffer.
static bool serialize(SPSOutputBuffer &OB, const tpctypes::WireProtectionFlags &WPF)
static bool deserialize(SPSInputBuffer &IB, tpctypes::UIntWrite< T > &W)
BufferWrite(ExecutorAddr Addr, StringRef Buffer)
std::vector< SegFinalizeRequest > Segments
static bool deserialize(SPSInputBuffer &IB, tpctypes::BufferWrite &W)
StringRef - Represent a constant reference to a string, i.e.
std::vector< AllocActionCallPair > AllocActions
A vector of allocation actions to be run for this allocation.
static bool serialize(SPSOutputBuffer &OB, const tpctypes::BufferWrite &W)
SPSArgList< SPSTagTs... > AsArgList
Convenience typedef of the corresponding arg list.
std::string getWireProtectionFlagsStr(WireProtectionFlags WPF)
uint64_t JITTargetAddress
Represents an address in the target process's address space.
static size_t size(const tpctypes::WireProtectionFlags &WPF)
static bool serialize(SPSOutputBuffer &OB, const tpctypes::FinalizeRequest &FR)
LLVM Value Representation.
A utility class for serializing to a blob from a variadic list.