Home
last modified time | relevance | path

Searched refs:FnT (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DTaskDispatch.h60 GenericNamedTaskImpl(FnT &&Fn, std::string DescBuffer) in GenericNamedTaskImpl()
61 : Fn(std::forward<FnT>(Fn)), Desc(DescBuffer.c_str()), in GenericNamedTaskImpl()
63 GenericNamedTaskImpl(FnT &&Fn, const char *Desc) in GenericNamedTaskImpl()
64 : Fn(std::forward<FnT>(Fn)), Desc(Desc) { in GenericNamedTaskImpl()
71 FnT Fn;
77 template <typename FnT>
78 std::unique_ptr<GenericNamedTask> makeGenericNamedTask(FnT &&Fn, in makeGenericNamedTask()
80 return std::make_unique<GenericNamedTaskImpl<FnT>>(std::forward<FnT>(Fn), in makeGenericNamedTask()
85 template <typename FnT>
87 makeGenericNamedTask(FnT &&Fn, const char *Desc = nullptr) {
[all …]
H A DExecutorProcessControl.h55 template <typename FnT> IncomingWFRHandler(FnT &&Fn) in IncomingWFRHandler()
56 : H(std::forward<FnT>(Fn)) {} in IncomingWFRHandler()
69 template <typename FnT>
70 IncomingWFRHandler operator()(FnT &&Fn) { in operator()
71 return IncomingWFRHandler(std::forward<FnT>(Fn)); in operator()
84 template <typename FnT>
85 IncomingWFRHandler operator()(FnT &&Fn) { in operator()
323 template <typename RunPolicyT, typename FnT>
325 FnT &&OnComplete, ArrayRef<char> ArgBuffer) { in callWrapperAsync()
332 template <typename FnT>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DTableGenBackend.h27 using FnT = void (*)(RecordKeeper &Records, raw_ostream &OS); variable
33 extern ManagedStatic<cl::opt<FnT>, OptCreatorT> Action;
36 Opt(StringRef Name, FnT CB, StringRef Desc, bool ByDefault = false) {
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreadSafeAllocator.h48 template <typename FnT,
49 typename T = typename llvm::function_traits<FnT>::result_t>
50 T applyLocked(FnT Fn) { in applyLocked()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp26 ManagedStatic<cl::opt<FnT>, OptCreatorT> Action;
28 return new cl::opt<FnT>(cl::desc("Action to perform:")); in call()
H A DMain.cpp134 TableGen::Emitter::FnT ActionFn = TableGen::Emitter::Action->getValue(); in TableGenMain()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp208 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec() local
209 if (!FnT) in CheckDistantExceptionSpec()
212 return FnT->hasExceptionSpec(); in CheckDistantExceptionSpec()