| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | unique_function.h | 30 template <typename RetT, typename... ArgTs> class Callable { 33 virtual RetT call(ArgTs &&...Args) = 0; 36 template <typename CallableT, typename RetT, typename... ArgTs> 37 class CallableImpl : public Callable<RetT, ArgTs...> { 40 RetT call(ArgTs &&...Args) override { in call() 41 return Callable(std::forward<ArgTs>(Args)...); in call() 52 template <typename RetT, typename... ArgTs> 53 class unique_function<RetT(ArgTs...)> { 65 unique_function_detail::CallableImpl<CallableT, RetT, ArgTs...>>( in unique_function() 68 RetT operator()(ArgTs... Params) { in operator() [all …]
|
| H A D | wrapper_function_utils.h | 106 template <typename SPSArgListT, typename... ArgTs> 107 static WrapperFunctionResult fromSPSArgs(const ArgTs &...Args) { in fromSPSArgs() 154 template <typename RetT, typename... ArgTs, 156 class WrapperFunctionHandlerHelper<RetT(ArgTs...), ResultSerializer, 159 using ArgTuple = std::tuple<std::decay_t<ArgTs>...>; 187 template <typename RetT, typename... ArgTs, 189 class WrapperFunctionHandlerHelper<RetT (*)(ArgTs...), ResultSerializer, 191 : public WrapperFunctionHandlerHelper<RetT(ArgTs...), ResultSerializer, 195 template <typename ClassT, typename RetT, typename... ArgTs, 197 class WrapperFunctionHandlerHelper<RetT (ClassT::*)(ArgTs...), ResultSerializer, [all …]
|
| H A D | error.h | 32 template <typename ErrT, typename... ArgTs> 33 friend Error make_error(ArgTs &&...Args); 131 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&...Args) { in make_error() 134 return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
|
| H A D | simple_packed_serialization.h | 107 template <typename... ArgTs> class SPSArgList; 122 template <typename ArgT, typename... ArgTs> 123 static size_t size(const ArgT &Arg, const ArgTs &...Args) { in size() 128 template <typename ArgT, typename... ArgTs> 130 const ArgTs &...Args) { in serialize() 135 template <typename ArgT, typename... ArgTs> 136 static bool deserialize(SPSInputBuffer &IB, ArgT &Arg, ArgTs &...Args) { in deserialize()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | WrapperFunctionUtils.h | 171 template <typename SPSArgListT, typename... ArgTs> 173 serializeViaSPSToWrapperFunctionResult(const ArgTs &...Args) { in serializeViaSPSToWrapperFunctionResult() 208 template <typename RetT, typename... ArgTs, 210 class WrapperFunctionHandlerHelper<RetT(ArgTs...), ResultSerializer, 213 using ArgTuple = std::tuple<std::decay_t<ArgTs>...>; 241 template <typename RetT, typename... ArgTs, 243 class WrapperFunctionHandlerHelper<RetT (*)(ArgTs...), ResultSerializer, 245 : public WrapperFunctionHandlerHelper<RetT(ArgTs...), ResultSerializer, 249 template <typename ClassT, typename RetT, typename... ArgTs, 251 class WrapperFunctionHandlerHelper<RetT (ClassT::*)(ArgTs...), ResultSerializer, [all …]
|
| H A D | SimplePackedSerialization.h | 109 template <typename... ArgTs> class SPSArgList; 134 template <typename ArgT, typename... ArgTs> 135 static size_t size(const ArgT &Arg, const ArgTs &...Args) { in size() 140 template <typename ArgT, typename... ArgTs> 142 const ArgTs &...Args) { in serialize() 147 template <typename ArgT, typename... ArgTs> 148 static bool deserialize(SPSInputBuffer &IB, ArgT &Arg, ArgTs &...Args) { in deserialize()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkGeneric.h | 113 template <typename... ArgTs> static void link(ArgTs &&... Args) { in link() 114 auto L = std::make_unique<LinkerImpl>(std::forward<ArgTs>(Args)...); in link()
|
| H A D | MachOLinkGraphBuilder.h | 100 template <typename... ArgTs> 101 NormalizedSymbol &createNormalizedSymbol(ArgTs &&... Args) { in createNormalizedSymbol() 104 new (Sym) NormalizedSymbol(std::forward<ArgTs>(Args)...); in createNormalizedSymbol()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 58 template <typename... ArgTs> \ 59 MachOBuilderLoadCommandImplBase(ArgTs &&...Args) \ 60 : CmdStruct{Value, sizeof(CmdStruct), std::forward<ArgTs>(Args)...} {} \ 79 template <typename... ArgTs> 80 MachOBuilderLoadCommand(ArgTs &&...Args) in MachOBuilderLoadCommand() 81 : MachOBuilderLoadCommandImplBase<LCType>(std::forward<ArgTs>(Args)...) {} in MachOBuilderLoadCommand() 296 template <MachO::LoadCommandType LCType, typename... ArgTs> 297 MachOBuilderLoadCommand<LCType> &addLoadCommand(ArgTs &&...Args) { 301 std::forward<ArgTs>(Args)...);
|
| H A D | ExecutorProcessControl.h | 267 typename... ArgTs> 269 SendResultT &&SendResult, const ArgTs &...Args) { in callSPSWrapperAsync() 282 template <typename SPSSignature, typename SendResultT, typename... ArgTs> 284 const ArgTs &...Args) { in callSPSWrapperAsync()
|
| H A D | Core.h | 1639 template <typename SPSSignature, typename SendResultT, typename... ArgTs> 1641 const ArgTs &...Args) { in callSPSWrapperAsync() 1642 EPC->callSPSWrapperAsync<SPSSignature, SendResultT, ArgTs...>( in callSPSWrapperAsync()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | AllocatorList.h | 53 template <class... ArgTs> Node *create(ArgTs &&... Args) { in create() 54 return new (getAlloc()) Node(std::forward<ArgTs>(Args)...); in create()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | JITLink.h | 886 template <typename... ArgTs> 887 Addressable &createAddressable(ArgTs &&... Args) { in createAddressable() 890 new (A) Addressable(std::forward<ArgTs>(Args)...); in createAddressable() 899 template <typename... ArgTs> Block &createBlock(ArgTs &&... Args) { in createBlock() 901 new (B) Block(std::forward<ArgTs>(Args)...); in createBlock()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | PassManager.h | 121 typename... ArgTs, size_t... Ns> 124 std::tuple<ArgTs...> Args, in getAnalysisResultUnpackTuple()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Error.h | 340 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) { in make_error() 341 return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ELFNixPlatform.cpp | 29 template <typename SPSSerializer, typename... ArgTs> 31 getArgDataBufferType(const ArgTs &...Args) { in getArgDataBufferType()
|