Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp266 GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP, in createFatbinDesc() argument
274 IsHIP ? ".hip_fatbin" in createFatbinDesc()
283 StringRef FatbinWrapperSection = IsHIP ? ".hipFatBinSegment" in createFatbinDesc()
287 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
331 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP, in createRegisterGlobalsFunction() argument
348 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction()
357 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()
366 IsHIP ? "__hipRegisterManagedVar" : "__cudaRegisterManagedVar", in createRegisterGlobalsFunction()
376 IsHIP ? "__hipRegisterSurface" : "__cudaRegisterSurface", RegSurfaceTy); in createRegisterGlobalsFunction()
385 IsHIP ? "__hipRegisterTexture" : "__cudaRegisterTexture", RegTextureTy); in createRegisterGlobalsFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp761 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local
765 if (CudaGpuBinaryFileName.empty() && !IsHIP) in makeModuleCtorFunction()
767 if ((IsHIP || (IsCUDA && !RelocatableDeviceCode)) && EmittedKernels.empty() && in makeModuleCtorFunction()
819 if (IsHIP) { in makeModuleCtorFunction()
895 if (IsHIP) { in makeModuleCtorFunction()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp4890 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local
4937 } else if ((IsCuda || IsHIP) && !CudaDeviceInput) { in ConstructJob()
4947 (IsCuda || IsHIP) ? TC.getAuxTriple() : nullptr; in ConstructJob()
4955 if (IsCuda || IsHIP || IsSYCL) in ConstructJob()
4981 if (IsCuda || IsHIP) { in ConstructJob()
6953 if (IsHIP) { in ConstructJob()
6965 if (IsCuda || IsHIP) { in ConstructJob()
7718 if ((IsCuda || IsHIP) && CudaDeviceInput) { in ConstructJob()
7739 if (IsCuda || IsHIP) { in ConstructJob()
7763 if (IsHIP) { in ConstructJob()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp966 bool IsHIP = in CreateOffloadingDeviceToolChains() local
975 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains()
997 } else if (IsHIP && !UseLLVMOffload) { in CreateOffloadingDeviceToolChains()
1021 if (IsCuda || IsHIP) in CreateOffloadingDeviceToolChains()
1030 ((IsCuda || IsHIP) && UseLLVMOffload) || in CreateOffloadingDeviceToolChains()
1089 ((!IsHIP && !IsCuda) || UseLLVMOffload)) { in CreateOffloadingDeviceToolChains()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp3973 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_compare_exchange_strong && in BuildAtomicExpr() local
4128 if ((IsOpenCL || IsHIP || IsScoped) && in BuildAtomicExpr()
4302 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()