Home
last modified time | relevance | path

Searched refs:RuntimeDyld (Results 1 – 25 of 157) sorted by relevance

1234567

/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp56 RuntimeDyld::RuntimeDyld(RTDyldMemoryManager *mm) { in RuntimeDyld() function in llvm::RuntimeDyld
61 RuntimeDyld::~RuntimeDyld() { in ~RuntimeDyld()
65 bool RuntimeDyld::loadObject(MemoryBuffer *InputBuffer) { in loadObject()
79 void *RuntimeDyld::getSymbolAddress(StringRef Name) { in getSymbolAddress()
83 void RuntimeDyld::resolveRelocations() { in resolveRelocations()
87 void RuntimeDyld::reassignSymbolAddress(StringRef Name, uint8_t *Addr) { in reassignSymbolAddress()
91 StringRef RuntimeDyld::getErrorString() { in getErrorString()
/external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DRuntimeDyld.h49 class RuntimeDyld {
50 RuntimeDyld(const RuntimeDyld &); // DO NOT IMPLEMENT
51 void operator=(const RuntimeDyld &); // DO NOT IMPLEMENT
58 RuntimeDyld(RTDyldMemoryManager*);
59 ~RuntimeDyld();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h59 class RuntimeDyld {
93 friend class RuntimeDyld; variable
164 virtual void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded()
174 RuntimeDyld(MemoryManager &MemMgr, JITSymbolResolver &Resolver);
175 RuntimeDyld(const RuntimeDyld &) = delete;
176 RuntimeDyld &operator=(const RuntimeDyld &) = delete;
177 ~RuntimeDyld();
DRuntimeDyldChecker.h26 class RuntimeDyld; variable
73 RuntimeDyldChecker(RuntimeDyld &RTDyld, MCDisassembler *Disassembler,
78 RuntimeDyld& getRTDyld();
81 const RuntimeDyld& getRTDyld() const;
/external/llvm/include/llvm/ExecutionEngine/
DRTDyldMemoryManager.h30 class MCJITMemoryManager : public RuntimeDyld::MemoryManager {
34 using RuntimeDyld::MemoryManager::notifyObjectLoaded;
57 public RuntimeDyld::SymbolResolver {
101 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override { in findSymbol()
102 return RuntimeDyld::SymbolInfo(getSymbolAddress(Name), in findSymbol()
124 RuntimeDyld::SymbolInfo
126 return RuntimeDyld::SymbolInfo(getSymbolAddressInLogicalDylib(Name), in findSymbolInLogicalDylib()
DRuntimeDyld.h51 class RuntimeDyld {
54 RuntimeDyld(const RuntimeDyld &) = delete;
55 void operator=(const RuntimeDyld &) = delete;
113 friend class RuntimeDyld; variable
184 virtual void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded()
224 RuntimeDyld(MemoryManager &MemMgr, SymbolResolver &Resolver);
225 ~RuntimeDyld();
DRuntimeDyldChecker.h24 class RuntimeDyld; variable
71 RuntimeDyldChecker(RuntimeDyld &RTDyld, MCDisassembler *Disassembler,
76 RuntimeDyld& getRTDyld();
79 const RuntimeDyld& getRTDyld() const;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.h30 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
35 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
36 RuntimeDyld::SymbolResolver &Resolver);
39 RuntimeDyldCOFF(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldCOFF()
40 RuntimeDyld::SymbolResolver &Resolver) in RuntimeDyldCOFF()
DRuntimeDyld.cpp70 void RuntimeDyld::LoadedObjectInfo::anchor() {} in anchor()
963 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress( in getSectionLoadAddress()
973 void RuntimeDyld::MemoryManager::anchor() {} in anchor()
974 void RuntimeDyld::SymbolResolver::anchor() {} in anchor()
976 RuntimeDyld::RuntimeDyld(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyld() function in llvm::RuntimeDyld
977 RuntimeDyld::SymbolResolver &Resolver) in RuntimeDyld()
990 RuntimeDyld::~RuntimeDyld() {} in ~RuntimeDyld()
993 createRuntimeDyldCOFF(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM, in createRuntimeDyldCOFF()
994 RuntimeDyld::SymbolResolver &Resolver, in createRuntimeDyldCOFF()
1004 createRuntimeDyldELF(RuntimeDyld::MemoryManager &MM, in createRuntimeDyldELF()
[all …]
DRuntimeDyldMachO.h52 RuntimeDyldMachO(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachO()
53 RuntimeDyld::SymbolResolver &Resolver) in RuntimeDyldMachO()
126 RuntimeDyld::MemoryManager &MemMgr,
127 RuntimeDyld::SymbolResolver &Resolver);
129 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
154 RuntimeDyldMachOCRTPBase(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachOCRTPBase()
155 RuntimeDyld::SymbolResolver &Resolver) in RuntimeDyldMachOCRTPBase()
DRuntimeDyldCOFF.cpp30 : public RuntimeDyld::LoadedObjectInfoHelper<LoadedCOFFObjectInfo> {
46 RuntimeDyld::MemoryManager &MemMgr, in create()
47 RuntimeDyld::SymbolResolver &Resolver) { in create()
59 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
DRuntimeDyldImpl.h221 friend class RuntimeDyld::LoadedObjectInfo;
227 RuntimeDyld::MemoryManager &MemMgr;
230 RuntimeDyld::SymbolResolver &Resolver;
422 RuntimeDyldImpl(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldImpl()
423 RuntimeDyld::SymbolResolver &Resolver) in RuntimeDyldImpl()
438 virtual std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
454 RuntimeDyld::SymbolInfo getSymbol(StringRef Name) const { in getSymbol()
465 return RuntimeDyld::SymbolInfo(TargetAddr, SymEntry.getFlags()); in getSymbol()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h29 class LinkingSymbolResolver : public RuntimeDyld::SymbolResolver {
32 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver) in LinkingSymbolResolver()
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::SymbolInfo findSymbol(const std::string &Name,
330 const RuntimeDyld::LoadedObjectInfo &L);
[all …]
DMCJIT.cpp49 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver, in createJIT()
70 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver) in MCJIT()
122 std::unique_ptr<RuntimeDyld::LoadedObjectInfo> L = Dyld.loadObject(*Obj); in addObjectFile()
221 std::unique_ptr<RuntimeDyld::LoadedObjectInfo> L = in generateCodeForModule()
279 RuntimeDyld::SymbolInfo MCJIT::findExistingSymbol(const std::string &Name) { in findExistingSymbol()
284 return RuntimeDyld::SymbolInfo(static_cast<uint64_t>( in findExistingSymbol()
319 RuntimeDyld::SymbolInfo MCJIT::findSymbol(const std::string &Name, in findSymbol()
370 return RuntimeDyld::SymbolInfo(Addr, JITSymbolFlags::Exported); in findSymbol()
633 const RuntimeDyld::LoadedObjectInfo &L) { in NotifyObjectEmitted()
647 RuntimeDyld::SymbolInfo
/external/llvm/tools/lli/
DRemoteJITUtils.h82 void setMemMgr(std::unique_ptr<RuntimeDyld::MemoryManager> MemMgr) { in setMemMgr()
86 void setResolver(std::unique_ptr<RuntimeDyld::SymbolResolver> Resolver) { in setResolver()
129 void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded()
137 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override { in findSymbol()
141 RuntimeDyld::SymbolInfo
147 std::unique_ptr<RuntimeDyld::MemoryManager> MemMgr;
148 std::unique_ptr<RuntimeDyld::SymbolResolver> Resolver;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp70 void RuntimeDyld::LoadedObjectInfo::anchor() {} in anchor()
1099 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress( in getSectionLoadAddress()
1109 void RuntimeDyld::MemoryManager::anchor() {} in anchor()
1113 RuntimeDyld::RuntimeDyld(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyld() function in llvm::RuntimeDyld
1127 RuntimeDyld::~RuntimeDyld() {} in ~RuntimeDyld()
1130 createRuntimeDyldCOFF(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM, in createRuntimeDyldCOFF()
1141 createRuntimeDyldELF(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM, in createRuntimeDyldELF()
1152 createRuntimeDyldMachO(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM, in createRuntimeDyldMachO()
1163 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
1164 RuntimeDyld::loadObject(const ObjectFile &Obj) { in loadObject()
[all …]
DRuntimeDyldCOFF.cpp31 RuntimeDyld::LoadedObjectInfo> {
35 RuntimeDyld::LoadedObjectInfo::ObjSectionToIDMap ObjSecToIDMap) in LoadedCOFFObjectInfo()
49 RuntimeDyld::MemoryManager &MemMgr, in create()
62 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
DRuntimeDyldCOFF.h30 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
35 create(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr,
39 RuntimeDyldCOFF(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldCOFF()
DRuntimeDyldMachO.h52 RuntimeDyldMachO(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachO()
127 RuntimeDyld::MemoryManager &MemMgr,
130 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
155 RuntimeDyldMachOCRTPBase(RuntimeDyld::MemoryManager &MemMgr, in RuntimeDyldMachOCRTPBase()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.h44 const RuntimeDyld::LoadedObjectInfo &)>;
50 std::function<std::shared_ptr<RuntimeDyld::MemoryManager>(VModuleKey)>;
84 std::map<VModuleKey, RuntimeDyld *> ActiveRTDylds;
85 std::map<VModuleKey, std::shared_ptr<RuntimeDyld::MemoryManager>> MemMgrs;
148 const RuntimeDyld::LoadedObjectInfo &)>;
153 const RuntimeDyld::LoadedObjectInfo &)>;
189 PFC->RTDyld = llvm::make_unique<RuntimeDyld>(*MemMgr, ResolverAdapter); in finalize()
194 std::unique_ptr<RuntimeDyld::LoadedObjectInfo> Info = in finalize()
271 std::unique_ptr<RuntimeDyld> RTDyld;
295 std::shared_ptr<RuntimeDyld::MemoryManager> MemMgr;
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h80 void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded()
114 class LinkingResolver : public RuntimeDyld::SymbolResolver {
118 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) override { in findSymbol()
122 RuntimeDyld::SymbolInfo
136 std::shared_ptr<RuntimeDyld::SymbolResolver> Resolver, in createOrcMCJITReplacement()
149 std::shared_ptr<RuntimeDyld::SymbolResolver> ClientResolver, in OrcMCJITReplacement()
196 RuntimeDyld::SymbolInfo findSymbol(StringRef Name) { in findSymbol()
246 RuntimeDyld::SymbolInfo findMangledSymbol(StringRef Name) { in findMangledSymbol()
290 typedef std::vector<std::unique_ptr<RuntimeDyld::LoadedObjectInfo>>
349 std::shared_ptr<RuntimeDyld::SymbolResolver> ClientResolver;
/external/llvm/include/llvm/ExecutionEngine/Orc/
DNullResolver.h25 class NullResolver : public RuntimeDyld::SymbolResolver {
27 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) final;
29 RuntimeDyld::SymbolInfo
DObjectLinkingLayer.h63 StringMap<RuntimeDyld::SymbolInfo> SymbolTable;
121 RuntimeDyld RTDyld(*MemMgr, *PFC->Resolver); in finalize()
168 std::make_pair(*SymbolName, RuntimeDyld::SymbolInfo(0, Flags))); in buildInitialSymbolTable()
172 void updateSymbolTable(const RuntimeDyld &RTDyld) { in updateSymbolTable()
191 RuntimeDyld *RTDyld;
218 typedef std::vector<std::unique_ptr<RuntimeDyld::LoadedObjectInfo>>
252 auto Finalizer = [&](ObjSetHandleT H, RuntimeDyld &RTDyld, in addObjectSet()
DLambdaResolver.h26 class LambdaResolver : public RuntimeDyld::SymbolResolver {
34 RuntimeDyld::SymbolInfo
39 RuntimeDyld::SymbolInfo findSymbol(const std::string &Name) final { in findSymbol()
DJITSymbol.h57 JITSymbol(const RuntimeDyld::SymbolInfo &Sym) in JITSymbol()
75 RuntimeDyld::SymbolInfo toRuntimeDyldSymbol() { in toRuntimeDyldSymbol()
76 return RuntimeDyld::SymbolInfo(getAddress(), getFlags()); in toRuntimeDyldSymbol()

1234567