Searched refs:RuntimeDyld (Results 1 - 25 of 56) sorted by relevance

123

/external/llvm/lib/ExecutionEngine/Orc/
H A DNullResolver.cpp17 RuntimeDyld::SymbolInfo NullResolver::findSymbol(const std::string &Name) {
21 RuntimeDyld::SymbolInfo
H A DOrcMCJITReplacement.h80 void notifyObjectLoaded(RuntimeDyld &RTDyld,
114 class LinkingResolver : public RuntimeDyld::SymbolResolver {
118 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override {
122 RuntimeDyld::SymbolInfo
136 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver,
149 std::shared_ptr<RuntimeDyld::SymbolResolver> ClientResolver,
196 RuntimeDyld::SymbolInfo findSymbol(StringRef Name) {
246 RuntimeDyld::SymbolInfo findMangledSymbol(StringRef Name) {
290 typedef std::vector<std::unique_ptr<RuntimeDyld::LoadedObjectInfo>>
349 std::shared_ptr<RuntimeDyld
[all...]
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DNullResolver.h10 // Defines a RuntimeDyld::SymbolResolver subclass that rejects all symbol
18 #include "llvm/ExecutionEngine/RuntimeDyld.h"
25 class NullResolver : public RuntimeDyld::SymbolResolver {
27 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) final;
29 RuntimeDyld::SymbolInfo
H A DLambdaResolver.h10 // Defines a RuntimeDyld::SymbolResolver subclass that uses a user-supplied
19 #include "llvm/ExecutionEngine/RuntimeDyld.h"
26 class LambdaResolver : public RuntimeDyld::SymbolResolver {
34 RuntimeDyld::SymbolInfo
39 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) final {
H A DJITSymbol.h18 #include "llvm/ExecutionEngine/RuntimeDyld.h"
56 /// @brief Create a JITSymbol from a RuntimeDyld::SymbolInfo.
57 JITSymbol(const RuntimeDyld::SymbolInfo &Sym)
74 /// @brief Convert this JITSymbol to a RuntimeDyld::SymbolInfo.
75 RuntimeDyld::SymbolInfo toRuntimeDyldSymbol() {
76 return RuntimeDyld::SymbolInfo(getAddress(), getFlags());
H A DObjectLinkingLayer.h63 StringMap<RuntimeDyld::SymbolInfo> SymbolTable;
121 RuntimeDyld RTDyld(*MemMgr, *PFC->Resolver);
168 std::make_pair(*SymbolName, RuntimeDyld::SymbolInfo(0, Flags)));
172 void updateSymbolTable(const RuntimeDyld &RTDyld) {
178 // memory manager, resolver, and flags needed for RuntimeDyld.
191 RuntimeDyld *RTDyld;
217 /// RuntimeDyld::LoadedObjectInfo instances.
218 typedef std::vector<std::unique_ptr<RuntimeDyld::LoadedObjectInfo>>
252 auto Finalizer = [&](ObjSetHandleT H, RuntimeDyld &RTDyld,
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h1 //===-- RuntimeDyld.h - Run-time dynamic linker for MC-JIT ------*- C++ -*-===//
25 // RuntimeDyld clients often want to handle the memory management of
29 // FIXME: As the RuntimeDyld fills out, additional routines will be needed
49 class RuntimeDyld { class in namespace:llvm
50 RuntimeDyld(const RuntimeDyld &); // DO NOT IMPLEMENT
51 void operator=(const RuntimeDyld &); // DO NOT IMPLEMENT
53 // RuntimeDyldImpl is the actual class. RuntimeDyld is just the public
58 RuntimeDyld(RTDyldMemoryManager*);
59 ~RuntimeDyld();
[all...]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
H A DMakefile11 PARALLEL_DIRS = Interpreter JIT MCJIT RuntimeDyld
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.h30 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
35 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
36 RuntimeDyld::SymbolResolver &Resolver);
39 RuntimeDyldCOFF(RuntimeDyld::MemoryManager &MemMgr,
40 RuntimeDyld::SymbolResolver &Resolver)
H A DRuntimeDyldCOFF.cpp30 : public RuntimeDyld::LoadedObjectInfoHelper<LoadedCOFFObjectInfo> {
46 RuntimeDyld::MemoryManager &MemMgr,
47 RuntimeDyld::SymbolResolver &Resolver) {
59 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
H A DRuntimeDyldMachO.h52 RuntimeDyldMachO(RuntimeDyld::MemoryManager &MemMgr,
53 RuntimeDyld::SymbolResolver &Resolver)
126 RuntimeDyld::MemoryManager &MemMgr,
127 RuntimeDyld::SymbolResolver &Resolver);
129 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
154 RuntimeDyldMachOCRTPBase(RuntimeDyld::MemoryManager &MemMgr,
155 RuntimeDyld::SymbolResolver &Resolver)
H A DRuntimeDyld.cpp1 //===-- RuntimeDyld.cpp - Run-time dynamic linker for MC-JIT ----*- C++ -*-===//
14 #include "llvm/ExecutionEngine/RuntimeDyld.h"
46 case GenericRTDyldError: return "Generic RuntimeDyld error";
70 void RuntimeDyld::LoadedObjectInfo::anchor() {}
879 // RuntimeDyld::resolveRelocations().
961 // RuntimeDyld class implementation
963 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress(
973 void RuntimeDyld::MemoryManager::anchor() {}
974 void RuntimeDyld::SymbolResolver::anchor() {}
976 RuntimeDyld function in class:llvm::RuntimeDyld
[all...]
H A DRuntimeDyldCheckerImpl.h1 //===-- RuntimeDyldCheckerImpl.h -- RuntimeDyld test framework --*- C++ -*-===//
24 RuntimeDyldCheckerImpl(RuntimeDyld &RTDyld, MCDisassembler *Disassembler,
67 RuntimeDyld &RTDyld;
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp1 //===-- RuntimeDyld.cpp - Run-time dynamic linker for MC-JIT ------*- C++ -*-===//
55 // RuntimeDyld class implementation
56 RuntimeDyld::RuntimeDyld(RTDyldMemoryManager *mm) { function in class:llvm::RuntimeDyld
61 RuntimeDyld::~RuntimeDyld() {
65 bool RuntimeDyld::loadObject(MemoryBuffer *InputBuffer) {
79 void *RuntimeDyld::getSymbolAddress(StringRef Name) {
83 void RuntimeDyld::resolveRelocations() {
87 void RuntimeDyld
[all...]
/external/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyldChecker.h1 //===---- RuntimeDyldChecker.h - RuntimeDyld tester framework -----*- C++ -*-=//
24 class RuntimeDyld;
28 /// \brief RuntimeDyld invariant checker for verifying that RuntimeDyld has
32 /// RuntimeDyld instance to verify that relocations have been applied
71 RuntimeDyldChecker(RuntimeDyld &RTDyld, MCDisassembler *Disassembler,
76 RuntimeDyld& getRTDyld();
79 const RuntimeDyld& getRTDyld() const;
81 /// \brief Check a single expression against the attached RuntimeDyld
H A DRTDyldMemoryManager.h17 #include "RuntimeDyld.h"
30 class MCJITMemoryManager : public RuntimeDyld::MemoryManager {
33 // Don't hide the notifyObjectLoaded method from RuntimeDyld::MemoryManager.
34 using RuntimeDyld::MemoryManager::notifyObjectLoaded;
50 // RuntimeDyld clients often want to handle the memory management of
54 // FIXME: As the RuntimeDyld fills out, additional routines will be needed
57 public RuntimeDyld::SymbolResolver {
90 /// This method returns a RuntimeDyld::SymbolInfo for the specified function
96 /// RuntimeDyld.
100 /// necessary for RuntimeDyld t
[all...]
H A DRuntimeDyld.h1 //===-- RuntimeDyld.h - Run-time dynamic linker for MC-JIT ------*- C++ -*-===//
35 /// Base class for errors originating in RuntimeDyld, e.g. missing relocation
51 class RuntimeDyld { class in namespace:llvm
54 RuntimeDyld(const RuntimeDyld &) = delete;
55 void operator=(const RuntimeDyld &) = delete;
113 friend class RuntimeDyld;
120 /// RuntimeDyld instance, and optionally recorded by the memory manager to
184 virtual void notifyObjectLoaded(RuntimeDyld &RTDyld,
207 /// This method will be queried by RuntimeDyld whe
[all...]
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/
H A DMakefile21 LINK_COMPONENTS := $(TARGETS_TO_BUILD) support MC object RuntimeDyld JIT
/external/llvm/unittests/ExecutionEngine/Orc/
H A DLazyEmittingLayerTest.cpp19 std::unique_ptr<llvm::RuntimeDyld::MemoryManager> MemMgr,
20 std::unique_ptr<llvm::RuntimeDyld::SymbolResolver> Resolver) {
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h19 #include "llvm/ExecutionEngine/RuntimeDyld.h"
29 class LinkingSymbolResolver : public RuntimeDyld::SymbolResolver {
32 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver)
35 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override;
38 RuntimeDyld::SymbolInfo
45 std::shared_ptr<RuntimeDyld::SymbolResolver> ClientResolver;
71 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver);
184 RuntimeDyld Dyld;
308 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver,
313 RuntimeDyld
[all...]
/external/llvm/tools/lli/
H A DRemoteJITUtils.h82 void setMemMgr(std::unique_ptr<RuntimeDyld::MemoryManager> MemMgr) {
86 void setResolver(std::unique_ptr<RuntimeDyld::SymbolResolver> Resolver) {
129 void notifyObjectLoaded(RuntimeDyld &RTDyld,
137 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override {
141 RuntimeDyld::SymbolInfo
147 std::unique_ptr<RuntimeDyld::MemoryManager> MemMgr;
148 std::unique_ptr<RuntimeDyld::SymbolResolver> Resolver;
H A DOrcLazyJIT.h92 return RuntimeDyld::SymbolInfo(Addr, JITSymbolFlags::Exported);
94 return RuntimeDyld::SymbolInfo(nullptr);
97 return RuntimeDyld::SymbolInfo(nullptr);
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A DKaleidoscopeJIT.h19 #include "llvm/ExecutionEngine/RuntimeDyld.h"
66 return RuntimeDyld::SymbolInfo(nullptr);
71 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported);
72 return RuntimeDyld::SymbolInfo(nullptr);
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A DKaleidoscopeJIT.h19 #include "llvm/ExecutionEngine/RuntimeDyld.h"
76 return RuntimeDyld::SymbolInfo(nullptr);
81 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported);
82 return RuntimeDyld::SymbolInfo(nullptr);
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A DKaleidoscopeJIT.h19 #include "llvm/ExecutionEngine/RuntimeDyld.h"
86 return RuntimeDyld::SymbolInfo(nullptr);
91 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported);
92 return RuntimeDyld::SymbolInfo(nullptr);

Completed in 481 milliseconds

123