| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | lambda-attr.cu | 5 __attribute__((host, device)) void hd_fn() {} in hd_fn() 23 __attribute__((host)) __attribute__((device)) void host_device_attrs() { in host_device_attrs() 24 ([]() __attribute__((host)) __attribute__((device)){ hd_fn(); })(); in host_device_attrs() 27 ([] __attribute__((host)) __attribute__((device)) () { hd_fn(); })(); in host_device_attrs() 28 ([] __attribute__((host)) __attribute__((device)) { hd_fn(); })(); in host_device_attrs() 30 ([&]() __attribute__((host)) __attribute__((device)){ hd_fn(); })(); in host_device_attrs() 33 ([&] __attribute__((host)) __attribute__((device)) () { hd_fn(); })(); in host_device_attrs() 34 ([&] __attribute__((host)) __attribute__((device)) { hd_fn(); })(); in host_device_attrs() 36 ([&](int) __attribute__((host)) __attribute__((device)){ hd_fn(); })(0); in host_device_attrs() 39 ([&] __attribute__((host)) __attribute__((device)) (int) { hd_fn(); })(0); in host_device_attrs()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Support/ |
| H A D | InternalNames.cpp | 41 if (host) in doModulesHost() 42 result.append("F").append(host->lower()); in doModulesHost() 159 result.append(doModulesHost(modules, host)).append("C"); in doIntrinsicTypeDescriptor() 195 auto rhost = convertToStringRef(host); in doTypeDescriptor() 227 llvm::Optional<std::string> host; in deconstruct() local 283 host = readName(uniq, i, i + 1, end); in deconstruct() 312 !deconstructResult.second.host; in isExternalFacingUniquedName() 348 llvm::Optional<llvm::StringRef> host; in getTypeDescriptorName() local 349 if (result.second.host) in getTypeDescriptorName() 350 host = *result.second.host; in getTypeDescriptorName() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestIOSSimulator.py | 14 def __init__(self, host, process): argument 15 self.host_ostype = host 31 def platform_test(self, host, process, expected_triple): argument 32 self.server.responder = self.MyResponder(host, process) 44 self.platform_test(host="macosx", process="macosx", 49 self.platform_test(host="macosx", process="iossimulator", 54 self.platform_test(host="macosx", process="maccatalyst", 59 self.platform_test(host="macosx", process="tvossimulator", 64 self.platform_test(host="macosx", process="watchossimulator",
|
| H A D | TestPlatformMacOSX.py | 12 def __init__(self, host): argument 13 self.host_ostype = host 30 def platform_test(self, host, expected_triple, expected_platform): argument 31 self.server.responder = self.MyResponder(host) 48 self.platform_test(host="ios", 56 self.platform_test(host="macosx",
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Support/ |
| H A D | InternalNames.h | 52 llvm::Optional<std::string> host, llvm::StringRef name, in DeconstructedName() 54 : modules{modules.begin(), modules.end()}, host{host}, name{name}, in DeconstructedName() 58 llvm::Optional<std::string> host; member 71 llvm::Optional<llvm::StringRef> host, 76 llvm::Optional<llvm::StringRef> host, 86 llvm::Optional<llvm::StringRef> host, 91 llvm::Optional<llvm::StringRef> host, 96 llvm::Optional<llvm::StringRef> host, 106 llvm::Optional<std::string> host, 113 llvm::Optional<llvm::StringRef> host, [all …]
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | hip-phases.hip | 165 // RUN: --cuda-gpu-arch=gfx803 %s --cuda-host-only 2>&1 \ 231 // DBIN-NOT: host 245 // DASM-NOT: host 270 // DBIN2-NOT: host 303 // DASM2-NOT: host 419 // PPE-NOT: host 429 // PPE2-NOT: host 436 // LLVM-NOT: host 449 // LLVM2-NOT: host 460 // PPELLVM2-NOT: host [all …]
|
| H A D | hip-save-temps.hip | 34 // -fgpu-rdc host object path 35 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-E" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-g… 36 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-emit-llvm-bc" {{.*}} "-o" "hip-save-temps-host-x86_64-unkn… 37 // RDCL: "{{.*clang.*}}" "-cc1" {{.*}} "-S" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-g… 38 // RDCL: "{{.*clang.*}}" "-cc1as" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-gnu.o" 58 // RDCC: "{{.*clang.*}}" "-cc1" {{.*}} "-E" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-g… 60 // RDCC: "{{.*clang.*}}" "-cc1" {{.*}} "-S" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-g… 61 // RDCC: "{{.*clang.*}}" "-cc1as" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-gnu.o" 66 // -fno-gpu-rdc host object path 67 // NORDC: "{{.*clang.*}}" "-cc1" {{.*}} "-E" {{.*}} "-o" "hip-save-temps-host-x86_64-unknown-linux-… [all …]
|
| /llvm-project-15.0.7/libc/AOR_v20.02/math/ |
| H A D | Dir.mk | 16 math-test-host-srcs := $(wildcard $(S)/test/rtest/*.[cS]) 31 math-host-tools := \ 36 math-host-objs := $(patsubst $(S)/%,$(B)/%.o,$(basename $(math-test-host-srcs))) 38 math-objs := $(math-target-objs) $(math-target-objs:%.o=%.os) $(math-host-objs) 44 $(math-host-tools) \ 52 $(math-host-objs): CC = $(HOST_CC) 53 $(math-host-objs): CFLAGS_ALL = $(HOST_CFLAGS) 65 $(math-host-tools): HOST_LDLIBS += -lm -lmpfr -lmpc 68 build/bin/rtest: $(math-host-objs) 96 check-math-rtest: $(math-host-tools) $(math-tools)
|
| /llvm-project-15.0.7/clang/test/CodeGenCUDASPIRV/ |
| H A D | copy-aggregate-byval.cu | 16 __attribute__((host)) __attribute__((device)) GpuData(int* src) {} in GpuData() 17 __attribute__((host)) __attribute__((device)) ~GpuData() {} in ~GpuData() 18 __attribute__((host)) __attribute__((device)) GpuData(const GpuData& other) {} in GpuData() 19 __attribute__((host)) __attribute__((device)) GpuData(GpuData&& other) {} in GpuData()
|
| /llvm-project-15.0.7/utils/bazel/llvm_configs/ |
| H A D | config.h.cmake | 230 /* Have host's _alloca */ 239 /* Have host's __alloca */ 242 /* Have host's __ashldi3 */ 245 /* Have host's __ashrdi3 */ 248 /* Have host's __chkstk */ 254 /* Have host's __cmpdi2 */ 257 /* Have host's __divdi3 */ 260 /* Have host's __fixdfdi */ 263 /* Have host's __fixsfdi */ 272 /* Have host's __main */ [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Config/ |
| H A D | config.h.cmake | 230 /* Have host's _alloca */ 239 /* Have host's __alloca */ 242 /* Have host's __ashldi3 */ 245 /* Have host's __ashrdi3 */ 248 /* Have host's __chkstk */ 254 /* Have host's __cmpdi2 */ 257 /* Have host's __divdi3 */ 260 /* Have host's __fixdfdi */ 263 /* Have host's __fixsfdi */ 272 /* Have host's __main */ [all …]
|
| /llvm-project-15.0.7/clang/test/OpenMP/ |
| H A D | declare_variant_mixed_codegen.cpp | 42 #pragma omp declare variant(bazzz) match(implementation = {vendor(llvm)}, device={kind(host)}) 56 #pragma omp declare variant(stat_used_) match(implementation = {vendor(llvm)}, device={kind(host)}) 75 match(implementation = {vendor(llvm)}, device={kind(host)}) 91 match(implementation = {vendor(llvm)}, device={kind(host)}) 106 …mp declare variant(prio1) match(implementation = {vendor(score(2): llvm)}, device={kind(cpu,host)}) 115 …mp declare variant(prio2) match(implementation = {vendor(score(8): llvm)}, device={kind(cpu,host)}) 128 …mp declare variant(fn_linkage_variant1) match(implementation = {vendor(llvm)}, device={kind(host)})
|
| H A D | metadirective_device_kind_codegen.c | 14 #pragma omp metadirective when(device = {kind(host, cpu)} \ in foo() 18 #pragma omp metadirective when(device = {kind(host)} \ in foo() 29 #pragma omp metadirective when(device = {kind(any, host)} \ in foo()
|
| H A D | metadirective_device_kind_codegen.cpp | 15 #pragma omp metadirective when(device = {kind(host, cpu)} \ in foo() 19 #pragma omp metadirective when(device = {kind(host)} \ in foo() 30 #pragma omp metadirective when(device = {kind(any, host)} \ in foo()
|
| H A D | declare_variant_ast_print.cpp | 49 …riant(foofoo <T>) match(implementation={vendor(score(C+5): ibm, xxx, ibm)},device={kind(cpu,host)}) 123 …lare variant(fn_deduced_variant) match(implementation = {vendor(llvm)}, device = {kind(cpu, host)}) 136 … variant(fn_deduced_variant1) match(implementation = {vendor(unknown)}, device = {kind(cpu, host)}) 170 …re variant(SpecialFuncs::baz) match(implementation = {vendor(unknown)}, device = {kind(cpu, host)}) 207 …eclare variant(fn_linkage_variant) match(implementation = {vendor(ti)}, device = {kind(cpu, host)}) 215 …lare variant(fn_linkage_variant1) match(implementation = {vendor(gnu)}, device = {kind(cpu, host)})
|
| H A D | declare_target_only_one_side_compilation.cpp | 34 #pragma omp begin declare target device_type(host) 46 #pragma omp declare target to(G9, G10, G11, G12) device_type(host) 51 #pragma omp begin declare variant match(device = {kind(host)})
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/QemuUser/ |
| H A D | PlatformQemuUser.cpp | 129 Environment host) { in ComputeLaunchEnvironment() argument 134 auto host_it = host.find(KV.first()); in ComputeLaunchEnvironment() 135 if (host_it == host.end() || host_it->second != KV.second) in ComputeLaunchEnvironment() 141 for (const auto &KV : host) { in ComputeLaunchEnvironment() 152 host["QEMU_SET_ENV"] = llvm::join(set_env, ","); in ComputeLaunchEnvironment() 157 host["QEMU_UNSET_ENV"] = llvm::join(unset_env, ","); in ComputeLaunchEnvironment() 159 return host; in ComputeLaunchEnvironment()
|
| /llvm-project-15.0.7/openmp/libomptarget/docs/ |
| H A D | declare_target_indirect.md | 4 > 19 An indirect call to the device version of a procedure on a device other than the host<br> 6 > 21 a procedure pointer (Fortran) that refers to the host version of the procedure. 23 The offload entries table that is created for the host and for each of the device images currently … 39 …it translates the original function pointer (which may be an address of a host function) into the … 61 // Translate \p FnPtr identifying a host function into a function pointer 63 // If \p FnPtr matches an address of any host function 67 // of any host function, then the API returns \p FnPtr 85 Where `host_ptr` is `__tgt_offload_entry::addr` in a **host** offload entry, and `tgt_ptr` is `__tg… 87 When all `__omp_offloading_function_ptr_map_ty` entries are collected in a single host array, `libo… 94 // mapping between host and device addresses of 'declare target indirect' [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/OpenACC/ |
| H A D | canonicalize.mlir | 47 acc.update if(%ifCond) host(%a: memref<10xf32>) 51 // CHECK: acc.update host(%{{.*}} : memref<10xf32>) 57 acc.update if(%ifCond) host(%a: memref<10xf32>) 87 acc.update if(%ifCond) host(%a: memref<10xf32>) 92 // CHECK: acc.update if(%{{.*}}) host(%{{.*}} : memref<10xf32>)
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | OffloadingDesign.rst | 35 compiling the input file for both the host and the target device. The output 36 from the device phase then needs to be embedded into the host to create a fat 53 by the host. 63 can be accessed by the host. 65 run the host linking action. Link with ``libomptarget`` to register and 150 table mapping host pointers to device pointers. Global variables inside a 153 map the host address to the device address. 196 ``-fopenmp-is-device`` flag to the front-end. We use the host bitcode to 198 from the previous stage using the ``-fopenmp-host-ir-file-path`` flag. 203 class of errors where a symbol in the target device could preempt a host [all …]
|
| /llvm-project-15.0.7/clang/utils/CIndex/ |
| H A D | completion_logger_server.py | 13 host = sys.argv[1] 16 addr = (host,port) 22 print("Listing on {0}:{1} and logging to '{2}'".format(host, port, sys.argv[3]))
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/ |
| H A D | debugserver.cpp | 725 static int ConnectRemote(RNBRemote *remote, const char *host, int port, in ConnectRemote() argument 735 if (remote->Comm().Connect(host, port) != rnb_success) { in ConnectRemote() 742 host ? host : "127.0.0.1"); in ConnectRemote() 1358 std::string host; in main() local 1372 host = host_specifier.substr(0, colon_location); in main() 1379 if (host.front() == '[' && host.back() == ']') in main() 1380 host = host.substr(1, host.size() - 2); in main() 1381 DNBLogDebug("host = '%s' port = %i", host.c_str(), port); in main() 1386 host = "127.0.0.1"; in main() 1387 DNBLogDebug("host = '%s' port = %i", host.c_str(), port); in main() [all …]
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics-library.cpp | 103 TypeVector::Create<host::FortranType<HostTA>...>()}; 109 host::HostFloatingPointEnvironment &hostFPE, const Scalar<TR> &x) { in CheckFloatingPointIssues() 146 host::HostFloatingPointEnvironment hostFPE; in ApplyHostFunctionHelper() 148 host::HostType<TR> hostResult{}; in ApplyHostFunctionHelper() 154 hostResult = func(host::CastFortranToHost<TA>( in ApplyHostFunctionHelper() 156 result = FlushSubnormals<TR>(host::CastHostToFortran<TR>(hostResult)); in ApplyHostFunctionHelper() 159 result = host::CastHostToFortran<TR>(hostResult); in ApplyHostFunctionHelper() 170 return ApplyHostFunctionHelper<decltype(func), host::FortranType<HostTR>, in ApplyHostFunction() 171 host::FortranType<HostTA>...>( in ApplyHostFunction() 432 if constexpr (host::FortranTypeExists<HostT>()) { in GetHostRuntimeMapHelper() [all …]
|
| /llvm-project-15.0.7/lldb/test/Shell/Expr/ |
| H A D | TestIRMemoryMap.test | 6 # RUN: lldb-test ir-memory-map -host-only %t %S/Inputs/ir-memory-map-basic 9 # RUN: lldb-test ir-memory-map -host-only %t %S/Inputs/ir-memory-map-overlap1 12 # RUN: lldb-test ir-memory-map -host-only %t %S/Inputs/ir-memory-map-mix-malloc-free
|
| /llvm-project-15.0.7/clang/lib/Headers/cuda_wrappers/ |
| H A D | complex | 30 // First, include host-only headers we think are likely to be included by 50 // set of overloads on host and device. 52 // // Present only when compiling for host. 57 // // Present when compiling for host and for device. 66 // resolve to the same function as they resolve to when compiling for host. We 68 // codegen this host code when compiling for device.
|