LLVM 24.0.0git
LookupAndApply.h File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::orc

Typedefs

using llvm::orc::LookupApplyFn = unique_function<void(const SymbolMap &M)>
 Acts on the result of a completed lookup.
using llvm::orc::LookupPrepareFn
 Contributes symbols to a lookup, and returns the function that will act on the result.

Functions

LLVM_ABI void llvm::orc::lookupAndApply (unique_function< void(Error)> OnApplied, ExecutionSession &ES, LookupKind K, const JITDylibSearchOrder &SearchOrder, ArrayRef< LookupPrepareFn > PrepareFns)
 Resolve the symbols contributed by every prepare function with a single lookup, then let each of their applicators act on the result.
LLVM_ABI Error llvm::orc::lookupAndApply (ExecutionSession &ES, LookupKind K, const JITDylibSearchOrder &SearchOrder, ArrayRef< LookupPrepareFn > PrepareFns)
 Blocking version of lookupAndApply above.
LLVM_ABI void llvm::orc::lookupAndApply (unique_function< void(Error)> OnApplied, JITDylib &JD, ArrayRef< LookupPrepareFn > PrepareFns)
 lookupAndApply with a static lookup in the given JITDylib.
LLVM_ABI Error llvm::orc::lookupAndApply (JITDylib &JD, ArrayRef< LookupPrepareFn > PrepareFns)
 lookupAndApply with a static lookup in the given JITDylib.
LookupPrepareFn llvm::orc::recordAddr (StringRef Name, ExecutorAddr *A, SymbolLookupFlags LF=SymbolLookupFlags::RequiredSymbol)
 Records the address of the symbol with the given name.