Home
last modified time | relevance | path

Searched refs:Callable (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DTaskQueue.h40 template <typename Callable> struct Task {
41 using ResultTy = std::result_of_t<Callable()>;
42 explicit Task(Callable C, TaskQueue &Parent) in Task()
62 Callable C;
80 template <typename Callable>
81 std::future<std::result_of_t<Callable()>> async(Callable &&C) { in async()
86 Task<Callable> T{std::move(C), *this}; in async()
87 using ResultTy = std::result_of_t<Callable()>; in async()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DScopeExit.h25 template <typename Callable> class scope_exit {
26 Callable ExitFunction;
56 template <typename Callable>
57 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
58 make_scope_exit(Callable &&F) { in make_scope_exit()
59 return detail::scope_exit<typename std::decay<Callable>::type>( in make_scope_exit()
60 std::forward<Callable>(F)); in make_scope_exit()
H A DFunctionExtras.h257 UniqueFunctionBase(CallableT Callable, CalledAs<CalledAsT>) {
272 new (CallableAddr) CallableT(std::move(Callable));
371 CallableT Callable,
374 : Base(std::forward<CallableT>(Callable),
397 CallableT Callable,
400 : Base(std::forward<CallableT>(Callable),
H A DSTLExtras.h96 template <typename Callable, typename... Args>
98 decltype(std::declval<Callable &>()(std::declval<Args>()...));
102 template <typename Callable, typename... Args>
103 using is_invocable = is_detected<detail::is_invocable, Callable, Args...>;
175 template<typename Callable>
177 return (*reinterpret_cast<Callable*>(callable))(
185 template <typename Callable>
187 Callable &&callable,
189 std::enable_if_t<!std::is_same<remove_cvref_t<Callable>,
193 std::is_convertible<decltype(std::declval<Callable>()(
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-xray/
H A Dtrie-node.h47 template <typename T, typename Callable>
53 Callable &&MergeCallable) { in mergeTrieNodes()
55 std::forward<Callable>(MergeCallable)); in mergeTrieNodes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
37 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
63 Flags |= JITSymbolFlags::Callable; in fromSummary()
88 Flags |= JITSymbolFlags::Callable; in fromObjectSymbol()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithLazyReexports/
H A DLLJITWithLazyReexports.cpp137 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
140 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/lsan/
H A Dlsan_allocator.h30 template<typename Callable>
31 void ForEachChunk(const Callable &callback);
/netbsd-src/external/apache2/llvm/dist/llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl/
H A DLLJITWithTargetProcessControl.cpp169 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
172 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h86 Callable = 1U << 5, enumerator
149 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_allocator.h32 template<typename Callable>
33 void ForEachChunk(const Callable &callback);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/lsan/
H A Dlsan_allocator.h31 template<typename Callable>
32 void ForEachChunk(const Callable &callback);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp79 template <typename Callable>
82 Callable Func) { in foreachUnit()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/thread/
H A Dcontext.d26 struct Callable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h236 template <typename Callable>
237 inline ASTEdit withMetadata(ASTEdit Edit, Callable Metadata) { in withMetadata()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h76 template <typename Callable>
79 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action); in CallbackFn()
83 template <typename Callable>
85 Callable &&CodeGen,
86 std::enable_if_t<!std::is_same<std::remove_reference_t<Callable>,
89 Callback(CallbackFn<std::remove_reference_t<Callable>>), in CodeGen()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp63 Flags |= JITSymbolFlags::Callable; in scanLinkGraph()
216 Flags |= JITSymbolFlags::Callable; in notifyResolved()
235 Flags |= JITSymbolFlags::Callable; in notifyResolved()
H A DOrcV2CBindings.cpp226 JSF |= JITSymbolFlags::Callable; in toJITSymbolFlags()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h1893 template <typename Callable, typename InnerMatcher>
1896 ResultOfMatcher(Callable callable, InnerMatcher matcher)
1898 CallableTraits<Callable>::CheckIsValid(callable_);
1907 typedef typename CallableTraits<Callable>::StorageType CallableStorageType;
1911 using ResultType = decltype(CallableTraits<Callable>::template Invoke<T>(
1936 CallableTraits<Callable>::template Invoke<T>(callable_, obj);
3826 template <typename Callable, typename InnerMatcher>
3827 internal::ResultOfMatcher<Callable, InnerMatcher> ResultOf(
3828 Callable callable, InnerMatcher matcher) {
3829 return internal::ResultOfMatcher<Callable, InnerMatcher>(
/netbsd-src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h109 JITSymbolFlags(JITSymbolFlags::Exported | JITSymbolFlags::Callable); in getInterface()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dmutex182 template<class Callable, class ...Args>
183 void call_once(once_flag& flag, Callable&& func, Args&&... args);
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dfunctional.d754 static struct Callable struct
760 Callable callable; argument
761 assert(partial!(Callable, "5")("6") == "56");
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Dtraits.d640 class Callable { int opCall(int) { return 0; } } in opCall()
641 auto call = new Callable;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp351 template <typename Callable>
352 bool simplifyInstruction(Instruction &I, Callable Evaluate);
1238 template <typename Callable>
1239 bool CallAnalyzer::simplifyInstruction(Instruction &I, Callable Evaluate) { in simplifyInstruction()
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dfunctional.d844 static struct Callable struct
850 Callable callable; argument
851 assert(partial!(Callable, "5")("6") == "56");

12