Home
last modified time | relevance | path

Searched refs:unique_function (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFunctionExtras.h57 template <typename FunctionT> class unique_function; variable
364 class unique_function<R(P...)> : public detail::UniqueFunctionBase<R, P...> {
368 unique_function() = default;
369 unique_function(std::nullptr_t) {}
370 unique_function(unique_function &&) = default;
371 unique_function(const unique_function &) = delete;
372 unique_function &operator=(unique_function &&) = default;
373 unique_function &operator=(const unique_function &) = delete;
376 unique_function(
378 detail::EnableUnlessSameType<CallableT, unique_function> * = nullptr,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassInstrumentation.h167 SmallVector<llvm::unique_function<BeforePassFunc>, 4>
170 SmallVector<llvm::unique_function<BeforeSkippedPassFunc>, 4>
173 SmallVector<llvm::unique_function<BeforeNonSkippedPassFunc>, 4>
176 SmallVector<llvm::unique_function<AfterPassFunc>, 4> AfterPassCallbacks;
178 SmallVector<llvm::unique_function<AfterPassInvalidatedFunc>, 4>
181 SmallVector<llvm::unique_function<BeforeAnalysisFunc>, 4>
184 SmallVector<llvm::unique_function<AfterAnalysisFunc>, 4>
187 SmallVector<llvm::unique_function<AnalysisInvalidatedFunc>, 4>
190 SmallVector<llvm::unique_function<AnalysesClearedFunc>, 4>
193 SmallVector<llvm::unique_function<void ()>, 4> ClassToPassNameCallbacks;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
H A DSimpleRemoteEPCServer.h38 using ReportErrorFunction = unique_function<void(Error)>;
44 virtual void dispatch(unique_function<void()> Work) = 0;
51 void dispatch(unique_function<void()> Work) override;
83 void setErrorReporter(unique_function<void(Error)> ReportError) { in setErrorReporter()
99 Create(unique_function<Error(Setup &S)> SetupFunction, in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMemoryMapper.h44 using OnReservedFunction = unique_function<void(Expected<ExecutorAddrRange>)>;
55 using OnInitializedFunction = unique_function<void(Expected<ExecutorAddr>)>;
66 using OnDeinitializedFunction = unique_function<void(Error)>;
73 using OnReleasedFunction = unique_function<void(Error)>;
H A DMachOPlatform.h90 unique_function<std::unique_ptr<MaterializationUnit>(MachOPlatform &MOP,
289 unique_function<void(Expected<ExecutorAddr>)>;
291 unique_function<void(Expected<StringRef>)>;
293 unique_function<void(Expected<MachOJITDylibDepInfoMap>)>;
294 using SendSymbolAddressFn = unique_function<void(Expected<ExecutorAddr>)>;
295 using PushSymbolsInSendResultFn = unique_function<void(Error)>;
H A DCOFFPlatform.h38 unique_function<Error(JITDylib &JD, StringRef DLLFileName)>;
87 unique_function<void(Expected<COFFJITDylibDepInfoMap>)>;
88 using SendSymbolAddressFn = unique_function<void(Expected<ExecutorAddr>)>;
H A DELFNixPlatform.h182 unique_function<void(Expected<ELFNixJITDylibInitializerSequence>)>;
185 unique_function<void(Expected<ELFNixJITDylibDeinitializerSequence>)>;
187 using SendSymbolAddressFn = unique_function<void(Expected<ExecutorAddr>)>;
H A DLazyReexports.h41 unique_function<Error(ExecutorAddr ResolvedAddr)>;
88 using NotifyTargetResolved = unique_function<void(ExecutorAddr)>;
H A DSimpleRemoteEPC.h44 unique_function<CreateMemoryManagerFn> CreateMemoryManager;
45 unique_function<CreateMemoryAccessFn> CreateMemoryAccess;
H A DLLJIT.h309 unique_function<Expected<JITDylibSP>(LLJIT &J)>;
311 using PlatformSetupFunction = unique_function<Expected<JITDylibSP>(LLJIT &J)>;
323 unique_function<Error(LLJIT &)> PrePlatformSetup;
432 setPrePlatformSetup(unique_function<Error(LLJIT &)> PrePlatformSetup) { in setPrePlatformSetup()
H A DIRTransformLayer.h29 using TransformFunction = unique_function<Expected<ThreadSafeModule>(
H A DLookupAndRecordAddrs.h45 unique_function<void(Error)> OnRecorded, ExecutionSession &ES, LookupKind K,
H A DEPCDynamicLibrarySearchGenerator.h27 using SymbolPredicate = unique_function<bool(const SymbolStringPtr &)>;
28 using AddAbsoluteSymbolsFn = unique_function<Error(JITDylib &, SymbolMap)>;
H A DExecutionUtils.h219 using AddAbsoluteSymbolsFn = unique_function<Error(JITDylib &, SymbolMap)>;
273 unique_function<Expected<MaterializationUnit::Interface>(
H A DEPCGenericDylibManager.h71 unique_function<void(Expected<std::vector<ExecutorSymbolDef>>)>;
H A DExecutorProcessControl.h58 unique_function<void(shared::WrapperFunctionResult)> H;
104 using WriteResultFn = unique_function<void(Error)>;
303 unique_function<void(Expected<std::vector<tpctypes::LookupResult>>)>;
H A DCore.h399 using SymbolsResolvedCallback = unique_function<void(Expected<SymbolMap>)>;
1394 lookupInitSymbolsAsync(unique_function<void(Error)> OnComplete,
1441 using ErrorReporter = unique_function<void(Error)>;
1444 using SendResultFunction = unique_function<void(shared::WrapperFunctionResult)>;
1448 using JITDispatchHandlerFunction = unique_function<void(
1572 unique_function<void(Expected<SymbolFlagsMap>)> OnComplete);
1804 unique_function<void(Expected<SymbolFlagsMap>)> OnComplete);
H A DRTDyldObjectLinkingLayer.h52 unique_function<std::unique_ptr<RuntimeDyld::MemoryManager>()>;
H A DIndirectionUtils.h66 unique_function<void(ExecutorAddr) const>;
68 using ResolveLandingFunction = unique_function<void(
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h291 unique_function<Error(const object::ObjectFile &Obj, LoadedObjectInfo &,
294 unique_function<void(object::OwningBinary<object::ObjectFile> O,
317 unique_function<Error(const object::ObjectFile &Obj,
321 unique_function<void(object::OwningBinary<object::ObjectFile>,
H A DJITSymbol.h267 using GetAddressFtor = unique_function<Expected<JITTargetAddress>()>;
375 using OnResolvedFunction = unique_function<void(Expected<LookupResult>)>;
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h120 using OnFinalizedFunction = unique_function<void(Expected<FinalizedAlloc>)>;
121 using OnAbandonedFunction = unique_function<void(Error)>;
146 using OnAllocatedFunction = unique_function<void(AllocResult)>;
149 using OnDeallocatedFunction = unique_function<void(Error)>;
317 using OnCreatedFunction = unique_function<void(Expected<SimpleSegmentAlloc>)>;
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h97 llvm::unique_function<bool(Editline *, StringList &)>;
100 llvm::unique_function<int(Editline *, StringList &, int)>;
103 llvm::unique_function<std::optional<std::string>(llvm::StringRef)>;
105 using CompleteCallbackType = llvm::unique_function<void(CompletionRequest &)>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Linker/
H A DIRMover.h67 llvm::unique_function<void(GlobalValue &GV, ValueAdder Add)>;
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DLookupAndRecordAddrs.cpp17 unique_function<void(Error)> OnRecorded, ExecutionSession &ES, LookupKind K, in lookupAndRecordAddrs()

12