Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DTaskQueue.h40 template <typename Callable> struct Task {
41 using ResultTy = std::invoke_result_t<Callable>;
42 explicit Task(Callable C, TaskQueue &Parent) in Task()
62 Callable C;
80 template <typename Callable>
81 std::future<std::invoke_result_t<Callable>> async(Callable &&C) { in async()
86 Task<Callable> T{std::move(C), *this}; in async()
87 using ResultTy = std::invoke_result_t<Callable>; in async()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DScopeExit.h26 template <typename Callable> class scope_exit {
27 Callable ExitFunction;
57 template <typename Callable>
58 [[nodiscard]] detail::scope_exit<std::decay_t<Callable>>
59 make_scope_exit(Callable &&F) { in make_scope_exit()
60 return detail::scope_exit<std::decay_t<Callable>>(std::forward<Callable>(F)); in make_scope_exit()
H A DSTLFunctionalExtras.h43 template<typename Callable>
45 return (*reinterpret_cast<Callable*>(callable))( in callback_fn()
53 template <typename Callable>
55 Callable &&callable,
57 std::enable_if_t<!std::is_same<remove_cvref_t<Callable>,
61 std::is_convertible<decltype(std::declval<Callable>()(
64 : callback(callback_fn<std::remove_reference_t<Callable>>), in callback() argument
H A DFunctionExtras.h262 UniqueFunctionBase(CallableT Callable, CalledAs<CalledAsT>) {
277 new (CallableAddr) CallableT(std::move(Callable));
376 CallableT Callable,
379 : Base(std::forward<CallableT>(Callable),
402 CallableT Callable,
405 : Base(std::forward<CallableT>(Callable),
H A DSTLExtras.h225 class Callable {
236 Callable() = default;
237 Callable(T const &O) : Obj(std::in_place, O) {}
239 Callable(Callable const &Other) = default;
240 Callable(Callable &&Other) = default;
242 Callable &operator=(Callable const &Other) {
249 Callable &operator=(Callable &&Other) {
277 template <typename T> class Callable<T, true> {
298 Callable() = default;
310 Callable(FnPtrOrRef &&F) : Func(convertIn(F)) {}
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithLazyReexports/
H A DLLJITWithLazyReexports.cpp137 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
140 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/openbsd/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/
H A DLLJITWithExecutorProcessControl.cpp171 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main()
174 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
/openbsd/gnu/llvm/compiler-rt/lib/lsan/
H A Dlsan_allocator.h31 template<typename Callable>
32 void ForEachChunk(const Callable &callback);
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h86 Callable = 1U << 5, enumerator
149 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp79 template <typename Callable>
82 Callable Func) { in foreachUnit()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DHLSLRuntime.h50 ENUM_COMPARE_ASSERT(Callable)
H A DLangOptions.h74 Callable, enumerator
/openbsd/gnu/llvm/lldb/include/lldb/DataFormatters/
H A DTypeCategory.h187 template <typename Callable> ForEachCallback(Callable c) : callback(c) {} in ForEachCallback()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h74 template <typename Callable>
77 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action); in CallbackFn()
81 template <typename Callable>
83 Callable &&CodeGen,
84 std::enable_if_t<!std::is_same<std::remove_reference_t<Callable>,
87 Callback(CallbackFn<std::remove_reference_t<Callable>>), in CodeGen()
/openbsd/gnu/llvm/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h243 template <typename Callable>
244 inline ASTEdit withMetadata(ASTEdit Edit, Callable Metadata) { in withMetadata()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DObjectLinkingLayer.cpp56 Flags |= JITSymbolFlags::Callable; in scanLinkGraph()
195 Flags |= JITSymbolFlags::Callable; in notifyResolved()
215 Flags |= JITSymbolFlags::Callable; in notifyResolved()
H A DObjectFileInterface.cpp211 *SymFlags |= JITSymbolFlags::Callable; in getCOFFObjectFileSymbolInfo()
H A DOrcV2CBindings.cpp158 JSF |= JITSymbolFlags::Callable; in toJITSymbolFlags()
173 if (JSF & JITSymbolFlags::Callable) in fromJITSymbolFlags()
/openbsd/gnu/llvm/llvm/docs/
H A DDirectXUsage.rst63 ``callable`` Callable shader (ray tracing)
/openbsd/gnu/llvm/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A DKaleidoscopeJIT.h109 JITSymbolFlags(JITSymbolFlags::Exported | JITSymbolFlags::Callable); in getInterface()
/openbsd/gnu/llvm/llvm/lib/Demangle/
H A DRustDemangle.cpp112 template <typename Callable> void demangleBackref(Callable Demangler) { in demangleBackref()
/openbsd/gnu/llvm/libcxx/include/
H A Dmutex182 template<class Callable, class ...Args>
183 void call_once(once_flag& flag, Callable&& func, Args&&... args);
/openbsd/gnu/llvm/llvm/lib/TargetParser/
H A DTriple.cpp290 case Callable: return "callable"; in getEnvironmentTypeName()
640 .StartsWith("callable", Triple::Callable) in parseEnvironment()
1918 static_assert(Triple::Callable - Triple::Pixel == 12,

12