Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp302 IsHIP ? ".hip_fatbin" in createFatbinDesc()
339 DummyEntry->setSection(IsHIP ? "hip_offloading_entries" in createFatbinDesc()
368 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP) { in createRegisterGlobalsFunction() argument
389 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() argument
550 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 …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCUDANV.cpp679 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction() local
683 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()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp4444 bool IsHIP = JA.isOffloading(Action::OFK_HIP); in ConstructJob() local
4522 (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 …]
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp737 bool IsHIP = in CreateOffloadingDeviceToolChains() local
743 if (IsCuda && IsHIP) { in CreateOffloadingDeviceToolChains()
763 } else if (IsHIP) { in CreateOffloadingDeviceToolChains()
817 !IsHIP && !IsCuda) { in CreateOffloadingDeviceToolChains()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp6065 bool IsHIP = Op >= AtomicExpr::AO__hip_atomic_load && in BuildAtomicExpr() local
6172 if ((IsOpenCL || IsHIP) && Op != AtomicExpr::AO__opencl_atomic_init) in BuildAtomicExpr()
6312 if (!IsC11 && !IsHIP && !IsN) { in BuildAtomicExpr()