Home
last modified time | relevance | path

Searched refs:function_ref (Results 1 – 11 of 11) sorted by relevance

/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DFunctionRefTest.cpp22 function_ref<int()> X = A; in TEST()
23 function_ref<int()> Y = X; in TEST()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DSTLExtras.h64 template<typename Fn> class function_ref; variable
69 class function_ref<Ret(Params...)> {
81 function_ref(Callable &&callable,
84 function_ref>::value>::type * = nullptr)
95 class function_ref<Ret()> {
106 function_ref(Callable &&callable,
109 function_ref>::value>::type * = nullptr)
116 class function_ref<Ret(Param1)> {
128 function_ref(Callable &&callable,
131 function_ref>::value>::type * = nullptr)
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DCrashRecoveryContext.cpp306 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely()
352 function_ref<void()> Fn;
368 bool CrashRecoveryContext::RunSafelyOnThread(function_ref<void()> Fn, in RunSafelyOnThread()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DCtorUtils.h28 function_ref<bool(Function *)> ShouldRemove);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DCrashRecoveryContext.h79 bool RunSafely(function_ref<void()> Fn);
92 bool RunSafelyOnThread(function_ref<void()>, unsigned RequestedStackSize = 0);
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp120 function_ref<bool(Function *)> ShouldRemove) { in optimizeGlobalCtorsList()
/minix3/external/bsd/llvm/dist/llvm/docs/
H A DProgrammersManual.rst294 The ``function_ref`` class template
297 The ``function_ref``
302 way, ``function_ref`` is to ``std::function`` as ``StringRef`` is to
305 ``function_ref<Ret(Param1, Param2, ...)>`` can be implicitly constructed from
312 void visitBasicBlocks(Function *F, function_ref<bool (BasicBlock*)> Callback) {
328 Note that a ``function_ref`` object contains pointers to external memory, so it
331 using ``std::function``. ``function_ref`` is small enough that it should always
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp6055 llvm::function_ref<ExprResult(Expr *)> ExprFilter;
6133 TransformTypos(Sema &SemaRef, llvm::function_ref<ExprResult(Expr *)> Filter) in TransformTypos()
6238 Expr *E, llvm::function_ref<ExprResult(Expr *)> Filter) { in CorrectDelayedTyposInExpr()
/minix3/external/bsd/llvm/dist/clang/include/clang/Parse/
H A DParser.h1778 llvm::function_ref<void(ParsingFieldDeclarator &)> FieldsCallback);
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DSema.h2736 llvm::function_ref<ExprResult(Expr *)> Filter =
2741 llvm::function_ref<ExprResult(Expr *)> Filter =
/minix3/external/bsd/llvm/dist/clang/lib/Parse/
H A DParseDecl.cpp3371 llvm::function_ref<void(ParsingFieldDeclarator &)> FieldsCallback) { in ParseStructDeclaration()