| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | TaskQueue.h | 41 template <typename Callable> struct Task { 42 using ResultTy = typename std::result_of<Callable()>::type; 43 explicit Task(Callable C, TaskQueue &Parent) in Task() 63 Callable C; 81 template <typename Callable> 82 std::future<typename std::result_of<Callable()>::type> async(Callable &&C) { in async() 87 Task<Callable> T{std::move(C), *this}; in async() 88 using ResultTy = typename std::result_of<Callable()>::type; in async()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | ScopeExit.h | 26 template <typename Callable> class scope_exit { 27 Callable ExitFunction; 57 template <typename Callable> 58 LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type> 59 make_scope_exit(Callable &&F) { in make_scope_exit() 60 return detail::scope_exit<typename std::decay<Callable>::type>( in make_scope_exit() 61 std::forward<Callable>(F)); in make_scope_exit()
|
| H A D | FunctionExtras.h | 234 template <typename CallableT> unique_function(CallableT Callable) { in unique_function() argument 249 new (CallableAddr) CallableT(std::move(Callable)); in unique_function()
|
| H A D | STLExtras.h | 124 template<typename Callable> 126 return (*reinterpret_cast<Callable*>(callable))( 134 template <typename Callable> 135 function_ref(Callable &&callable, 137 !std::is_same<typename std::remove_reference<Callable>::type, 139 : callback(callback_fn<typename std::remove_reference<Callable>::type>),
|
| /freebsd-12.1/contrib/llvm/tools/llvm-xray/ |
| H A D | trie-node.h | 48 template <typename T, typename Callable> 54 Callable &&MergeCallable) { in mergeTrieNodes() 56 std::forward<Callable>(MergeCallable)); in mergeTrieNodes()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | JITSymbol.cpp | 32 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 35 Flags |= JITSymbolFlags::Callable; in fromGlobalValue() 55 Flags |= JITSymbolFlags::Callable; in fromObjectSymbol()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | SIFormMemoryClauses.cpp | 64 template <typename Callable> 65 void forAllLanes(unsigned Reg, LaneBitmask LaneMask, Callable Func) const; 142 template <typename Callable> 144 Callable Func) const { in forAllLanes()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/ |
| H A D | JITSymbol.h | 68 Callable = 1U << 5, enumerator 148 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
|
| /freebsd-12.1/contrib/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.h | 32 template<typename Callable> 33 void ForEachChunk(const Callable &callback);
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | LiveRegMatrix.cpp | 79 template <typename Callable> 82 Callable Func) { in foreachUnit()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 72 template <typename Callable> 75 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action); in CallbackFn() 79 template <typename Callable> 81 Callable &&CodeGen, 83 !std::is_same<typename std::remove_reference<Callable>::type, 86 Callback(CallbackFn<typename std::remove_reference<Callable>::type>), in CodeGen()
|
| /freebsd-12.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-12.1/contrib/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 200 template <typename Callable> 201 bool simplifyInstruction(Instruction &I, Callable Evaluate); 602 template <typename Callable> 603 bool CallAnalyzer::simplifyInstruction(Instruction &I, Callable Evaluate) { in simplifyInstruction()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | mutex | 183 template<class Callable, class ...Args> 184 void call_once(once_flag& flag, Callable&& func, Args&&... args);
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.h | 68 Callable, enumerator
|
| H A D | PythonDataObjects.cpp | 86 return PyObjectType::Callable; in GetObjectType()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | Object.cpp | 440 void SymbolTableSection::updateSymbols(function_ref<void(Symbol &)> Callable) { in updateSymbols() argument 442 [Callable](SymPtr &Sym) { Callable(*Sym); }); in updateSymbols()
|
| H A D | Object.h | 523 void updateSymbols(function_ref<void(Symbol &)> Callable);
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SimpleLoopUnswitch.cpp | 1852 void visitDomSubTree(DominatorTree &DT, BasicBlock *BB, CallableT Callable) { in visitDomSubTree() argument 1863 if (!Callable(N->getBlock())) in visitDomSubTree()
|