Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h34 ResourceNotFound(ResourceIdT ResourceId,
36 : ResourceId(std::move(ResourceId)), in ResourceId() function
47 << " " << ResourceId << " not found"; in log()
51 ResourceIdT ResourceId;
143 using ResourceId = uint64_t;
144 static const ResourceId InvalidId = ~0U;
147 explicit ResourceIdMgr(ResourceId FirstValidId) in ResourceIdMgr()
150 ResourceId getNext() { in getNext()
152 ResourceId I = FreeIds.back(); in getNext()
160 void release(ResourceId I) { FreeIds.push_back(I); } in release()
[all …]
DOrcRemoteTargetServer.h206 Error handleCreateRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleCreateRemoteAllocator()
216 Error handleCreateIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleCreateIndirectStubsOwner()
235 Error handleDestroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleDestroyRemoteAllocator()
245 Error handleDestroyIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleDestroyIndirectStubsOwner()
255 handleEmitIndirectStubs(ResourceIdMgr::ResourceId Id, in handleEmitIndirectStubs()
376 Expected<JITTargetAddress> handleReserveMem(ResourceIdMgr::ResourceId Id, in handleReserveMem()
397 Error handleSetProtections(ResourceIdMgr::ResourceId Id, in handleSetProtections()
435 std::map<ResourceIdMgr::ResourceId, Allocator> Allocators;
437 std::map<ResourceIdMgr::ResourceId, ISBlockOwnerList> IndirectStubsOwners;
DOrcRemoteTargetClient.h263 ResourceIdMgr::ResourceId Id) in RemoteRTDyldMemoryManager()
320 ResourceIdMgr::ResourceId Id;
336 ResourceIdMgr::ResourceId Id) in RemoteIndirectStubsManager()
446 ResourceIdMgr::ResourceId Id;
612 void destroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in destroyRemoteAllocator()
621 void destroyIndirectStubsManager(ResourceIdMgr::ResourceId Id) { in destroyIndirectStubsManager()
628 emitIndirectStubs(ResourceIdMgr::ResourceId Id, uint32_t NumStubsRequired) { in emitIndirectStubs()
652 JITTargetAddress reserveMem(ResourceIdMgr::ResourceId Id, uint64_t Size, in reserveMem()
662 bool setProtections(ResourceIdMgr::ResourceId Id, in setProtections()
DRemoteObjectLayer.h29 using ObjHandleT = remote::ResourceIdMgr::ResourceId;
33 using RemoteSymbolId = remote::ResourceIdMgr::ResourceId;
389 std::map<remote::ResourceIdMgr::ResourceId,
/external/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetRPCAPI.h69 typedef uint64_t ResourceId; typedef
70 static const ResourceId InvalidId = ~0U;
72 ResourceId getNext() { in getNext()
74 ResourceId I = FreeIds.back(); in getNext()
80 void release(ResourceId I) { FreeIds.push_back(I); } in release()
83 ResourceId NextId = 0;
84 std::vector<ResourceId> FreeIds;
132 void(ResourceIdMgr::ResourceId AllocatorID)>
136 void(ResourceIdMgr::ResourceId StubOwnerID)>
144 void(ResourceIdMgr::ResourceId AllocatorID)>
[all …]
DOrcRemoteTargetServer.h226 Error handleCreateRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleCreateRemoteAllocator()
235 Error handleCreateIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleCreateIndirectStubsOwner()
252 Error handleDestroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in handleDestroyRemoteAllocator()
261 Error handleDestroyIndirectStubsOwner(ResourceIdMgr::ResourceId Id) { in handleDestroyIndirectStubsOwner()
270 handleEmitIndirectStubs(ResourceIdMgr::ResourceId Id, in handleEmitIndirectStubs()
387 Expected<TargetAddress> handleReserveMem(ResourceIdMgr::ResourceId Id, in handleReserveMem()
406 Error handleSetProtections(ResourceIdMgr::ResourceId Id, TargetAddress Addr, in handleSetProtections()
438 std::map<ResourceIdMgr::ResourceId, Allocator> Allocators;
440 std::map<ResourceIdMgr::ResourceId, ISBlockOwnerList> IndirectStubsOwners;
DOrcRemoteTargetClient.h59 RCMemoryManager(OrcRemoteTargetClient &Client, ResourceIdMgr::ResourceId Id) in RCMemoryManager()
433 ResourceIdMgr::ResourceId Id;
443 ResourceIdMgr::ResourceId Id) in RCIndirectStubsManager()
509 ResourceIdMgr::ResourceId Id;
705 void destroyRemoteAllocator(ResourceIdMgr::ResourceId Id) { in destroyRemoteAllocator()
714 Error destroyIndirectStubsManager(ResourceIdMgr::ResourceId Id) { in destroyIndirectStubsManager()
720 emitIndirectStubs(ResourceIdMgr::ResourceId Id, uint32_t NumStubsRequired) { in emitIndirectStubs()
776 Expected<TargetAddress> reserveMem(ResourceIdMgr::ResourceId Id, in reserveMem()
786 Error setProtections(ResourceIdMgr::ResourceId Id, in setProtections()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.h34 using ResourceId = int64_t; variable
102 const llvm::SmallVector<std::pair<ResourceId, bool>>& GetResourceIds(
108 bool IsUniqueResourceAllocationId(ResourceId resource_id) const { in IsUniqueResourceAllocationId()
124 void AddPredecessorsForAccess(ResourceId resource_id, Operation* op,
129 void UpdateAccess(ResourceId resource_id, Operation* op, bool read_only);
134 bool IsUnknownAccessIndirectlyTrackedByResource(ResourceId resource,
139 llvm::SmallSet<ResourceId, 8> GetConflictingIds(ResourceId resource_id,
157 llvm::SmallVector<std::pair<ResourceId, bool>>>
159 llvm::SmallVector<std::pair<ResourceId, bool>> empty_resource_ids_;
179 llvm::SmallDenseMap<ResourceId, PerResourceAccessInfo, 8>
Dside_effect_analysis.cc49 constexpr ResourceId kUnknownResourceId =
56 using ResourceIdSet = llvm::SmallSet<ResourceId, 8>;
92 ResourceId GetResourceId() const { return resource_id_; } in GetResourceId()
99 void SetResourceId(ResourceId resource_id) { resource_id_ = resource_id; } in SetResourceId()
106 ResourceId resource_id_ = kUnknownResourceId;
110 using SideEffectsByResourceId = std::map<ResourceId, SideEffects>;
122 ResourceId id = side_effects.GetResourceId(); in UpdateSideEffectsByResourceId()
203 bool IsOnlySelfDependent(ResourceId resource_id) const { in IsOnlySelfDependent()
301 ResourceId resource_id = GetOpResourceId(type_id, instance_str); in CollectOpSideEffects()
313 ResourceId GetOpResourceId(TypeID type_id, std::string instance_str) { in GetOpResourceId()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dconvert_control_to_data_outputs.cc43 using TF::ResourceId;
44 static constexpr ResourceId kUnknownResourceId =
46 static constexpr ResourceId kInvalidResourceId =
49 using ResourceToOpsMapTy = DenseMap<ResourceId, OperationSetTy>;
81 llvm::EquivalenceClasses<ResourceId>& resource_equivalence_classes, in CollectChainResources()
94 ResourceId prev_resource_id = kInvalidResourceId; in CollectChainResources()
97 ResourceId resource_id = resource_id_read_only_pair.first; in CollectChainResources()
264 llvm::EquivalenceClasses<ResourceId>& resource_equivalence_classes, in ChainResourceOps()
305 ResourceId resource_id = *member_iter; in ChainResourceOps()
385 llvm::EquivalenceClasses<ResourceId> resource_equivalence_classes; in ConvertControlToDataOutputs()
/external/crosvm/devices/src/virtio/video/decoder/
Dmod.rs39 type ResourceId = u32; typedef
130 ) -> Option<ResourceId> { in dequeue_frame_buffer() argument
503 resource_id: ResourceId, in create_resource() argument
609 resource_id: ResourceId, in queue_input_resource() argument
651 resource_id: ResourceId, in queue_output_resource() argument
/external/mesa3d/.gitlab-ci/tracie/
Drenderdoc_dump_images.py62 if texsave.resourceId == rd.ResourceId.Null():