reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ExecutionEngine/Orc/RPCUtils.h
  157           << RPCTypeName<RetT>::getName() << " " << DerivedFunc::getName()
 1003     return getRemoteFunctionId<Func>(true, Retry).takeError();
 1015         detail::RPCArgTypeCheck<CanSerializeCheck, typename Func::Type,
 1021     if (auto FnIdOrErr = getRemoteFunctionId<Func>(LazyAutoNegotiation, false))
 1042         detail::createResponseHandler<ChannelT, typename Func::ReturnType>(
 1053     if (auto Err = detail::HandlerTraits<typename Func::Type>::serializeArgs(
 1072     if (auto Err = appendCallAsync<Func>(std::move(Handler), Args...))
 1162                       CanDeserializeCheck, typename Func::Type,
 1166     FunctionIdT NewFnId = FnIdAllocator.template allocate<Func>();
 1167     LocalFunctionIds[Func::getPrototype()] = NewFnId;
 1168     Handlers[NewFnId] = wrapHandler<Func>(std::move(Handler));
 1233     auto I = RemoteFunctionIds.find(Func::getPrototype());
 1247           Impl.template callB<OrcRPCNegotiate>(Func::getPrototype())) {
 1248         RemoteFunctionIds[Func::getPrototype()] = *RemoteIdOrErr;
 1250           return make_error<CouldNotNegotiate>(Func::getPrototype());
 1258     return make_error<CouldNotNegotiate>(Func::getPrototype());
 1276               detail::HandlerTraits<typename Func::Type>::deserializeArgs(
 1290       using FuncReturn = typename Func::ReturnType;
 1489     return this->template addHandlerImpl<Func>(std::move(Handler));
 1652     static const bool value = std::is_same<F, Func>::value |
 1653                               APICalls<Funcs...>::template Contains<F>::value;
 1658     if (auto Err = R.template negotiateFunction<Func>())
 1681     return APICalls<Funcs...>::negotiate(R);
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
  143   class CustomType : public Function<CustomType, RPCFoo(RPCFoo)> {
  536       Server.addHandler<DummyRPCAPI::CustomType>(
  554     auto Err = Client.callAsync<DummyRPCAPI::CustomType>(
  579       Server.addHandler<DummyRPCAPI::CustomType>(
  597     auto Err = Client.callAsync<DummyRPCAPI::CustomType>(
  825   using DummyCalls3 = APICalls<DummyCalls1, DummyRPCAPI::CustomType>;
  826   using DummyCallsAll = APICalls<DummyCalls1, DummyCalls2, DummyRPCAPI::CustomType>;
  830   static_assert(!DummyCalls1::Contains<DummyRPCAPI::CustomType>::value,
  841       Server.addHandler<DummyRPCAPI::CustomType>([](RPCFoo F) {});