Searched refs:IsHIP (Results 1 – 5 of 5) sorted by relevance
302 IsHIP ? ".hip_fatbin" in createFatbinDesc()339 DummyEntry->setSection(IsHIP ? "hip_offloading_entries" in createFatbinDesc()368 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP) { in createRegisterGlobalsFunction() argument389 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()396 IsHIP ? "__start_hip_offloading_entries" in createRegisterGlobalsFunction()403 IsHIP ? "__stop_hip_offloading_entries" in createRegisterGlobalsFunction()519 bool IsHIP) { in createRegisterFatbinFunction() argument550 IsHIP ? "__hipUnregisterFatBinary" : "__cudaUnregisterFatBinary", in createRegisterFatbinFunction()562 IsHIP ? ".hip.binary_handle" : ".cuda.binary_handle"); in createRegisterFatbinFunction()572 CtorBuilder.CreateCall(createRegisterGlobalsFunction(M, IsHIP), Handle); in createRegisterFatbinFunction()[all …]
679 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local683 if (CudaGpuBinaryFileName.empty() && !IsHIP) in makeModuleCtorFunction()685 if ((IsHIP || (IsCUDA && !RelocatableDeviceCode)) && EmittedKernels.empty() && in makeModuleCtorFunction()736 if (IsHIP) { in makeModuleCtorFunction()811 if (IsHIP) { in makeModuleCtorFunction()
4444 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local4522 (IsCuda || IsHIP) ? TC.getAuxTriple() : nullptr; in ConstructJob()4529 if (IsCuda || IsHIP) in ConstructJob()4555 if (IsCuda || IsHIP) { in ConstructJob()5792 if (IsHIP) in ConstructJob()6319 if (IsHIP) { in ConstructJob()6330 if (IsCuda || IsHIP) { in ConstructJob()7006 if ((IsCuda || IsHIP) && CudaDeviceInput) { in ConstructJob()7010 if ((IsCuda || IsHIP) && !IsRDCMode) { in ConstructJob()7027 if (IsCuda || IsHIP) { in ConstructJob()[all …]
737 bool IsHIP = in CreateOffloadingDeviceToolChains() local743 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains()763 } else if (IsHIP) { in CreateOffloadingDeviceToolChains()817 !IsHIP && !IsCuda) { in CreateOffloadingDeviceToolChains()
6065 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_load && in BuildAtomicExpr() local6172 if ((IsOpenCL || IsHIP) && Op != AtomicExpr::AO__opencl_atomic_init) in BuildAtomicExpr()6312 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()