| /llvm-project-15.0.7/llvm/lib/Target/AVR/ |
| H A D | AVRDevices.td | 2 // AVR Device Definitions 233 def : Device<"avr1", FamilyAVR1, ELFArchAVR1>; 234 def : Device<"avr2", FamilyAVR2, ELFArchAVR2>; 235 def : Device<"avr25", FamilyAVR25, ELFArchAVR25>; 236 def : Device<"avr3", FamilyAVR3, ELFArchAVR3>; 239 def : Device<"avr4", FamilyAVR4, ELFArchAVR4>; 240 def : Device<"avr5", FamilyAVR5, ELFArchAVR5>; 242 def : Device<"avr6", FamilyAVR6, ELFArchAVR6>; 316 def : Device<"atmega8", FamilyAVR2, ELFArchAVR4, 451 def : Device<"at94k", FamilyAVR3, ELFArchAVR5, [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | omptarget.cpp | 27 Result = Device.synchronize(*this); in synchronize() 77 int32_t DeviceId = Device.DeviceID; in initLibrary() 83 Device.PendingGlobalsMtx); in initLibrary() 112 Device.loadBinary(Img); in initLibrary() 186 AsyncInfoTy AsyncInfo(Device); in initLibrary() 210 Device.HasPendingGlobals = false; in initLibrary() 324 Device.PendingGlobalsMtx); in checkDeviceAndCtors() 558 Device.ShadowMtx.lock(); in targetDataBegin() 582 Device.ShadowMtx.unlock(); in targetDataBegin() 655 std::lock_guard<decltype(Device.ShadowMtx)> LG(Device.ShadowMtx); in applyToShadowMapEntries() [all …]
|
| H A D | private.h | 23 extern int targetDataBegin(ident_t *Loc, DeviceTy &Device, int32_t ArgNum, 29 extern int targetDataEnd(ident_t *Loc, DeviceTy &Device, int32_t ArgNum, 35 extern int targetDataUpdate(ident_t *Loc, DeviceTy &Device, int32_t ArgNum, 41 extern int target(ident_t *Loc, DeviceTy &Device, void *HostPtr, int32_t ArgNum, 128 DeviceTy &Device) { in dumpTargetPointerMappings() argument 130 Device.HostDataToTargetMap.getExclusiveAccessor(); in dumpTargetPointerMappings() 135 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings() 138 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, "%-18s %-18s %s %s %s %s\n", in dumpTargetPointerMappings() 144 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
|
| H A D | interop.cpp | 102 if (InteropVal.device_info.Device) in getProperty() 103 return InteropVal.device_info.Device; in getProperty() 208 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_interop_init() local 209 if (!Device.RTL || !Device.RTL->init_device_info || in __tgt_interop_init() 210 Device.RTL->init_device_info(DeviceId, &(InteropPtr)->device_info, in __tgt_interop_init() 216 if (!Device.RTL || !Device.RTL->init_async_info || in __tgt_interop_init() 217 Device.RTL->init_async_info(DeviceId, &(InteropPtr)->async_info)) { in __tgt_interop_init()
|
| H A D | interface.cpp | 81 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_begin_mapper() local 95 AsyncInfoTy AsyncInfo(Device); in __tgt_target_data_begin_mapper() 96 int Rc = targetDataBegin(Loc, Device, ArgNum, ArgsBase, Args, ArgSizes, in __tgt_target_data_begin_mapper() 130 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_end_mapper() local 144 AsyncInfoTy AsyncInfo(Device); in __tgt_target_data_end_mapper() 145 int Rc = targetDataEnd(Loc, Device, ArgNum, ArgsBase, Args, ArgSizes, in __tgt_target_data_end_mapper() 180 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_update_mapper() local 181 AsyncInfoTy AsyncInfo(Device); in __tgt_target_data_update_mapper() 245 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_kernel() local 246 AsyncInfoTy AsyncInfo(Device); in __tgt_target_kernel() [all …]
|
| H A D | rtl.cpp | 270 DeviceTy &Device = *PM->Devices[RTL->Idx + I]; in registerGlobalCtorsDtorsForImage() local 271 Device.PendingGlobalsMtx.lock(); in registerGlobalCtorsDtorsForImage() 272 Device.HasPendingGlobals = true; in registerGlobalCtorsDtorsForImage() 278 Device.PendingCtorsDtors[Desc].PendingCtors.push_back(Entry->addr); in registerGlobalCtorsDtorsForImage() 291 Device.PendingGlobalsMtx.unlock(); in registerGlobalCtorsDtorsForImage() 511 DeviceTy &Device = *PM->Devices[FoundRTL->Idx + I]; in unregisterLib() local 512 Device.PendingGlobalsMtx.lock(); in unregisterLib() 513 if (Device.PendingCtorsDtors[Desc].PendingCtors.empty()) { in unregisterLib() 514 AsyncInfoTy AsyncInfo(Device); in unregisterLib() 524 Device.PendingCtorsDtors.erase(Desc); in unregisterLib() [all …]
|
| H A D | api.cpp | 117 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_is_present() local 125 Device.getTgtPtrBegin(const_cast<void *>(Ptr), 1, IsLast, in omp_target_is_present() 301 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_associate_ptr() local 303 int Rc = Device.associatePtr(const_cast<void *>(HostPtr), in omp_target_associate_ptr() 331 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_disassociate_ptr() local 332 int Rc = Device.disassociatePtr(const_cast<void *>(HostPtr)); in omp_target_disassociate_ptr()
|
| H A D | device.cpp | 25 int HostDataToTargetTy::addEventIfNecessary(DeviceTy &Device, in addEventIfNecessary() argument 33 if (NeedNewEvent && Device.createEvent(&Event) != OFFLOAD_SUCCESS) { in addEventIfNecessary() 41 if (Device.recordEvent(Event, AsyncInfo) != OFFLOAD_SUCCESS) { in addEventIfNecessary() 683 DeviceTy &Device = *PM->Devices[DeviceNum]; in deviceIsReady() local 686 Device.RTLDeviceID, Device.IsInit); in deviceIsReady() 689 if (!Device.IsInit && Device.initOnce() != OFFLOAD_SUCCESS) { in deviceIsReady()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/FileSystem/ |
| H A D | UniqueID.h | 27 uint64_t Device; variable 32 UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {} in UniqueID() argument 35 return Device == Other.Device && File == Other.File; 40 if (Device < Other.Device) 42 if (Other.Device < Device) 47 uint64_t getDevice() const { return Device; } in getDevice()
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | headerfile-comment-to-html.m | 14 \headerfile Device.h <Foundation/Device.h> 16 …A Device represents a remote or local computer or device with which the Developer Tools can intera… 18 @interface Device interface 20 …Device:{{.*}} FullCommentAsXML=[<Other file="{{[^"]+}}headerfile-comment-to-html.m" line="[[@LINE-… 27 // CHECK-NEXT: (CXComment_Text Text=[ Device.h ]) 29 // CHECK-NEXT: (CXComment_Text Text=[/Device.h>]))) 31 …_Text Text=[ A Device represents a remote or local computer or device with which the Develope… 36 \brief This is Sensor on the Device. 37 Its purpose is not to Sense Device's heat. 54 // CHECK-NEXT: (CXComment_Text Text=[ This is Sensor on the Device.] HasTrailingNewline) [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/ |
| H A D | rtl.cpp | 599 CUdevice Device; in initDevice() local 602 CUresult Err = cuDeviceGet(&Device, DeviceId); in initDevice() 654 Device); in initDevice() 794 CUdevice Device; in deinitDevice() local 795 if (!checkResult(cuCtxGetDevice(&Device), in deinitDevice() 1272 CUdevice Device; in printDeviceInfo() local 1273 checkResult(cuDeviceGet(&Device, DeviceId), in printDeviceInfo() 1391 Device), in printDeviceInfo() 1396 Device), in printDeviceInfo() 1494 if (!DeviceInfo->Device) { in initDeviceInfo() [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | barrier-ops.mlir | 8 // CHECK: spv.ControlBarrier Workgroup, Device, "Acquire|UniformMemory" 9 spv.ControlBarrier Workgroup, Device, "Acquire|UniformMemory" 17 spv.ControlBarrier Something, Device, "Acquire|UniformMemory" 29 // CHECK: spv.MemoryBarrier Device, "Acquire|UniformMemory" 30 spv.MemoryBarrier Device, "Acquire|UniformMemory" 46 spv.MemoryBarrier Device, "Acquire|Release"
|
| H A D | atomic-ops.mlir | 8 // CHECK: spv.AtomicAnd "Device" "None" %{{.*}}, %{{.*}} : !spv.ptr<i32, StorageBuffer> 9 %0 = spv.AtomicAnd "Device" "None" %ptr, %value : !spv.ptr<i32, StorageBuffer> 34 %0 = spv.AtomicAnd "Device" "Acquire|Release" %ptr, %value : !spv.ptr<i32, StorageBuffer> 247 // CHECK: spv.AtomicFAddEXT "Device" "None" %{{.*}}, %{{.*}} : !spv.ptr<f32, StorageBuffer> 248 %0 = spv.AtomicFAddEXT "Device" "None" %ptr, %value : !spv.ptr<f32, StorageBuffer> 272 %0 = spv.AtomicFAddEXT "Device" "Acquire|Release" %ptr, %value : !spv.ptr<f32, StorageBuffer>
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_settings.h | 32 __kmp_str_buf_print(buffer, " %s %s", KMP_I18N_STR(Device), name) 34 __kmp_str_buf_print(buffer, " %s %s='", KMP_I18N_STR(Device), x) 36 __kmp_str_buf_print(buffer, " %s %s='%s'\n", KMP_I18N_STR(Device), n, \ 41 __kmp_str_buf_print(buffer, " %s %s='%d'\n", KMP_I18N_STR(Device), name, \ 45 KMP_I18N_STR(Device), name, value); 47 __kmp_str_buf_print(buffer, " %s %s='%s'\n", KMP_I18N_STR(Device), name, \
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/objcxx/ |
| H A D | PlatformiOSSimulatorCoreSimulatorSupport.h | 49 friend class Device; variable 136 class Device { 149 Device(); 151 Device(id d); 203 Device GetDeviceAtIndex(size_t idx); 205 void ForEach(std::function<bool(const Device &)> f); 207 DeviceSet GetDevicesIf(std::function<bool(Device)> f); 211 Device GetFanciest(DeviceType::ProductFamilyID dev_id);
|
| H A D | PlatformiOSSimulatorCoreSimulatorSupport.mm | 100 CoreSimulatorSupport::Device::Device() : m_dev_type(), m_dev_runtime() {} function 102 CoreSimulatorSupport::Device::Device(id d) function 107 CoreSimulatorSupport::Device::State CoreSimulatorSupport::Device::GetState() { 576 CoreSimulatorSupport::Device 579 return Device([m_dev objectAtIndex:idx]); 580 return Device(); 587 Device d(GetDeviceAtIndex(i)); 596 std::function<bool(const Device &)> f) { 609 Device d(GetDeviceAtIndex(i)); 620 Device dev; [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | atomic-ops.mlir | 8 // CHECK: spv.AtomicAnd "Device" "None" %{{.*}}, %{{.*}} : !spv.ptr<i32, Workgroup> 9 %1 = spv.AtomicAnd "Device" "None" %ptr, %value : !spv.ptr<i32, Workgroup> 14 // CHECK: spv.AtomicIIncrement "Device" "Release" %{{.*}} : !spv.ptr<i32, Workgroup> 15 %4 = spv.AtomicIIncrement "Device" "Release" %ptr : !spv.ptr<i32, Workgroup> 22 // CHECK: spv.AtomicSMin "Device" "Release" %{{.*}}, %{{.*}} : !spv.ptr<i32, Workgroup> 23 %8 = spv.AtomicSMin "Device" "Release" %ptr, %value : !spv.ptr<i32, Workgroup> 26 // CHECK: spv.AtomicUMin "Device" "Release" %{{.*}}, %{{.*}} : !spv.ptr<i32, Workgroup> 27 %10 = spv.AtomicUMin "Device" "Release" %ptr, %value : !spv.ptr<i32, Workgroup>
|
| H A D | barrier-ops.mlir | 5 // CHECK: spv.MemoryBarrier Device, "Release|UniformMemory" 6 spv.MemoryBarrier Device, "Release|UniformMemory" 15 // CHECK: spv.ControlBarrier Device, Workgroup, "Release|UniformMemory" 16 spv.ControlBarrier Device, Workgroup, "Release|UniformMemory"
|
| /llvm-project-15.0.7/openmp/libomptarget/include/ |
| H A D | omptarget.h | 189 DeviceTy &Device; variable 192 AsyncInfoTy(DeviceTy &Device) : Device(Device) {} in AsyncInfoTy() argument 218 void *Device = nullptr; member
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | SyncScope.h | 116 Device = 2, enumerator 128 case Device: in map() 146 static_cast<unsigned>(WorkGroup), static_cast<unsigned>(Device), in getRuntimeValues()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVBarrierOps.td | 57 scope ::= `"CrossDevice"` | `"Device"` | `"Workgroup"` | ... 67 spv.ControlBarrier "Workgroup", "Device", "Acquire|UniformMemory" 110 scope ::= `"CrossDevice"` | `"Device"` | `"Workgroup"` | ... 120 spv.MemoryBarrier "Device", "Acquire|UniformMemory"
|
| H A D | SPIRVAtomicOps.td | 89 %0 = spv.AtomicAnd "Device" "None" %pointer, %value : 359 %0 = spv.AtomicIAdd "Device" "None" %pointer, %value : 399 %0 = spv.AtomicIDecrement "Device" "None" %pointer : 438 %0 = spv.AtomicIncrement "Device" "None" %pointer : 480 %0 = spv.AtomicISub "Device" "None" %pointer, %value : 521 %0 = spv.AtomicOr "Device" "None" %pointer, %value : 563 %0 = spv.AtomicSMax "Device" "None" %pointer, %value : 605 %0 = spv.AtomicSMin "Device" "None" %pointer, %value : 647 %0 = spv.AtomicUMax "Device" "None" %pointer, %value : 689 %0 = spv.AtomicUMin "Device" "None" %pointer, %value : [all …]
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | OffloadingDesign.rst | 51 * Compile the input file for the target :ref:`device <Device Compilation>` using 58 * Pass the fat object file to the :ref:`linker wrapper tool <Device Linking>` 61 * :ref:`Wrap <Device Binary Wrapping>` the :ref:`device images <Device linking>` 64 * Add the :ref:`wrapped binary <Device Binary Wrapping>` to the linker input and 136 which are used to create the :ref:`final image <Device Binary Wrapping>`. 142 Accessing Entries on the Device 190 Offload Device Compilation 238 will use this information when :ref:`Device Linking`. 253 Linking Target Device Code 273 Device Binary Wrapping [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformAppleSimulator.cpp | 60 CoreSimulatorSupport::Device device(GetSimulatorDevice()); in LaunchProcess() 62 if (device.GetState() != CoreSimulatorSupport::Device::State::Booted) { in LaunchProcess() 103 CoreSimulatorSupport::Device device = devices.GetDeviceAtIndex(i); in GetStatus() 110 if (m_device->GetState() == CoreSimulatorSupport::Device::State::Booted) { in GetStatus() 146 [this, &arg_str](const CoreSimulatorSupport::Device &device) -> bool { in ConnectRemote() 253 CoreSimulatorSupport::Device PlatformAppleSimulator::GetSimulatorDevice() { in GetSimulatorDevice() 265 return CoreSimulatorSupport::Device(); in GetSimulatorDevice()
|
| H A D | PlatformAppleSimulator.h | 115 llvm::Optional<CoreSimulatorSupport::Device> m_device; 128 CoreSimulatorSupport::Device GetSimulatorDevice();
|