| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | AvoidBindCheck.cpp | 104 CallableInfo Callable; member 278 if (!Callable.Decl || ArgIndex < Callable.Decl->getNumParams() || in buildBindArguments() 559 LP.Callable.Decl = in getLambdaProperties() 560 getCallMethodDecl(Result, LP.Callable.Type, LP.Callable.Materialization); in getLambdaProperties() 563 LP.Callable.CE = CE_Var; in getLambdaProperties() 564 LP.Callable.CM = CM_ByValue; in getLambdaProperties() 571 LP.Callable.CM = CM_ByValue; in getLambdaProperties() 613 CaptureSet, "", LP.Callable.CM, LP.Callable.CE, in emitCaptureList() 614 LP.Callable.CaptureIdentifier, LP.Callable.CaptureInitializer, Stream); in emitCaptureList() 696 switch (LP.Callable.CE) { in check() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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 | STLFunctionalExtras.h | 43 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<typename std::remove_reference<Callable>::type>), in callback()
|
| H A D | FunctionExtras.h | 263 UniqueFunctionBase(CallableT Callable, CalledAs<CalledAsT>) { 278 new (CallableAddr) CallableT(std::move(Callable)); 377 CallableT Callable, 380 : Base(std::forward<CallableT>(Callable), 403 CallableT Callable, 406 : Base(std::forward<CallableT>(Callable),
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cxx-uninitialized-object.cpp | 748 template <class Callable> 750 Callable functor; 764 template <class Callable> 766 Callable functor; 779 template <class Callable> 781 Callable functor; 794 Callable functor; 817 Callable functor; 840 Callable functor; 856 Callable functor; [all …]
|
| H A D | malloc-bodyfarms.cpp | 8 template <class Callable, class... Args> 9 void call_once(once_flag &o, Callable&& func, Args&&... args);
|
| H A D | call_once.cpp | 43 template <class Callable, class... Args> 44 void call_once(once_flag &o, Callable&& func, Args&&... args) {}; in call_once() 46 template <class Callable, class... Args> // libcxx03 call_once 47 void call_once(once_flag &o, Callable func, Args&&... args) {}; in call_once()
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | ScopeExitTest.cpp | 17 struct Callable { in TEST() struct 19 Callable(bool &Called) : Called(Called) {} in TEST() argument 20 Callable(Callable &&RHS) : Called(RHS.Called) {} in TEST() argument 25 auto g = make_scope_exit(Callable(Called)); in TEST()
|
| /llvm-project-15.0.7/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/ |
| H A D | p4.cpp | 154 struct Callable { void operator()(S); }; struct 155 static struct Callable Callable; variable 160 Callable(s); // expected-error {{use of undeclared}} in test()
|
| /llvm-project-15.0.7/libc/utils/UnitTest/ |
| H A D | FPExceptMatcher.h | 33 struct Callable : public FunctionCaller { in getFunctionCaller() struct 35 explicit Callable(Func theFunc) : f(theFunc) {} in getFunctionCaller() argument 39 return new Callable(func); in getFunctionCaller()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/ |
| H A D | ranges.for_each.pass.cpp | 28 struct Callable { struct 33 concept HasForEachIt = requires (Iter iter, Sent sent) { std::ranges::for_each(iter, sent, Callable… 45 static_assert(HasForEachItFunc<Callable>); 50 concept HasForEachR = requires (Range range) { std::ranges::for_each(range, Callable{}); }; 62 static_assert(HasForEachRFunc<Callable>);
|
| H A D | ranges.for_each_n.pass.cpp | 25 struct Callable { struct 30 concept HasForEachN = requires (Iter iter) { std::ranges::for_each_n(iter, 0, Callable{}); }; 40 static_assert(HasForEachItFunc<Callable>);
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/mlir/utils/mbr/mbr/ |
| H A D | __init__.py | 12 runner: typing.Callable 13 compiler: typing.Optional[typing.Callable] = None
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | stmt-expr-in-default-arg.cpp | 19 template <typename Callable> 20 int bar(Callable &&Call) { in bar()
|
| /llvm-project-15.0.7/clang/test/Analysis/html_diagnostics/relevant_lines/ |
| H A D | synthesized_body.cpp | 7 template <class Callable, class... Args> 8 void call_once(once_flag &o, Callable&& func, Args&&... args);
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/ |
| H A D | robust_against_adl.pass.cpp | 34 struct Callable { struct 51 std::function<void()> i(Callable<Holder<Incomplete>>{}); in main() argument
|
| /llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithLazyReexports/ |
| H A D | LLJITWithLazyReexports.cpp | 137 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main() 140 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
|
| /llvm-project-15.0.7/llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/ |
| H A D | LLJITWithExecutorProcessControl.cpp | 171 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}, in main() 174 JITSymbolFlags::Exported | JITSymbolFlags::Callable}}}); in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/lsan/ |
| H A D | lsan_allocator.h | 31 template<typename Callable> 32 void ForEachChunk(const Callable &callback);
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/ |
| H A D | JITSymbol.h | 86 Callable = 1U << 5, enumerator 149 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
|
| /llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/tools/ |
| H A D | mlir_pytaco_utils.py | 7 from typing import Callable, Dict, Sequence, Tuple 22 _SupportFunc = Callable[..., None] 23 _SupportFuncLocator = Callable[[np.dtype], Tuple[_SupportFunc, _SupportFunc]]
|
| /llvm-project-15.0.7/mlir/include/mlir/Transforms/ |
| H A D | DialectConversion.h | 722 template <typename OpT, class Callable> 724 !llvm::is_invocable<Callable, Operation *>::value>::type 725 addDynamicallyLegalOp(Callable &&callback) { in addDynamicallyLegalOp() 762 template <typename OpT, class Callable> 764 !llvm::is_invocable<Callable, Operation *>::value>::type 765 markOpRecursivelyLegal(Callable &&callback) { in markOpRecursivelyLegal()
|