Home
last modified time | relevance | path

Searched refs:Allocs (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h109 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {} in Allocator()
112 Allocs = std::move(Other.Allocs);
117 for (auto &Alloc : Allocs) in ~Allocator()
129 assert(Allocs.find(MB.base()) == Allocs.end() && "Duplicate alloc"); in allocate()
130 Allocs[MB.base()] = std::move(MB); in allocate()
135 auto I = Allocs.find(block); in setProtections()
136 if (I == Allocs.end()) in setProtections()
143 std::map<void *, sys::MemoryBlock> Allocs;
DOrcRemoteTargetClient.h269 void mapAllocsToRemoteAddrs(RuntimeDyld &Dyld, std::vector<Alloc> &Allocs, in mapAllocsToRemoteAddrs() argument
271 for (auto &Alloc : Allocs) { in mapAllocsToRemoteAddrs()
288 bool copyAndProtect(const std::vector<Alloc> &Allocs, in copyAndProtect() argument
292 assert(!Allocs.empty() && "No sections in allocated segment"); in copyAndProtect()
294 for (auto &Alloc : Allocs) { in copyAndProtect()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h111 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {} in Allocator()
114 Allocs = std::move(Other.Allocs);
119 for (auto &Alloc : Allocs) in ~Allocator()
131 assert(Allocs.find(MB.base()) == Allocs.end() && "Duplicate alloc"); in allocate()
132 Allocs[MB.base()] = std::move(MB); in allocate()
137 auto I = Allocs.find(block); in setProtections()
138 if (I == Allocs.end()) in setProtections()
145 std::map<void *, sys::MemoryBlock> Allocs;
DOrcRemoteTargetClient.h270 void mapAllocsToRemoteAddrs(RuntimeDyld &Dyld, std::vector<Alloc> &Allocs, in mapAllocsToRemoteAddrs() argument
272 for (auto &Alloc : Allocs) { in mapAllocsToRemoteAddrs()
289 bool copyAndProtect(const std::vector<Alloc> &Allocs, in copyAndProtect() argument
293 assert(!Allocs.empty() && "No sections in allocated segment"); in copyAndProtect()
295 for (auto &Alloc : Allocs) { in copyAndProtect()
DObjectLinkingLayer.h173 DenseMap<ResourceKey, std::vector<AllocPtr>> Allocs; variable
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h136 Allocator(Allocator &&Other) : Allocs(std::move(Other.Allocs)) {} in Allocator()
138 Allocs = std::move(Other.Allocs);
143 for (auto &Alloc : Allocs) in ~Allocator()
155 assert(Allocs.find(MB.base()) == Allocs.end() && "Duplicate alloc"); in allocate()
156 Allocs[MB.base()] = std::move(MB); in allocate()
161 auto I = Allocs.find(block); in setProtections()
162 if (I == Allocs.end()) in setProtections()
169 std::map<void *, sys::MemoryBlock> Allocs;
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp458 assert(Allocs.empty() && "Layer destroyed with resources still attached"); in ~ObjectLinkingLayer()
491 [&](ResourceKey K) { Allocs[K].push_back(std::move(Alloc)); }); in notifyEmitted()
503 auto I = Allocs.find(K); in handleRemoveResources()
504 if (I != Allocs.end()) { in handleRemoveResources()
506 Allocs.erase(I); in handleRemoveResources()
520 auto I = Allocs.find(SrcKey); in handleTransferResources()
521 if (I != Allocs.end()) { in handleTransferResources()
523 auto &DstAllocs = Allocs[DstKey]; in handleTransferResources()
530 Allocs.erase(SrcKey); in handleTransferResources()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DObjectLinkingLayer.cpp403 std::vector<AllocPtr> Allocs; in removeAllModules() local
406 Allocs = std::move(UntrackedAllocs); in removeAllModules()
409 Allocs.push_back(std::move(KV.second)); in removeAllModules()
414 while (!Allocs.empty()) { in removeAllModules()
415 Err = joinErrors(std::move(Err), Allocs.back()->deallocate()); in removeAllModules()
416 Allocs.pop_back(); in removeAllModules()
/external/llvm/unittests/Transforms/IPO/
DLowerTypeTests.cpp119 std::vector<BABAlloc> Allocs; in TEST() member
145 for (auto &&A : T.Allocs) { in TEST()
/external/llvm-project/llvm/unittests/Transforms/IPO/
DLowerTypeTests.cpp118 std::vector<BABAlloc> Allocs; in TEST() member
144 for (auto &&A : T.Allocs) { in TEST()
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/
DOrcRPCTPCServer.h468 orcrpctpc::ReserveMemResult Allocs; in reserveMemory() local
500 Allocs.push_back({E.Prot, in reserveMemory()
506 return Allocs; in reserveMemory()
/external/llvm-project/mlir/test/Transforms/
Dbuffer-hoisting.mlir432 // The alloc position of %1 does not need to be changed. Allocs %4 and %5 are