LLVM  15.0.0git
Classes | Public Member Functions | List of all members
llvm::orc::EPCGenericMemoryAccess Class Reference

#include "llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h"

Inheritance diagram for llvm::orc::EPCGenericMemoryAccess:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::EPCGenericMemoryAccess:
Collaboration graph
[legend]

Classes

struct  FuncAddrs
 Function addresses for memory access. More...
 

Public Member Functions

 EPCGenericMemoryAccess (ExecutorProcessControl &EPC, FuncAddrs FAs)
 Create an EPCGenericMemoryAccess instance from a given set of function addrs. More...
 
void writeUInt8sAsync (ArrayRef< tpctypes::UInt8Write > Ws, WriteResultFn OnWriteComplete) override
 
void writeUInt16sAsync (ArrayRef< tpctypes::UInt16Write > Ws, WriteResultFn OnWriteComplete) override
 
void writeUInt32sAsync (ArrayRef< tpctypes::UInt32Write > Ws, WriteResultFn OnWriteComplete) override
 
void writeUInt64sAsync (ArrayRef< tpctypes::UInt64Write > Ws, WriteResultFn OnWriteComplete) override
 
void writeBuffersAsync (ArrayRef< tpctypes::BufferWrite > Ws, WriteResultFn OnWriteComplete) override
 
- Public Member Functions inherited from llvm::orc::ExecutorProcessControl::MemoryAccess
virtual ~MemoryAccess ()
 
Error writeUInt8s (ArrayRef< tpctypes::UInt8Write > Ws)
 
Error writeUInt16s (ArrayRef< tpctypes::UInt16Write > Ws)
 
Error writeUInt32s (ArrayRef< tpctypes::UInt32Write > Ws)
 
Error writeUInt64s (ArrayRef< tpctypes::UInt64Write > Ws)
 
Error writeBuffers (ArrayRef< tpctypes::BufferWrite > Ws)
 

Additional Inherited Members

- Public Types inherited from llvm::orc::ExecutorProcessControl::MemoryAccess
using WriteResultFn = unique_function< void(Error)>
 Callback function for asynchronous writes. More...
 

Detailed Description

Definition at line 26 of file EPCGenericMemoryAccess.h.

Constructor & Destructor Documentation

◆ EPCGenericMemoryAccess()

llvm::orc::EPCGenericMemoryAccess::EPCGenericMemoryAccess ( ExecutorProcessControl EPC,
FuncAddrs  FAs 
)
inline

Create an EPCGenericMemoryAccess instance from a given set of function addrs.

Definition at line 39 of file EPCGenericMemoryAccess.h.

Member Function Documentation

◆ writeBuffersAsync()

void llvm::orc::EPCGenericMemoryAccess::writeBuffersAsync ( ArrayRef< tpctypes::BufferWrite Ws,
WriteResultFn  OnWriteComplete 
)
inlineoverridevirtual

Implements llvm::orc::ExecutorProcessControl::MemoryAccess.

Definition at line 70 of file EPCGenericMemoryAccess.h.

References move.

◆ writeUInt16sAsync()

void llvm::orc::EPCGenericMemoryAccess::writeUInt16sAsync ( ArrayRef< tpctypes::UInt16Write Ws,
WriteResultFn  OnWriteComplete 
)
inlineoverridevirtual

Implements llvm::orc::ExecutorProcessControl::MemoryAccess.

Definition at line 49 of file EPCGenericMemoryAccess.h.

References move.

◆ writeUInt32sAsync()

void llvm::orc::EPCGenericMemoryAccess::writeUInt32sAsync ( ArrayRef< tpctypes::UInt32Write Ws,
WriteResultFn  OnWriteComplete 
)
inlineoverridevirtual

Implements llvm::orc::ExecutorProcessControl::MemoryAccess.

Definition at line 56 of file EPCGenericMemoryAccess.h.

References move.

◆ writeUInt64sAsync()

void llvm::orc::EPCGenericMemoryAccess::writeUInt64sAsync ( ArrayRef< tpctypes::UInt64Write Ws,
WriteResultFn  OnWriteComplete 
)
inlineoverridevirtual

Implements llvm::orc::ExecutorProcessControl::MemoryAccess.

Definition at line 63 of file EPCGenericMemoryAccess.h.

References move.

◆ writeUInt8sAsync()

void llvm::orc::EPCGenericMemoryAccess::writeUInt8sAsync ( ArrayRef< tpctypes::UInt8Write Ws,
WriteResultFn  OnWriteComplete 
)
inlineoverridevirtual

Implements llvm::orc::ExecutorProcessControl::MemoryAccess.

Definition at line 42 of file EPCGenericMemoryAccess.h.

References move.


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