Home
last modified time | relevance | path

Searched refs:HstPtrBegin (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/openmp/libomptarget/src/
Ddevice.cpp58 int DeviceTy::associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size) { in associatePtr() argument
62 auto search = HostDataToTargetMap.find(HstPtrBeginTy{(uintptr_t)HstPtrBegin}); in associatePtr()
65 bool isValid = search->HstPtrEnd == (uintptr_t)HstPtrBegin + Size && in associatePtr()
80 HostDataToTargetTy newEntry((uintptr_t)HstPtrBegin /*HstPtrBase*/, in associatePtr()
81 (uintptr_t)HstPtrBegin /*HstPtrBegin*/, in associatePtr()
82 (uintptr_t)HstPtrBegin + Size /*HstPtrEnd*/, in associatePtr()
88 DPxPTR(newEntry.HstPtrBegin), DPxPTR(newEntry.HstPtrEnd), in associatePtr()
97 int DeviceTy::disassociatePtr(void *HstPtrBegin) { in disassociatePtr() argument
100 auto search = HostDataToTargetMap.find(HstPtrBeginTy{(uintptr_t)HstPtrBegin}); in disassociatePtr()
121 uint64_t DeviceTy::getMapEntryRefCnt(void *HstPtrBegin) { in getMapEntryRefCnt() argument
[all …]
Ddevice.h47 uintptr_t HstPtrBegin; member
61 : HstPtrBase(BP), HstPtrBegin(B), HstPtrEnd(E), HstPtrName(Name), in HstPtrBase()
100 return lhs.HstPtrBegin < rhs;
103 return lhs < rhs.HstPtrBegin;
107 return lhs.HstPtrBegin < rhs.HstPtrBegin;
176 uint64_t getMapEntryRefCnt(void *HstPtrBegin);
177 LookupResult lookupMapping(void *HstPtrBegin, int64_t Size);
178 void *getOrAllocTgtPtr(void *HstPtrBegin, void *HstPtrBase, int64_t Size,
182 void *getTgtPtrBegin(void *HstPtrBegin, int64_t Size);
183 void *getTgtPtrBegin(void *HstPtrBegin, int64_t Size, bool &IsLast,
[all …]
Domptarget.cpp280 void *HstPtrBegin = args[i]; in targetDataBegin() local
292 padding = (int64_t)HstPtrBegin % Alignment; in targetDataBegin()
295 "\n", padding, DPxPTR(HstPtrBegin)); in targetDataBegin()
296 HstPtrBegin = (char *) HstPtrBegin - padding; in targetDataBegin()
351 HstPtrBegin, HstPtrBase, data_size, HstPtrName, IsNew, IsHostPtr, in targetDataBegin()
366 uintptr_t Delta = (uintptr_t)HstPtrBegin - (uintptr_t)HstPtrBase; in targetDataBegin()
394 data_size, DPxPTR(HstPtrBegin), DPxPTR(TgtPtrBegin)); in targetDataBegin()
395 int rt = Device.submitData(TgtPtrBegin, HstPtrBegin, data_size, in targetDataBegin()
407 uint64_t Delta = (uint64_t)HstPtrBegin - (uint64_t)HstPtrBase; in targetDataBegin()
431 void *HstPtrBegin; member
[all …]
Dprivate.h103 DPxPTR(HostTargetMap.HstPtrBegin), in dumpTargetPointerMappings()
105 HostTargetMap.HstPtrEnd - HostTargetMap.HstPtrBegin, info.getName(), in dumpTargetPointerMappings()