| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TaskQueue.h | 40 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ScopeExit.h | 25 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 D | FunctionExtras.h | 257 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 D | STLExtras.h | 96 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 …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | trie-node.h | 47 template <typename T, typename Callable> 53 Callable &&MergeCallable) { in mergeTrieNodes() 55 std::forward<Callable>(MergeCallable)); in mergeTrieNodes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | JITSymbol.cpp | 34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 37 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 63 Flags |= JITSymbolFlags::Callable; in fromSummary() 88 Flags |= JITSymbolFlags::Callable; in fromObjectSymbol()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.h | 31 template<typename Callable> 32 void ForEachChunk(const Callable &callback);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/ |
| H A D | JITSymbol.h | 86 Callable = 1U << 5, enumerator 149 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveRegMatrix.cpp | 79 template <typename Callable> 82 Callable Func) { in foreachUnit()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | RewriteRule.h | 236 template <typename Callable> 237 inline ASTEdit withMetadata(ASTEdit Edit, Callable Metadata) { in withMetadata()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 76 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | ObjectLinkingLayer.cpp | 62 Flags |= JITSymbolFlags::Callable; in scanLinkGraph() 215 Flags |= JITSymbolFlags::Callable; in notifyResolved() 234 Flags |= JITSymbolFlags::Callable; in notifyResolved()
|
| H A D | OrcV2CBindings.cpp | 234 JSF |= JITSymbolFlags::Callable; in toJITSymbolFlags() 249 if (JSF & JITSymbolFlags::Callable) in fromJITSymbolFlags()
|
| H A D | LLJIT.cpp | 474 R.defineMaterializing({{InternedName, JITSymbolFlags::Callable}})) in operator ()()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 112 template <typename Callable> void demangleBackref(Callable Demangler) { in demangleBackref()
|
| /freebsd-13.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 2641 template <typename Callable, typename InnerMatcher> 2644 ResultOfMatcher(Callable callable, InnerMatcher matcher) 2646 CallableTraits<Callable>::CheckIsValid(callable_); 2655 typedef typename CallableTraits<Callable>::StorageType CallableStorageType; 2660 using ResultType = decltype(CallableTraits<Callable>::template Invoke<T>( 2663 typedef typename CallableTraits<Callable>::ResultType ResultType; 2688 CallableTraits<Callable>::template Invoke<T>(callable_, obj); 4575 template <typename Callable, typename InnerMatcher> 4576 internal::ResultOfMatcher<Callable, InnerMatcher> ResultOf( 4577 Callable callable, InnerMatcher matcher) { [all …]
|
| /freebsd-13.1/contrib/llvm-project/libcxx/include/ |
| H A D | mutex | 182 template<class Callable, class ...Args> 183 void call_once(once_flag& flag, Callable&& func, Args&&... args);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 355 template <typename Callable> 356 bool simplifyInstruction(Instruction &I, Callable Evaluate); 1456 template <typename Callable> 1457 bool CallAnalyzer::simplifyInstruction(Instruction &I, Callable Evaluate) { in simplifyInstruction()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.h | 109 Callable, enumerator
|
| H A D | PythonDataObjects.cpp | 174 return PyObjectType::Callable; in GetObjectType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 769 void SymbolTableSection::updateSymbols(function_ref<void(Symbol &)> Callable) { in updateSymbols() argument 771 [Callable](SymPtr &Sym) { Callable(*Sym); }); in updateSymbols()
|
| H A D | Object.h | 706 void updateSymbols(function_ref<void(Symbol &)> Callable);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 1999 void visitDomSubTree(DominatorTree &DT, BasicBlock *BB, CallableT Callable) { in visitDomSubTree() argument 2010 if (!Callable(N->getBlock())) in visitDomSubTree()
|