Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DTaskDispatch.h59 template <typename FnT> class GenericNamedTaskImpl : public GenericNamedTask {
61 GenericNamedTaskImpl(FnT &&Fn, std::string DescBuffer) in GenericNamedTaskImpl()
62 : Fn(std::forward<FnT>(Fn)), Desc(DescBuffer.c_str()), in GenericNamedTaskImpl()
64 GenericNamedTaskImpl(FnT &&Fn, const char *Desc) in GenericNamedTaskImpl()
65 : Fn(std::forward<FnT>(Fn)), Desc(Desc) { in GenericNamedTaskImpl()
72 FnT Fn;
78 template <typename FnT>
79 std::unique_ptr<GenericNamedTask> makeGenericNamedTask(FnT &&Fn, in makeGenericNamedTask()
81 return std::make_unique<GenericNamedTaskImpl<FnT>>(std::forward<FnT>(Fn), in makeGenericNamedTask()
86 template <typename FnT>
[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()
341 template <typename RunPolicyT, typename FnT>
343 FnT &&OnComplete, ArrayRef<char> ArgBuffer) { in callWrapperAsync()
345 WrapperFnAddr, Runner(std::forward<FnT>(OnComplete)), ArgBuffer); in callWrapperAsync()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DTableGenBackend.h27 using FnT = void (*)(RecordKeeper &Records, raw_ostream &OS);
33 extern ManagedStatic<cl::opt<FnT>, OptCreatorT> Action;
36 Opt(StringRef Name, FnT CB, StringRef Desc, bool ByDefault = false) {
26 using FnT = void (*)(RecordKeeper &Records, raw_ostream &OS); global() variable
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackend.cpp26 ManagedStatic<cl::opt<FnT>, OptCreatorT> Action; in call()
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/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp199 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec() local
200 if (!FnT) in CheckDistantExceptionSpec()
203 return FnT->hasExceptionSpec(); in CheckDistantExceptionSpec()