Home
last modified time | relevance | path

Searched refs:IsHIP (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp295 GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP) { in createFatbinDesc() argument
302 IsHIP ? ".hip_fatbin" in createFatbinDesc()
311 StringRef FatbinWrapperSection = IsHIP ? ".hipFatBinSegment" in createFatbinDesc()
315 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
337 IsHIP ? "__dummy.hip_offloading.entry" : "__dummy.cuda_offloading.entry"); in createFatbinDesc()
339 DummyEntry->setSection(IsHIP ? "hip_offloading_entries" in createFatbinDesc()
368 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP) { in createRegisterGlobalsFunction() argument
379 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction()
389 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()
396 IsHIP ? "__start_hip_offloading_entries" in createRegisterGlobalsFunction()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCUDANV.cpp693 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local
697 if (CudaGpuBinaryFileName.empty() && !IsHIP) in makeModuleCtorFunction()
699 if ((IsHIP || (IsCUDA && !RelocatableDeviceCode)) && EmittedKernels.empty() && in makeModuleCtorFunction()
750 if (IsHIP) { in makeModuleCtorFunction()
824 if (IsHIP) { in makeModuleCtorFunction()
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DClang.cpp4504 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local
4546 } else if ((IsCuda || IsHIP) && !CudaDeviceInput) { in ConstructJob()
4556 (IsCuda || IsHIP) ? TC.getAuxTriple() : nullptr; in ConstructJob()
4563 if (IsCuda || IsHIP) in ConstructJob()
4589 if (IsCuda || IsHIP) { in ConstructJob()
6457 if (IsHIP) { in ConstructJob()
6468 if (IsCuda || IsHIP) { in ConstructJob()
7160 if ((IsCuda || IsHIP) && CudaDeviceInput) { in ConstructJob()
7164 if ((IsCuda || IsHIP) && !IsRDCMode) { in ConstructJob()
7181 if (IsCuda || IsHIP) { in ConstructJob()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Driver/
H A DDriver.cpp775 bool IsHIP = in CreateOffloadingDeviceToolChains() local
781 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains()
801 } else if (IsHIP) { in CreateOffloadingDeviceToolChains()
855 !IsHIP && !IsCuda) { in CreateOffloadingDeviceToolChains()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp6262 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_load && in BuildAtomicExpr() local
6369 if ((IsOpenCL || IsHIP) && Op != AtomicExpr::AO__opencl_atomic_init) in BuildAtomicExpr()
6509 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()