LLVM  4.0.0
Classes | Public Member Functions | List of all members
llvm::orc::remote::OrcRemoteTargetRPCAPI Class Reference

#include <OrcRemoteTargetRPCAPI.h>

Inheritance diagram for llvm::orc::remote::OrcRemoteTargetRPCAPI:
[legend]
Collaboration diagram for llvm::orc::remote::OrcRemoteTargetRPCAPI:
[legend]

Classes

class  CallIntVoid
 
class  CallMain
 
class  CallVoidVoid
 
class  CreateIndirectStubsOwner
 
class  CreateRemoteAllocator
 
class  DeregisterEHFrames
 
class  DestroyIndirectStubsOwner
 
class  DestroyRemoteAllocator
 
class  EmitIndirectStubs
 EmitIndirectStubs result is (StubsBase, PtrsBase, NumStubsEmitted). More...
 
class  EmitResolverBlock
 
class  EmitTrampolineBlock
 EmitTrampolineBlock result is (BlockAddr, NumTrampolines). More...
 
class  GetRemoteInfo
 GetRemoteInfo result is (Triple, PointerSize, PageSize, TrampolineSize, IndirectStubsSize). More...
 
class  GetSymbolAddress
 
class  ReadMem
 
class  RegisterEHFrames
 
class  RequestCompile
 
class  ReserveMem
 
class  ResourceIdMgr
 
class  SetProtections
 
class  TerminateSession
 
class  WriteMem
 
class  WritePtr
 

Public Member Functions

 OrcRemoteTargetRPCAPI (rpc::RawByteChannel &C)
 
- Public Member Functions inherited from llvm::orc::rpc::SingleThreadedRPCEndpoint< rpc::RawByteChannel >
 SingleThreadedRPCEndpoint (rpc::RawByteChannel &C, bool LazyAutoNegotiation)
 
void addHandler (HandlerT Handler)
 
void addHandler (ClassT &Object, RetT(ClassT::*Method)(ArgTs...))
 
Error negotiateFunction (bool Retry=false)
 Negotiate a function id for Func with the other end of the channel. More...
 
detail::ResultTraits< AltRetT >
::ErrorReturnType 
callB (const ArgTs &...Args)
 
- Public Member Functions inherited from llvm::orc::rpc::detail::RPCEndpointBase< SingleThreadedRPCEndpoint< rpc::RawByteChannel, uint32_t, uint32_t >, rpc::RawByteChannel, uint32_t, uint32_t >
 RPCEndpointBase (rpc::RawByteChannel &C, bool LazyAutoNegotiation)
 Construct an RPC instance on a channel. More...
 
Error appendCallAsync (HandlerT Handler, const ArgTs &...Args)
 Append a call Func, does not call send on the channel. More...
 
Error sendAppendedCalls ()
 
Error callAsync (HandlerT Handler, const ArgTs &...Args)
 
Error handleOne ()
 Handle one incoming call. More...
 
void abandonPendingResponses ()
 Abandon all outstanding result handlers. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::orc::rpc::detail::RPCEndpointBase< SingleThreadedRPCEndpoint< rpc::RawByteChannel, uint32_t, uint32_t >, rpc::RawByteChannel, uint32_t, uint32_t >
**static detail::ReadArgs
< ArgTs...> 
readArgs (ArgTs &...Args)
 Helper for handling setter procedures - this method returns a functor that sets the variables referred to by Args... More...
 
- Protected Types inherited from llvm::orc::rpc::detail::RPCEndpointBase< SingleThreadedRPCEndpoint< rpc::RawByteChannel, uint32_t, uint32_t >, rpc::RawByteChannel, uint32_t, uint32_t >
using LaunchPolicy = std::function< Error(std::function< Error()>)>
 
using WrappedHandlerFn = std::function< Error(rpc::RawByteChannel &, uint32_t)>
 
- Protected Member Functions inherited from llvm::orc::rpc::detail::RPCEndpointBase< SingleThreadedRPCEndpoint< rpc::RawByteChannel, uint32_t, uint32_t >, rpc::RawByteChannel, uint32_t, uint32_t >
uint32_t getInvalidFunctionId () const
 
void addHandlerImpl (HandlerT Handler, LaunchPolicy Launch)
 Add the given handler to the handler map and make it available for autonegotiation and execution. More...
 
Error handleResponse (uint32_tSeqNo)
 
uint32_t handleNegotiate (const std::string &Name)
 
Expected< uint32_tgetRemoteFunctionId ()
 
WrappedHandlerFn wrapHandler (HandlerT Handler, LaunchPolicy Launch)
 
- Protected Attributes inherited from llvm::orc::rpc::detail::RPCEndpointBase< SingleThreadedRPCEndpoint< rpc::RawByteChannel, uint32_t, uint32_t >, rpc::RawByteChannel, uint32_t, uint32_t >
rpc::RawByteChannelC
 
bool LazyAutoNegotiation
 
RPCFunctionIdAllocator< uint32_tFnIdAllocator
 
uint32_t ResponseId
 
std::map< std::string, uint32_tLocalFunctionIds
 
std::map< const char *, uint32_tRemoteFunctionIds
 
std::map< uint32_t,
WrappedHandlerFn
Handlers
 
std::mutex ResponsesMutex
 
detail::SequenceNumberManager
< uint32_t
SequenceNumberMgr
 
std::map< uint32_t,
std::unique_ptr
< detail::ResponseHandler
< rpc::RawByteChannel > > > 
PendingResponses
 

Detailed Description

Definition at line 85 of file OrcRemoteTargetRPCAPI.h.

Constructor & Destructor Documentation

llvm::orc::remote::OrcRemoteTargetRPCAPI::OrcRemoteTargetRPCAPI ( rpc::RawByteChannel C)
inline

Definition at line 110 of file OrcRemoteTargetRPCAPI.h.


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