Home
last modified time | relevance | path

Searched refs:ArgTs (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dunique_function.h30 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 Dwrapper_function_utils.h106 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 Derror.h32 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 Dsimple_packed_serialization.h107 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 DWrapperFunctionUtils.h171 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 DSimplePackedSerialization.h109 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 DJITLinkGeneric.h113 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 DMachOLinkGraphBuilder.h100 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 DMachOBuilder.h58 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 DExecutorProcessControl.h267 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 DCore.h1639 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 DAllocatorList.h53 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 DJITLink.h886 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 DPassManager.h121 typename... ArgTs, size_t... Ns>
124 std::tuple<ArgTs...> Args, in getAnalysisResultUnpackTuple()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h340 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 DELFNixPlatform.cpp29 template <typename SPSSerializer, typename... ArgTs>
31 getArgDataBufferType(const ArgTs &...Args) { in getArgDataBufferType()