Searched refs:IsHIP (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | OffloadWrapper.cpp | 266 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() 328 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP, in createRegisterGlobalsFunction() argument 345 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction() 354 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction() 363 IsHIP ? "__hipRegisterSurface" : "__cudaRegisterSurface", RegSurfaceTy); in createRegisterGlobalsFunction() 372 IsHIP ? "__hipRegisterTexture" : "__cudaRegisterTexture", RegTextureTy); in createRegisterGlobalsFunction() 378 IsHIP ? ".hip.globals_reg" : ".cuda.globals_reg", &M); in createRegisterGlobalsFunction() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 699 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local 703 if (CudaGpuBinaryFileName.empty() && !IsHIP) in makeModuleCtorFunction() 705 if ((IsHIP || (IsCUDA && !RelocatableDeviceCode)) && EmittedKernels.empty() && in makeModuleCtorFunction() 757 if (IsHIP) { in makeModuleCtorFunction() 831 if (IsHIP) { in makeModuleCtorFunction()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | Clang.cpp | 4911 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local 4953 } else if ((IsCuda || IsHIP) && !CudaDeviceInput) { in ConstructJob() 4963 (IsCuda || IsHIP) ? TC.getAuxTriple() : nullptr; in ConstructJob() 4970 if (IsCuda || IsHIP) in ConstructJob() 4996 if (IsCuda || IsHIP) { in ConstructJob() 6909 if (IsHIP) { in ConstructJob() 6921 if (IsCuda || IsHIP) { in ConstructJob() 7662 if ((IsCuda || IsHIP) && CudaDeviceInput) { in ConstructJob() 7666 if ((IsCuda || IsHIP) && !IsRDCMode) { in ConstructJob() 7683 if (IsCuda || IsHIP) { in ConstructJob() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | Driver.cpp | 785 bool IsHIP = in CreateOffloadingDeviceToolChains() local 792 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains() 818 } else if (IsHIP) { in CreateOffloadingDeviceToolChains() 873 !IsHIP && !IsCuda) { in CreateOffloadingDeviceToolChains()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaChecking.cpp | 3585 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_compare_exchange_strong && in BuildAtomicExpr() local 3732 if ((IsOpenCL || IsHIP || IsScoped) && in BuildAtomicExpr() 3884 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()
|