Home
last modified time | relevance | path

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

/external/llvm-project/openmp/libomptarget/plugins/generic-elf-64bit/src/
Drtl.cpp61 void createOffloadTable(int32_t device_id, __tgt_offload_entry *begin, in createOffloadTable()
62 __tgt_offload_entry *end) { in createOffloadTable()
78 for (__tgt_offload_entry *i = E.Table.EntriesBegin, *e = E.Table.EntriesEnd; in findOffloadEntry()
236 __tgt_offload_entry *entries_table = (__tgt_offload_entry *)entries_addr; in __tgt_rtl_load_binary()
238 __tgt_offload_entry *entries_begin = &entries_table[0]; in __tgt_rtl_load_binary()
239 __tgt_offload_entry *entries_end = entries_begin + NumEntries; in __tgt_rtl_load_binary()
/external/llvm-project/openmp/libomptarget/include/
Domptarget.h87 struct __tgt_offload_entry { struct
99 __tgt_offload_entry *EntriesBegin; // Begin of table with all target entries argument
100 __tgt_offload_entry *EntriesEnd; // End of table (non inclusive)
108 __tgt_offload_entry *HostEntriesBegin; // Begin of table with all host entries
109 __tgt_offload_entry *HostEntriesEnd; // End of table (non inclusive)
114 __tgt_offload_entry *EntriesBegin; // Begin of the table with all the entries
115 __tgt_offload_entry
/external/llvm-project/openmp/libomptarget/plugins/ve/src/
Drtl.cpp49 std::vector<__tgt_offload_entry> Entries;
64 __tgt_offload_entry *HostBegin, in buildOffloadTableFromHost()
65 __tgt_offload_entry *HostEnd) { in buildOffloadTableFromHost()
67 std::vector<__tgt_offload_entry> &T = in buildOffloadTableFromHost()
70 for (__tgt_offload_entry *i = HostBegin; i != HostEnd; ++i) { in buildOffloadTableFromHost()
78 __tgt_offload_entry Entry; in buildOffloadTableFromHost()
/external/llvm-project/openmp/libomptarget/plugins/cuda/src/
Drtl.cpp55 std::vector<__tgt_offload_entry> Entries;
283 void addOffloadEntry(const int DeviceId, const __tgt_offload_entry entry) { in addOffloadEntry()
289 const __tgt_offload_entry *getOffloadEntry(const int DeviceId, in getOffloadEntry()
291 for (const __tgt_offload_entry &Itr : in getOffloadEntry()
563 const __tgt_offload_entry *HostBegin = Image->EntriesBegin; in loadBinary()
564 const __tgt_offload_entry *HostEnd = Image->EntriesEnd; in loadBinary()
567 for (const __tgt_offload_entry *E = HostBegin; E != HostEnd; ++E) { in loadBinary()
577 __tgt_offload_entry Entry = *E; in loadBinary()
674 __tgt_offload_entry Entry = *E; in loadBinary()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp107 std::vector<__tgt_offload_entry> Entries;
385 void addOffloadEntry(int32_t device_id, __tgt_offload_entry entry) { in addOffloadEntry()
419 __tgt_offload_entry *begin = &E.Entries[0]; in getOffloadEntriesTable()
420 __tgt_offload_entry *end = &E.Entries[size - 1]; in getOffloadEntriesTable()
1133 __tgt_offload_entry *HostBegin = image->EntriesBegin; in __tgt_rtl_load_binary_locked()
1134 __tgt_offload_entry *HostEnd = image->EntriesEnd; in __tgt_rtl_load_binary_locked()
1136 for (__tgt_offload_entry *e = HostBegin; e != HostEnd; ++e) { in __tgt_rtl_load_binary_locked()
1147 __tgt_offload_entry entry = *e; in __tgt_rtl_load_binary_locked()
1343 __tgt_offload_entry entry = *e; in __tgt_rtl_load_binary_locked()
/external/llvm-project/openmp/libomptarget/src/
Drtl.cpp187 for (__tgt_offload_entry *entry = img->EntriesBegin; in RegisterGlobalCtorsDtorsForImage()
398 for (__tgt_offload_entry *cur = desc->HostEntriesBegin; in UnregisterLib()
Drtl.h176 typedef std::map<__tgt_offload_entry *, TranslationTable>
Domptarget.cpp115 for (__tgt_offload_entry *CurrDeviceEntry = TargetTable->EntriesBegin, in InitLibrary()
850 __tgt_offload_entry *Cur = TransTable->HostTable.EntriesBegin; in getTableMap()
/external/llvm-project/llvm/test/Transforms/OpenMP/
Dhide_mem_transfer_latency.ll8 %struct.__tgt_offload_entry = type { i8*, i8*, i64, i32, i32 }