Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h84 typename... ArgTs>
85 class FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)> {
141 template <typename FunctionIdT, FunctionIdT FuncId, typename... ArgTs>
142 class FunctionHelper<FunctionIdT, FuncId, void(ArgTs...)> {
192 FunctionIdT FuncId, typename RetT, typename... ArgTs>
194 FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)>> {
197 const ArgTs &... Args) { in call()
211 FunctionIdT FuncId, typename RetT, typename... ArgTs>
213 FunctionHelper<FunctionIdT, FuncId, RetT(ArgTs...)>> {
217 return readAndHandle(C, Handler, llvm::index_sequence_for<ArgTs...>()); in handle()
[all …]
DRPCChannel.h196 template <typename... ArgTs>
197 inline Error serialize(RPCChannel &C, const std::tuple<ArgTs...> &V) { in serialize()
198 return serializeTupleHelper(C, V, llvm::index_sequence_for<ArgTs...>()); in serialize()
209 template <typename... ArgTs>
210 inline Error deserialize(RPCChannel &C, std::tuple<ArgTs...> &V) { in deserialize()
211 return deserializeTupleHelper(C, V, llvm::index_sequence_for<ArgTs...>()); in deserialize()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCUtils.h143 template <typename DerivedFunc, typename RetT, typename... ArgTs>
144 class Function<DerivedFunc, RetT(ArgTs...)> {
147 using Type = RetT(ArgTs...);
158 << "(" << llvm::orc::rpc::RPCTypeNameSequence<ArgTs...>() << ")"; in getPrototype()
205 template <typename RetT, typename... ArgTs>
206 class FunctionArgsTuple<RetT(ArgTs...)> {
209 typename std::remove_reference<ArgTs>::type>::type...>;
457 template <typename ResultT, typename... ArgTs>
458 class AsyncHandlerTraits<Error(std::function<Error(Expected<ResultT>)>, ArgTs...)> {
460 using Type = Error(ArgTs...);
[all …]
DRPCSerialization.h30 template <typename... ArgTs> class RPCTypeNameSequence {};
46 template <typename OStream, typename ArgT1, typename ArgT2, typename... ArgTs>
48 operator<<(OStream &OS, const RPCTypeNameSequence<ArgT1, ArgT2, ArgTs...> &V) {
50 << RPCTypeNameSequence<ArgT2, ArgTs...>();
155 template <typename... ArgTs>
156 class RPCTypeName<std::tuple<ArgTs...>> {
162 << RPCTypeNameSequence<ArgTs...>() << ">"; in getName()
261 template <typename ChannelT, typename... ArgTs>
288 template <typename ChannelT, typename ArgT, typename... ArgTs>
289 class SequenceSerialization<ChannelT, ArgT, ArgTs...> {
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DRPCUtils.h143 template <typename DerivedFunc, typename RetT, typename... ArgTs>
144 class Function<DerivedFunc, RetT(ArgTs...)> {
147 using Type = RetT(ArgTs...);
158 << "(" << llvm::orc::rpc::RPCTypeNameSequence<ArgTs...>() << ")"; in getPrototype()
204 template <typename RetT, typename... ArgTs>
205 class FunctionArgsTuple<RetT(ArgTs...)> {
207 using Type = std::tuple<std::decay_t<std::remove_reference_t<ArgTs>>...>;
455 template <typename ResultT, typename... ArgTs>
456 class AsyncHandlerTraits<Error(std::function<Error(Expected<ResultT>)>, ArgTs...)> {
458 using Type = Error(ArgTs...);
[all …]
DRPCSerialization.h32 template <typename... ArgTs> class RPCTypeNameSequence {};
48 template <typename OStream, typename ArgT1, typename ArgT2, typename... ArgTs>
50 operator<<(OStream &OS, const RPCTypeNameSequence<ArgT1, ArgT2, ArgTs...> &V) {
52 << RPCTypeNameSequence<ArgT2, ArgTs...>();
157 template <typename... ArgTs>
158 class RPCTypeName<std::tuple<ArgTs...>> {
164 << RPCTypeNameSequence<ArgTs...>() << ">"; in getName()
276 template <typename ChannelT, typename... ArgTs>
302 template <typename ChannelT, typename ArgT, typename... ArgTs>
303 class SequenceSerialization<ChannelT, ArgT, ArgTs...> {
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkGeneric.h128 template <typename... ArgTs> static void link(ArgTs &&... Args) { in link()
129 auto L = std::make_unique<LinkerImpl>(std::forward<ArgTs>(Args)...); in link()
DMachOLinkGraphBuilder.h96 template <typename... ArgTs>
97 NormalizedSymbol &createNormalizedSymbol(ArgTs &&... Args) { in createNormalizedSymbol()
100 new (Sym) NormalizedSymbol(std::forward<ArgTs>(Args)...); in createNormalizedSymbol()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.h90 template <typename... ArgTs>
91 NormalizedSymbol &createNormalizedSymbol(ArgTs &&... Args) { in createNormalizedSymbol()
94 new (Sym) NormalizedSymbol(std::forward<ArgTs>(Args)...); in createNormalizedSymbol()
DJITLinkGeneric.h128 template <typename... ArgTs> static void link(ArgTs &&... Args) { in link()
129 auto L = std::make_unique<LinkerImpl>(std::forward<ArgTs>(Args)...); in link()
/external/llvm-project/llvm/include/llvm/ADT/
DAllocatorList.h54 template <class... ArgTs> Node *create(ArgTs &&... Args) { in create()
55 return new (getAlloc()) Node(std::forward<ArgTs>(Args)...); in create()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAllocatorList.h54 template <class... ArgTs> Node *create(ArgTs &&... Args) { in create()
55 return new (getAlloc()) Node(std::forward<ArgTs>(Args)...); in create()
/external/llvm-project/llvm/tools/llvm-exegesis/
Dllvm-exegesis.cpp186 template <typename... ArgTs> static void ExitWithError(ArgTs &&... Args) { in ExitWithError()
187 ExitOnErr(make_error<Failure>(std::forward<ArgTs>(Args)...)); in ExitWithError()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h668 template <typename... ArgTs>
669 Addressable &createAddressable(ArgTs &&... Args) { in createAddressable()
672 new (A) Addressable(std::forward<ArgTs>(Args)...); in createAddressable()
681 template <typename... ArgTs> Block &createBlock(ArgTs &&... Args) { in createBlock()
683 new (B) Block(std::forward<ArgTs>(Args)...); in createBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/JITLink/
DJITLink.h659 template <typename... ArgTs>
660 Addressable &createAddressable(ArgTs &&... Args) { in createAddressable()
663 new (A) Addressable(std::forward<ArgTs>(Args)...); in createAddressable()
672 template <typename... ArgTs> Block &createBlock(ArgTs &&... Args) { in createBlock()
674 new (B) Block(std::forward<ArgTs>(Args)...); in createBlock()
/external/llvm/include/llvm/Support/
DError.h282 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) { in make_error()
283 return Error(llvm::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DError.h303 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) { in make_error()
304 return Error(llvm::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
/external/llvm-project/llvm/include/llvm/Support/
DError.h335 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) { in make_error()
336 return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DError.h330 template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) { in make_error()
331 return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...)); in make_error()
/external/llvm-project/llvm/include/llvm/IR/
DPassManager.h419 typename... ArgTs, size_t... Ns>
422 std::tuple<ArgTs...> Args, in getAnalysisResultUnpackTuple()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPassManager.h418 typename... ArgTs, size_t... Ns>
421 std::tuple<ArgTs...> Args, in getAnalysisResultUnpackTuple()