Searched refs:IsHIP (Results 1 – 5 of 5) sorted by relevance
295 GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP) { in createFatbinDesc() argument302 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() argument379 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction()389 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()396 IsHIP ? "__start_hip_offloading_entries" in createRegisterGlobalsFunction()[all …]
693 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local697 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()
4504 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local4546 } 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 …]
775 bool IsHIP = in CreateOffloadingDeviceToolChains() local781 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains()801 } else if (IsHIP) { in CreateOffloadingDeviceToolChains()855 !IsHIP && !IsCuda) { in CreateOffloadingDeviceToolChains()
6262 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_load && in BuildAtomicExpr() local6369 if ((IsOpenCL || IsHIP) && Op != AtomicExpr::AO__opencl_atomic_init) in BuildAtomicExpr()6509 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()