/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
D | RTDyldObjectLinkingLayer.h | 43 std::function<void(VModuleKey, const object::ObjectFile &Obj, 47 using NotifyFinalizedFunction = std::function<void(VModuleKey)>; 50 std::function<std::shared_ptr<RuntimeDyld::MemoryManager>(VModuleKey)>; 60 void emit(MaterializationResponsibility R, VModuleKey K, 65 void mapSectionAddress(VModuleKey K, const void *LocalAddress, 84 std::map<VModuleKey, RuntimeDyld *> ActiveRTDylds; 85 std::map<VModuleKey, std::shared_ptr<RuntimeDyld::MemoryManager>> MemMgrs; 147 std::function<void(VModuleKey, const object::ObjectFile &Obj, 152 std::function<void(VModuleKey, const object::ObjectFile &Obj, 156 using NotifyFreedFtor = std::function<void(VModuleKey, const object::ObjectFile &Obj)>; [all …]
|
D | Layer.h | 33 virtual Error add(VSO &V, VModuleKey K, std::unique_ptr<Module> M); 36 virtual void emit(MaterializationResponsibility R, VModuleKey K, 75 BasicIRLayerMaterializationUnit(IRLayer &L, VModuleKey K, 82 VModuleKey K; 95 virtual Error add(VSO &V, VModuleKey K, std::unique_ptr<MemoryBuffer> O); 98 virtual void emit(MaterializationResponsibility R, VModuleKey K, 114 BasicObjectLayerMaterializationUnit(ObjectLayer &L, VModuleKey K, 122 VModuleKey K;
|
D | IRCompileLayer.h | 37 std::function<void(VModuleKey K, std::unique_ptr<Module>)>; 44 void emit(MaterializationResponsibility R, VModuleKey K, 64 std::function<void(VModuleKey K, std::unique_ptr<Module>)>; 84 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule() 93 Error removeModule(VModuleKey K) { return BaseLayer.removeObject(K); } in removeModule() 111 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn() 119 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
|
D | ObjectTransformLayer.h | 35 void emit(MaterializationResponsibility R, VModuleKey K, 61 template <typename ObjectPtr> Error addObject(VModuleKey K, ObjectPtr Obj) { in addObject() 66 Error removeObject(VModuleKey K) { return BaseLayer.removeObject(K); } in removeObject() 84 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn() 91 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize() 95 void mapSectionAddress(VModuleKey K, const void *LocalAddress, in mapSectionAddress()
|
D | IRTransformLayer.h | 39 void emit(MaterializationResponsibility R, VModuleKey K, 68 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule() 73 Error removeModule(VModuleKey K) { return BaseLayer.removeModule(K); } in removeModule() 91 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn() 99 Error emitAndFinalize(VModuleKey K) { return BaseLayer.emitAndFinalize(K); } in emitAndFinalize()
|
D | LazyEmittingLayer.h | 46 EmissionDeferredModule(VModuleKey K, std::unique_ptr<Module> M) in EmissionDeferredModule() 189 VModuleKey K; 195 std::map<VModuleKey, std::unique_ptr<EmissionDeferredModule>> ModuleMap; 203 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule() 214 Error removeModule(VModuleKey K) { in removeModule() 244 JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn() 252 Error emitAndFinalize(VModuleKey K) { in emitAndFinalize()
|
D | CompileOnDemandLayer.h | 78 Error add(VSO &V, VModuleKey K, std::unique_ptr<Module> M) override; 80 void emit(MaterializationResponsibility R, VModuleKey K, 191 LogicalDylib(VModuleKey K, std::shared_ptr<SymbolResolver> BackingResolver, in LogicalDylib() 230 VModuleKey K; 235 std::vector<VModuleKey> BaseLayerVModuleKeys; 248 std::function<std::shared_ptr<SymbolResolver>(VModuleKey K)>; 251 std::function<void(VModuleKey K, std::shared_ptr<SymbolResolver> R)>; 275 Error addModule(VModuleKey K, std::unique_ptr<Module> M) { in addModule() 287 Error addExtraModule(VModuleKey K, std::unique_ptr<Module> M) { in addExtraModule() 295 Error removeModule(VModuleKey K) { in removeModule() [all …]
|
D | Core.h | 40 using VModuleKey = uint64_t; variable 394 VModuleKey allocateVModule() { return ++LastKey; } in allocateVModule() 399 void releaseVModule(VModuleKey Key) { /* FIXME: Recycle keys */ in releaseVModule() 467 VModuleKey LastKey = 0;
|
D | ExecutionUtils.h | 141 CtorDtorRunner(std::vector<std::string> CtorDtorNames, VModuleKey K) in CtorDtorRunner() 169 orc::VModuleKey K;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcCBindingsStack.h | 57 virtual JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 59 virtual Error removeModule(orc::VModuleKey K) = 0; in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 66 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 71 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 86 JITSymbol findSymbolIn(orc::VModuleKey K, const std::string &Name, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 91 Error removeModule(orc::VModuleKey K) override { in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() 211 [this](orc::VModuleKey K) { in OrcCBindingsStack() 221 [this](orc::VModuleKey K, const object::ObjectFile &Obj, 225 [this](orc::VModuleKey K, const object::ObjectFile &Obj) { 230 [this](orc::VModuleKey K) { [all …]
|
D | Layer.cpp | 20 Error IRLayer::add(VSO &V, VModuleKey K, std::unique_ptr<Module> M) { in add() 57 IRLayer &L, VModuleKey K, std::unique_ptr<Module> M) in BasicIRLayerMaterializationUnit() 70 Error ObjectLayer::add(VSO &V, VModuleKey K, std::unique_ptr<MemoryBuffer> O) { in add() 76 ObjectLayer &L, VModuleKey K, std::unique_ptr<MemoryBuffer> O) in BasicObjectLayerMaterializationUnit()
|
D | OrcMCJITReplacement.h | 245 [this](VModuleKey K) { in OrcMCJITReplacement() 250 [this](VModuleKey K, std::unique_ptr<Module> M) { 429 void operator()(VModuleKey K, const object::ObjectFile &Obj, in operator() 443 void operator()(VModuleKey K, const object::ObjectFile &Obj, in operator() 485 std::map<VModuleKey, std::vector<std::string>> UnexecutedConstructors; 486 std::map<VModuleKey, std::vector<std::string>> UnexecutedDestructors; 493 std::map<VModuleKey, SectionAddrSet> UnfinalizedSections;
|
D | RTDyldObjectLinkingLayer.cpp | 89 VModuleKey K, in emit() 167 VModuleKey K, const void *LocalAddress, JITTargetAddress TargetAddr) const { in mapSectionAddress()
|
D | LLJIT.cpp | 51 [this](VModuleKey K) { return getMemoryManager(K); }), in LLJIT() 56 LLJIT::getMemoryManager(VModuleKey K) { in getMemoryManager()
|
D | ObjectTransformLayer.cpp | 21 void ObjectTransformLayer2::emit(MaterializationResponsibility R, VModuleKey K, in emit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
D | ObjectTransformLayerTest.cpp | 50 template <typename ObjPtrT> llvm::Error addObject(VModuleKey K, ObjPtrT Obj) { in addObject() 57 template <typename ObjPtrT> void expectAddObject(VModuleKey K, ObjPtrT Obj) { in expectAddObject() 67 llvm::Error removeObject(VModuleKey K) { in removeObject() 73 void expectRemoveObject(VModuleKey K) { MockKey = K; } in expectRemoveObject() 99 llvm::JITSymbol findSymbolIn(VModuleKey K, const std::string &Name, in findSymbolIn() 108 void expectFindSymbolIn(VModuleKey K, const std::string &Name, in expectFindSymbolIn() 122 llvm::Error emitAndFinalize(VModuleKey K) { in emitAndFinalize() 128 void expectEmitAndFinalize(VModuleKey K) { MockKey = K; } in expectEmitAndFinalize() 135 void mapSectionAddress(VModuleKey K, const void *LocalAddress, in mapSectionAddress() 142 void expectMapSectionAddress(VModuleKey K, const void *LocalAddress, in expectMapSectionAddress() [all …]
|
D | RTDyldObjectLinkingLayerTest.cpp | 72 RTDyldObjectLinkingLayer ObjLayer(ES, [&MM](VModuleKey) { in TEST() argument 130 std::map<orc::VModuleKey, std::shared_ptr<orc::SymbolResolver>> Resolvers; in TEST_F() 132 RTDyldObjectLinkingLayer ObjLayer(ES, [&](VModuleKey K) { in TEST_F() 213 RTDyldObjectLinkingLayer ObjLayer(ES, [&MM](VModuleKey K) { in TEST_F() 273 [](VModuleKey) { in TEST_F() argument 277 [](VModuleKey, const object::ObjectFile &obj, in TEST_F()
|
D | LazyEmittingLayerTest.cpp | 18 ModuleHandleT addModule(llvm::orc::VModuleKey, in addModule() 28 L.addModule(llvm::orc::VModuleKey(), std::unique_ptr<llvm::Module>())); in TEST()
|
D | CompileOnDemandLayerTest.cpp | 66 [](orc::VModuleKey) -> std::shared_ptr<llvm::orc::SymbolResolver> { in TEST() argument 70 auto SetResolver = [](orc::VModuleKey, std::shared_ptr<orc::SymbolResolver>) { in TEST() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
D | KaleidoscopeJIT.h | 51 std::map<VModuleKey, std::shared_ptr<SymbolResolver>> Resolvers; 69 [this](VModuleKey K) { in KaleidoscopeJIT() 82 [&](orc::VModuleKey K) { return Resolvers[K]; }, 83 [&](orc::VModuleKey K, std::shared_ptr<SymbolResolver> R) { 95 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 97 VModuleKey K = ES.allocateVModule(); in addModule() 126 void removeModule(VModuleKey K) { in removeModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/include/ |
D | KaleidoscopeJIT.h | 55 [this](VModuleKey) { 65 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 72 void removeModule(VModuleKey K) { in removeModule() 135 std::vector<VModuleKey> ModuleKeys;
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
D | KaleidoscopeJIT.h | 65 [this](VModuleKey) { 75 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 93 void removeModule(VModuleKey K) { in removeModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
D | KaleidoscopeJIT.h | 75 [this](VModuleKey) { 88 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 102 void removeModule(VModuleKey K) { in removeModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
D | KaleidoscopeJIT.h | 110 [this](VModuleKey K) { 129 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 196 void removeModule(VModuleKey K) { in removeModule()
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
D | KaleidoscopeJIT.h | 118 [this](VModuleKey K) { 142 VModuleKey addModule(std::unique_ptr<Module> M) { in addModule() 213 void removeModule(VModuleKey K) { in removeModule()
|