|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Derived Classes
examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h 29 class FDRPCChannel final : public llvm::orc::rpc::RawByteChannel {
tools/lli/RemoteJITUtils.h 27 class FDRawChannel final : public llvm::orc::rpc::RawByteChannel {
unittests/ExecutionEngine/Orc/QueueChannel.h 73 class QueueChannel : public orc::rpc::RawByteChannel {
References
examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h 29 class FDRPCChannel final : public llvm::orc::rpc::RawByteChannel {
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h 56 : public rpc::SingleThreadedRPCEndpoint<rpc::RawByteChannel> {
504 Create(rpc::RawByteChannel &Channel, ExecutionSession &ES) {
586 OrcRemoteTargetClient(rpc::RawByteChannel &Channel, ExecutionSession &ES,
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h 88 static Error serialize(ChannelT &C, const JITSymbolFlags &Flags) {
92 static Error deserialize(ChannelT &C, JITSymbolFlags &Flags) {
114 static Error serialize(ChannelT &C, const remote::DirectBufferWriter &DBW) {
122 static Error deserialize(ChannelT &C, remote::DirectBufferWriter &DBW) {
363 : public rpc::SingleThreadedRPCEndpoint<rpc::RawByteChannel> {
366 OrcRemoteTargetRPCAPI(rpc::RawByteChannel &C)
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h 48 : public rpc::SingleThreadedRPCEndpoint<rpc::RawByteChannel> {
include/llvm/ExecutionEngine/Orc/RPCSerialization.h 248 static Error emitSeparator(ChannelT &C) { return Error::success(); }
249 static Error consumeSeparator(ChannelT &C) { return Error::success(); }
267 static Error serialize(ChannelT &C) { return Error::success(); }
268 static Error deserialize(ChannelT &C) { return Error::success(); }
276 static Error serialize(ChannelT &C, CArgT &&CArg) {
277 return SerializationTraits<ChannelT, ArgT,
283 static Error deserialize(ChannelT &C, CArgT &CArg) {
284 return SerializationTraits<ChannelT, ArgT, CArgT>::deserialize(C, CArg);
293 static Error serialize(ChannelT &C, CArgT &&CArg,
296 SerializationTraits<ChannelT, ArgT, typename std::decay<CArgT>::type>::
299 if (auto Err = SequenceTraits<ChannelT>::emitSeparator(C))
301 return SequenceSerialization<ChannelT, ArgTs...>::
306 static Error deserialize(ChannelT &C, CArgT &CArg,
309 SerializationTraits<ChannelT, ArgT, CArgT>::deserialize(C, CArg))
311 if (auto Err = SequenceTraits<ChannelT>::consumeSeparator(C))
313 return SequenceSerialization<ChannelT, ArgTs...>::deserialize(C, CArgs...);
318 Error serializeSeq(ChannelT &C, ArgTs &&... Args) {
319 return SequenceSerialization<ChannelT, typename std::decay<ArgTs>::type...>::
324 Error deserializeSeq(ChannelT &C, ArgTs &... Args) {
325 return SequenceSerialization<ChannelT, ArgTs...>::deserialize(C, Args...);
333 std::function<Error(ChannelT &C, const ErrorInfoBase&)>;
336 std::function<Error(ChannelT &C, Error &Err)>;
374 static Error serialize(ChannelT &C, Error &&Err) {
389 static Error deserialize(ChannelT &C, Error &Err) {
409 static Error serializeAsStringError(ChannelT &C, const ErrorInfoBase &EIB) {
433 typename SerializationTraits<ChannelT, Error>::WrappedErrorSerializer>
438 typename SerializationTraits<ChannelT, Error>::WrappedErrorDeserializer>
447 SerializationTraits<ChannelT, Error>::template registerErrorType<ErrorInfoT>(
458 registerErrorSerialization<ChannelT, StringError>(
483 static Error serialize(ChannelT &C, Expected<T2> &&ValOrErr) {
487 return SerializationTraits<ChannelT, T1, T2>::serialize(C, *ValOrErr);
494 static Error deserialize(ChannelT &C, Expected<T2> &ValOrErr) {
500 return SerializationTraits<ChannelT, T1, T2>::deserialize(C, *ValOrErr);
533 static Error serialize(ChannelT &C, const std::pair<T3, T4> &V) {
534 if (auto Err = SerializationTraits<ChannelT, T1, T3>::serialize(C, V.first))
536 return SerializationTraits<ChannelT, T2, T4>::serialize(C, V.second);
539 static Error deserialize(ChannelT &C, std::pair<T3, T4> &V) {
541 SerializationTraits<ChannelT, T1, T3>::deserialize(C, V.first))
543 return SerializationTraits<ChannelT, T2, T4>::deserialize(C, V.second);
553 static Error serialize(ChannelT &C, const std::tuple<ArgTs...> &V) {
558 static Error deserialize(ChannelT &C, std::tuple<ArgTs...> &V) {
565 static Error serializeTupleHelper(ChannelT &C, const std::tuple<ArgTs...> &V,
572 static Error deserializeTupleHelper(ChannelT &C, std::tuple<ArgTs...> &V,
584 static Error serialize(ChannelT &C, const std::vector<T> &V) {
596 static Error deserialize(ChannelT &C, std::vector<T> &V) {
include/llvm/ExecutionEngine/Orc/RPCUtils.h 323 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId,
335 SerializationTraits<ChannelT, WireRetT,
347 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId,
369 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId,
381 SerializationTraits<ChannelT, WireRetT, HandlerRetT>::serialize(
393 static Error sendResult(ChannelT &C, const FunctionIdT &ResponseId,
411 Error respond(ChannelT &C, const FunctionIdT &ResponseId,
421 Error respond(ChannelT &C, const FunctionIdT &ResponseId, SequenceNumberT SeqNo,
545 static Error serializeArgs(ChannelT &C, const CArgTs... CArgs) {
546 return SequenceSerialization<ChannelT, ArgTs...>::serialize(C, CArgs...);
551 static Error deserializeArgs(ChannelT &C, std::tuple<CArgTs...> &Args) {
557 static Error deserializeArgsHelper(ChannelT &C, std::tuple<CArgTs...> &Args,
559 return SequenceSerialization<ChannelT, ArgTs...>::deserialize(
633 virtual Error handleResponse(ChannelT &C) = 0;
646 class ResponseHandlerImpl : public ResponseHandler<ChannelT> {
652 Error handleResponse(ChannelT &C) override {
657 SerializationTraits<ChannelT, FuncRetT,
681 : public ResponseHandler<ChannelT> {
688 Error handleResponse(ChannelT &C) override {
709 : public ResponseHandler<ChannelT> {
715 Error handleResponse(ChannelT &C) override {
721 SerializationTraits<ChannelT, Expected<FuncRetT>,
744 : public ResponseHandler<ChannelT> {
750 Error handleResponse(ChannelT &C) override {
752 if (auto Err = SerializationTraits<ChannelT, Error, Error>::deserialize(
779 std::unique_ptr<ResponseHandler<ChannelT>> createResponseHandler(HandlerT H) {
780 return std::make_unique<ResponseHandlerImpl<ChannelT, FuncRetT, HandlerT>>(
894 using S = SerializationTraits<ChannelT, WireT, ConcreteT>;
899 std::is_same<decltype(T::serialize(std::declval<ChannelT &>(),
913 using S = SerializationTraits<ChannelT, WireT, ConcreteT>;
918 std::is_same<decltype(T::deserialize(std::declval<ChannelT &>(),
962 class CanSerializeCheck : detail::CanSerialize<ChannelT, WireT, ConcreteT> {
975 : detail::CanDeserialize<ChannelT, WireT, ConcreteT> {
986 RPCEndpointBase(ChannelT &C, bool LazyAutoNegotiation)
1042 detail::createResponseHandler<ChannelT, typename Func::ReturnType>(
1261 using WrappedHandlerFn = std::function<Error(ChannelT &, SequenceNumberT)>;
1335 ChannelT &C;
1349 std::map<SequenceNumberT, std::unique_ptr<detail::ResponseHandler<ChannelT>>>
1475 SingleThreadedRPCEndpoint<ChannelT, FunctionIdT, SequenceNumberT>,
1476 ChannelT, FunctionIdT, SequenceNumberT> {
1480 SingleThreadedRPCEndpoint<ChannelT, FunctionIdT, SequenceNumberT>,
1481 ChannelT, FunctionIdT, SequenceNumberT>;
1484 SingleThreadedRPCEndpoint(ChannelT &C, bool LazyAutoNegotiation)
include/llvm/ExecutionEngine/Orc/RawByteChannel.h 98 static Error serialize(ChannelT &C, T V) {
103 static Error deserialize(ChannelT &C, T &V) {
116 static Error serialize(ChannelT &C, bool V) {
124 static Error deserialize(ChannelT &C, bool &V) {
139 static Error serialize(RawByteChannel &C, StringRef S) {
153 static Error serialize(RawByteChannel &C, const char *S) {
154 return SerializationTraits<ChannelT, std::string, StringRef>::serialize(C,
165 static Error serialize(RawByteChannel &C, const std::string &S) {
166 return SerializationTraits<ChannelT, std::string, StringRef>::serialize(C,
171 static Error deserialize(RawByteChannel &C, std::string &S) {
tools/lli/RemoteJITUtils.h 27 class FDRawChannel final : public llvm::orc::rpc::RawByteChannel {
unittests/ExecutionEngine/Orc/QueueChannel.h 73 class QueueChannel : public orc::rpc::RawByteChannel {
unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp 85 using RPCEndpoint = rpc::SingleThreadedRPCEndpoint<rpc::RawByteChannel>;
112 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
169 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
224 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
271 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
327 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
409 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
487 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
535 llvm::orc::rpc::registerStringError<rpc::RawByteChannel>();
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
83 constexpr _Tp&&
usr/include/c++/7.4.0/bits/std_function.h 299 _M_invoke(const _Any_data& __functor, _ArgTypes&&... __args)
628 using _Invoker_type = _Res (*)(const _Any_data&, _ArgTypes&&...);
usr/include/c++/7.4.0/type_traits 1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };