Home
last modified time | relevance | path

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

1234

/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/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/
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 …]
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()
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/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;
DNullResolver.cpp17 RuntimeDyld::SymbolInfo NullResolver::findSymbol(const std::string &Name) { in findSymbol()
21 RuntimeDyld::SymbolInfo
DOrcCBindingsStack.h137 std::unique_ptr<RuntimeDyld::SymbolResolver> in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
153 return RuntimeDyld::SymbolInfo( in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
157 return RuntimeDyld::SymbolInfo(nullptr); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
160 return RuntimeDyld::SymbolInfo(nullptr); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
166 std::unique_ptr<RuntimeDyld::MemoryManager> MemMgr, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/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()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h66 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
71 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported); in addModule()
72 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h76 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
81 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported); in addModule()
82 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h86 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
91 return RuntimeDyld::SymbolInfo(SymAddr, JITSymbolFlags::Exported); in addModule()
92 return RuntimeDyld::SymbolInfo(nullptr); in addModule()
/external/llvm/unittests/ExecutionEngine/Orc/
DLazyEmittingLayerTest.cpp19 std::unique_ptr<llvm::RuntimeDyld::MemoryManager> MemMgr, in addModuleSet()
20 std::unique_ptr<llvm::RuntimeDyld::SymbolResolver> Resolver) { in addModuleSet()
DObjectLinkingLayerTest.cpp93 return RuntimeDyld::SymbolInfo(nullptr); in TEST()
96 return RuntimeDyld::SymbolInfo(nullptr); in TEST()
169 return RuntimeDyld::SymbolInfo(nullptr); in TEST_F()
172 return RuntimeDyld::SymbolInfo(nullptr); in TEST_F()

1234