Home
last modified time | relevance | path

Searched refs:ResourceKey (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DResourceTrackerTest.cpp27 using HandleRemoveFunction = unique_function<Error(ResourceKey)>;
30 unique_function<void(ResourceKey, ResourceKey)>;
32 using RecordedResourcesMap = DenseMap<ResourceKey, ResourceT>;
35 HandleRemove = [&](ResourceKey K) -> Error { in SimpleResourceManager()
40 HandleTransfer = [this](ResourceKey DstKey, ResourceKey SrcKey) { in SimpleResourceManager()
66 void recordResource(ResourceKey K, ResourceT Val = ResourceT(), in recordResource()
73 void removeResource(ResourceKey K) { Resources.erase(K); } in removeResource()
77 void transferResources(ResourceKey DstKey, ResourceKey SrcKey, in transferResources()
94 Error handleRemoveResources(ResourceKey K) override { in handleRemoveResources()
98 void handleTransferResources(ResourceKey DstKey, in handleTransferResources()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DObjectLinkingLayer.h76 virtual Error notifyRemovingResources(ResourceKey K) = 0;
77 virtual void notifyTransferringResources(ResourceKey DstKey,
78 ResourceKey SrcKey) = 0;
164 Error handleRemoveResources(ResourceKey K) override;
165 void handleTransferResources(ResourceKey DstKey, ResourceKey SrcKey) override;
173 DenseMap<ResourceKey, std::vector<AllocPtr>> Allocs;
186 Error notifyRemovingResources(ResourceKey K) override;
187 void notifyTransferringResources(ResourceKey DstKey,
188 ResourceKey SrcKey) override;
201 DenseMap<ResourceKey, std::vector<EHFrameRange>> EHFrameRanges;
DRTDyldObjectLinkingLayer.h140 Error handleRemoveResources(ResourceKey K) override;
141 void handleTransferResources(ResourceKey DstKey, ResourceKey SrcKey) override;
150 DenseMap<ResourceKey, std::vector<MemoryManagerUP>> MemMgrs;
DMachOPlatform.h129 Error notifyRemovingResources(ResourceKey K) override { in notifyRemovingResources()
133 void notifyTransferringResources(ResourceKey DstKey, in notifyTransferringResources()
134 ResourceKey SrcKey) override {} in notifyTransferringResources()
DCore.h46 using ResourceKey = uintptr_t; variable
82 ResourceKey getKeyUnsafe() const { return reinterpret_cast<uintptr_t>(this); } in getKeyUnsafe()
96 virtual Error handleRemoveResources(ResourceKey K) = 0;
97 virtual void handleTransferResources(ResourceKey DstK, ResourceKey SrcK) = 0;
/external/llvm-project/llvm/examples/OrcV2Examples/LLJITWithObjectLinkingLayerPlugin/
DLLJITWithObjectLinkingLayerPlugin.cpp79 Error notifyRemovingResources(ResourceKey K) override { in notifyRemovingResources()
83 void notifyTransferringResources(ResourceKey DstKey, in notifyTransferringResources()
84 ResourceKey SrcKey) override {} in notifyTransferringResources()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp491 [&](ResourceKey K) { Allocs[K].push_back(std::move(Alloc)); }); in notifyEmitted()
494 Error ObjectLinkingLayer::handleRemoveResources(ResourceKey K) { in handleRemoveResources()
518 void ObjectLinkingLayer::handleTransferResources(ResourceKey DstKey, in handleTransferResources()
519 ResourceKey SrcKey) { in handleTransferResources()
573 [&](ResourceKey K) { EHFrameRanges[K].push_back(EmittedRange); })) in notifyEmitted()
586 Error EHFrameRegistrationPlugin::notifyRemovingResources(ResourceKey K) { in notifyRemovingResources()
611 ResourceKey DstKey, ResourceKey SrcKey) { in notifyTransferringResources()
DRTDyldObjectLinkingLayer.cpp305 [&](ResourceKey K) { MemMgrs[K].push_back(std::move(MemMgr)); })) { in onObjEmit()
311 Error RTDyldObjectLinkingLayer::handleRemoveResources(ResourceKey K) { in handleRemoveResources()
335 void RTDyldObjectLinkingLayer::handleTransferResources(ResourceKey DstKey, in handleTransferResources()
336 ResourceKey SrcKey) { in handleTransferResources()
/external/llvm-project/llvm/tools/llvm-jitlink/
Dllvm-jitlink.cpp803 Error notifyRemovingResources(ResourceKey K) override { in Session()
806 void notifyTransferringResources(ResourceKey DstKey, in Session()
807 ResourceKey SrcKey) override {} in Session()