Home
last modified time | relevance | path

Searched refs:MaterializationResponsibility (Results 1 – 25 of 63) sorted by relevance

123

/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h67 virtual void modifyPassConfig(MaterializationResponsibility &MR, in modifyPassConfig()
71 virtual void notifyLoaded(MaterializationResponsibility &MR) {} in notifyLoaded()
72 virtual Error notifyEmitted(MaterializationResponsibility &MR) { in notifyEmitted()
75 virtual Error notifyFailed(MaterializationResponsibility &MR) = 0;
85 getSyntheticSymbolLocalDependencies(MaterializationResponsibility &MR) { in getSyntheticSymbolLocalDependencies()
122 void emit(std::unique_ptr<MaterializationResponsibility> R,
159 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT,
161 void notifyLoaded(MaterializationResponsibility &MR);
162 Error notifyEmitted(MaterializationResponsibility &MR, AllocPtr Alloc);
182 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT,
[all …]
DCore.h36 class MaterializationResponsibility; variable
53 friend class MaterializationResponsibility; variable
490 class MaterializationResponsibility {
494 MaterializationResponsibility(MaterializationResponsibility &&) = delete;
495 MaterializationResponsibility &
496 operator=(MaterializationResponsibility &&) = delete;
501 ~MaterializationResponsibility();
601 Expected<std::unique_ptr<MaterializationResponsibility>>
613 MaterializationResponsibility(JITDylibSP JD, SymbolFlagsMap SymbolFlags, in MaterializationResponsibility() function
663 materialize(std::unique_ptr<MaterializationResponsibility> R) = 0;
[all …]
DRTDyldObjectLinkingLayer.h42 MaterializationResponsibility &R, const object::ObjectFile &Obj,
47 MaterializationResponsibility &R, std::unique_ptr<MemoryBuffer>)>;
60 void emit(std::unique_ptr<MaterializationResponsibility> R,
127 Error onObjLoad(MaterializationResponsibility &R,
134 void onObjEmit(MaterializationResponsibility &R,
DIRTransformLayer.h32 ThreadSafeModule, MaterializationResponsibility &R)>;
41 void emit(std::unique_ptr<MaterializationResponsibility> R,
45 MaterializationResponsibility &R) { in identityTransform()
DMachOPlatform.h117 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT,
121 MaterializationResponsibility &MR) override;
125 Error notifyFailed(MaterializationResponsibility &MR) override { in notifyFailed()
138 DenseMap<MaterializationResponsibility *, JITLinkSymbolVector>;
145 MaterializationResponsibility &MR);
DLayer.h108 virtual void emit(std::unique_ptr<MaterializationResponsibility> R,
126 void materialize(std::unique_ptr<MaterializationResponsibility> R) override;
149 virtual void emit(std::unique_ptr<MaterializationResponsibility> R,
172 void materialize(std::unique_ptr<MaterializationResponsibility> R) override;
DIRCompileLayer.h49 MaterializationResponsibility &R, ThreadSafeModule TSM)>;
58 void emit(std::unique_ptr<MaterializationResponsibility> R,
DCompileOnDemandLayer.h97 void emit(std::unique_ptr<MaterializationResponsibility> R,
122 void emitPartition(std::unique_ptr<MaterializationResponsibility> R,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h63 virtual void modifyPassConfig(MaterializationResponsibility &MR, in modifyPassConfig()
66 virtual void notifyLoaded(MaterializationResponsibility &MR) {} in notifyLoaded()
67 virtual Error notifyEmitted(MaterializationResponsibility &MR) { in notifyEmitted()
102 void emit(MaterializationResponsibility R,
139 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT,
141 void notifyLoaded(MaterializationResponsibility &MR);
142 Error notifyEmitted(MaterializationResponsibility &MR, AllocPtr Alloc);
160 Error notifyEmitted(MaterializationResponsibility &MR) override;
161 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT,
174 DenseMap<MaterializationResponsibility *, EHFrameRange> InProcessLinks;
DLayer.h102 virtual void emit(MaterializationResponsibility R, ThreadSafeModule TSM) = 0;
119 void materialize(MaterializationResponsibility R) override;
140 virtual void emit(MaterializationResponsibility R,
163 void materialize(MaterializationResponsibility R) override;
DIRTransformLayer.h31 ThreadSafeModule, const MaterializationResponsibility &R)>;
40 void emit(MaterializationResponsibility R, ThreadSafeModule TSM) override;
44 const MaterializationResponsibility &R) { in identityTransform()
DCore.h36 class MaterializationResponsibility; variable
434 class MaterializationResponsibility {
437 MaterializationResponsibility(MaterializationResponsibility &&) = default;
438 MaterializationResponsibility &
439 operator=(MaterializationResponsibility &&) = delete;
444 ~MaterializationResponsibility();
522 MaterializationResponsibility delegate(const SymbolNameSet &Symbols,
534 MaterializationResponsibility(JITDylib &JD, SymbolFlagsMap SymbolFlags,
568 materialize(MaterializationResponsibility(JD, std::move(SymbolFlags), in doMaterialize()
589 virtual void materialize(MaterializationResponsibility R) = 0;
[all …]
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DCoreAPIsTest.cpp38 std::unique_ptr<MaterializationResponsibility> FooMR; in TEST_F()
42 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
83 [this](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
100 std::unique_ptr<MaterializationResponsibility> FooR; in TEST_F()
107 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
141 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
170 [this](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
185 std::unique_ptr<MaterializationResponsibility> BazR; in TEST_F()
188 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
268 [](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
[all …]
DResourceTrackerTest.cpp130 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
168 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
202 std::unique_ptr<MaterializationResponsibility> MR; in TEST_F()
205 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
250 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
260 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
302 [=, &SRM](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
351 [=, &SRM](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
399 std::unique_ptr<MaterializationResponsibility> FooMR; in TEST_F()
402 [&](std::unique_ptr<MaterializationResponsibility> R) { in TEST_F()
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
DLLJITWithObjectLinkingLayerPlugin.cpp54 void modifyPassConfig(MaterializationResponsibility &MR, const Triple &TT, in modifyPassConfig()
66 void notifyLoaded(MaterializationResponsibility &MR) override { in notifyLoaded()
70 Error notifyEmitted(MaterializationResponsibility &MR) override { in notifyEmitted()
75 Error notifyFailed(MaterializationResponsibility &MR) override { in notifyFailed()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.cpp19 JITDylibSearchOrderResolver(MaterializationResponsibility &MR) : MR(MR) {} in JITDylibSearchOrderResolver()
70 MaterializationResponsibility &MR;
88 void RTDyldObjectLinkingLayer::emit(MaterializationResponsibility R, in emit()
96 auto SharedR = std::make_shared<MaterializationResponsibility>(std::move(R)); in emit()
158 VModuleKey K, MaterializationResponsibility &R, object::ObjectFile &Obj, in onObjLoad()
245 MaterializationResponsibility &R, Error Err) { in onObjEmit()
DObjectLinkingLayer.cpp28 MaterializationResponsibility MR, in ObjectLinkingLayerJITLinkContext()
324 MaterializationResponsibility MR;
340 void ObjectLinkingLayer::emit(MaterializationResponsibility R, in emit()
347 void ObjectLinkingLayer::modifyPassConfig(MaterializationResponsibility &MR, in modifyPassConfig()
354 void ObjectLinkingLayer::notifyLoaded(MaterializationResponsibility &MR) { in notifyLoaded()
359 Error ObjectLinkingLayer::notifyEmitted(MaterializationResponsibility &MR, in notifyEmitted()
427 MaterializationResponsibility &MR, const Triple &TT, in modifyPassConfig()
440 MaterializationResponsibility &MR) { in notifyEmitted()
DCore.cpp424 MaterializationResponsibility::MaterializationResponsibility( in MaterializationResponsibility() function in llvm::orc::MaterializationResponsibility
430 MaterializationResponsibility::~MaterializationResponsibility() { in ~MaterializationResponsibility()
435 SymbolNameSet MaterializationResponsibility::getRequestedSymbols() const { in getRequestedSymbols()
439 Error MaterializationResponsibility::notifyResolved(const SymbolMap &Symbols) { in notifyResolved()
457 Error MaterializationResponsibility::notifyEmitted() { in notifyEmitted()
470 Error MaterializationResponsibility::defineMaterializing( in defineMaterializing()
486 void MaterializationResponsibility::failMaterialization() { in failMaterialization()
502 void MaterializationResponsibility::replace( in replace()
515 MaterializationResponsibility
516 MaterializationResponsibility::delegate(const SymbolNameSet &Symbols, in delegate()
[all …]
DCompileOnDemandLayer.cpp87 void materialize(MaterializationResponsibility R) override { in materialize()
127 void CompileOnDemandLayer::emit(MaterializationResponsibility R, in emit()
243 MaterializationResponsibility R, ThreadSafeModule TSM, in emitPartition()
DIRTransformLayer.cpp20 void IRTransformLayer::emit(MaterializationResponsibility R, in emit()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DRTDyldObjectLinkingLayer.cpp19 JITDylibSearchOrderResolver(MaterializationResponsibility &MR) : MR(MR) {} in JITDylibSearchOrderResolver()
70 MaterializationResponsibility &MR;
89 std::unique_ptr<MaterializationResponsibility> R, in emit()
145 std::shared_ptr<MaterializationResponsibility> SharedR(std::move(R)); in emit()
184 MaterializationResponsibility &R, const object::ObjectFile &Obj, in onObjLoad()
273 MaterializationResponsibility &R, in onObjEmit()
DObjectLinkingLayer.cpp29 std::unique_ptr<MaterializationResponsibility> MR, in ObjectLinkingLayerJITLinkContext()
437 std::unique_ptr<MaterializationResponsibility> MR;
462 void ObjectLinkingLayer::emit(std::unique_ptr<MaterializationResponsibility> R, in emit()
469 void ObjectLinkingLayer::modifyPassConfig(MaterializationResponsibility &MR, in modifyPassConfig()
476 void ObjectLinkingLayer::notifyLoaded(MaterializationResponsibility &MR) { in notifyLoaded()
481 Error ObjectLinkingLayer::notifyEmitted(MaterializationResponsibility &MR, in notifyEmitted()
542 MaterializationResponsibility &MR, const Triple &TT, in modifyPassConfig()
557 MaterializationResponsibility &MR) { in notifyEmitted()
580 MaterializationResponsibility &MR) { in notifyFailed()
DCore.cpp232 std::unique_ptr<MaterializationResponsibility> R) { in materialize()
263 std::unique_ptr<MaterializationResponsibility> R) { in materialize()
307 OnResolveInfo(std::unique_ptr<MaterializationResponsibility> R, in materialize()
311 std::unique_ptr<MaterializationResponsibility> R; in materialize()
678 Error JITDylib::replace(MaterializationResponsibility &FromMR, in replace()
682 std::unique_ptr<MaterializationResponsibility> MustRunMR; in replace()
758 Expected<std::unique_ptr<MaterializationResponsibility>>
759 JITDylib::delegate(MaterializationResponsibility &FromMR, in delegate()
763 [&]() -> Expected<std::unique_ptr<MaterializationResponsibility>> { in delegate()
872 Error JITDylib::resolve(MaterializationResponsibility &MR, in resolve()
[all …]
/external/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
DKaleidoscopeJIT.h77 void materialize(std::unique_ptr<MaterializationResponsibility> R) override;
100 void emit(std::unique_ptr<MaterializationResponsibility> MR, in emit()
123 std::unique_ptr<MaterializationResponsibility> R) { in materialize()
226 optimizeModule(ThreadSafeModule TSM, const MaterializationResponsibility &R) { in optimizeModule()
/external/llvm-project/llvm/docs/tutorial/
DBuildingAJIT2.rst103 optimizeModule(ThreadSafeModule M, const MaterializationResponsibility &R) {
125 ``MaterializationResponsibility``. The MaterializationResponsibility argument
151 ThreadSafeModule, const MaterializationResponsibility &R)>;
162 const MaterializationResponsibility &R) {
166 void emit(MaterializationResponsibility R, ThreadSafeModule TSM) override;
180 void IRTransformLayer::emit(MaterializationResponsibility R,
205 ``MaterializationResponsibility::failMaterialization`` (this JIT clients who

123