Home
last modified time | relevance | path

Searched refs:HIP (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp183 Opts.HIP = Lang == Language::HIP; in setLangDefaults()
184 Opts.CUDA = Lang == Language::CUDA || Opts.HIP; in setLangDefaults()
185 if (Opts.HIP) { in setLangDefaults()
H A DLangStandards.cpp42 case Language::HIP: in languageToString()
114 case Language::HIP: in getDefaultLanguageStandard()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp194 if (CGM.getLangOpts().HIP) in addPrefixToName()
200 if (CGM.getLangOpts().HIP) in addUnderscoredPrefixToName()
241 if (CGM.getLangOpts().HIP) { in getLaunchFn()
308 (CGF.getLangOpts().HIP && CGF.getLangOpts().HIPUseNewLaunchAPI)) in emitDeviceStub()
352 if (CGF.getLangOpts().HIP) in emitDeviceStubBodyNew()
426 !CGF.getLangOpts().HIP) { in emitDeviceStubBodyNew()
589 if (CGM.getLangOpts().HIP || in makeRegisterGlobalsFn()
699 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction()
991 if (CGM.getLangOpts().HIP) { in makeModuleDtorFunction()
1132 StringRef Section = CGM.getLangOpts().HIP ? "hip_offloading_entries" in createOffloadingEntries()
[all …]
H A DCGDeclCXX.cpp798 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXModuleInitFunc()
956 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXGlobalInitFunc()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def260 LANGOPT(HIP , 1, 0, "HIP")
292 …eTemplates, 1, 0, "assume template functions to be implicitly host device by default for CUDA/HIP")
293 LANGOPT(GPUAllowDeviceInit, 1, 0, "allowing device side global init functions for HIP")
294 …(GPUMaxThreadsPerBlock, 32, 1024, "default max threads per block for kernel launch bounds for HIP")
295 LANGOPT(GPUDeferDiag, 1, 0, "defer host/device related diagnostic messages for CUDA/HIP")
296 …gSideOverloads, 1, 0, "always exclude wrong side overloads in overloading resolution for CUDA/HIP")
303 LANGOPT(HIPUseNewLaunchAPI, 1, 0, "Use new kernel launching API for HIP")
304 … that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise…
305 LANGOPT(HIPStdPar, 1, 0, "Enable Standard Parallel Algorithm Acceleration for HIP (experimental)")
306 … "Replace allocations / deallocations with HIP RT calls when Standard Parallel Algorithm Accelerat…
H A DSyncScope.h95 enum class AtomicScopeModelKind { None, OpenCL, HIP, Generic }; enumerator
279 case AtomicScopeModelKind::HIP: in create()
H A DLangStandard.h43 HIP, enumerator
H A DDiagnosticDriverKinds.td75 "cannot find HIP runtime; provide its path via '--rocm-path', or pass "
76 "'-nogpuinc' to build without HIP runtime">;
78 "cannot find HIP Standard Parallelism Acceleration library; provide it via "
81 "cannot find rocThrust, which is required by the HIP Standard Parallelism "
85 "cannot find rocPrim, which is required by the HIP Standard Parallelism "
89 "cannot find HIP device library%select{| for %1}0; provide its path via "
91 "without HIP device library">;
120 "mixed CUDA and HIP compilation is not supported">;
H A DDiagnosticCommonKinds.td436 // HIP
438 "'%0' is ignored since it is only supported for HIP">,
H A DFeatures.def307 // CUDA/HIP Features
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.h17 namespace HIP {
H A DHIPUtility.cpp216 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand()
275 void HIP::constructGenerateObjFileFromHIPFatBinary( in constructGenerateObjFileFromHIPFatBinary()
295 HIP::constructHIPFatbinCommand(C, JA, BundleFile, Inputs, Args, T); in constructGenerateObjFileFromHIPFatBinary()
H A DHIPSPV.cpp113 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob()
117 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
H A DHIPAMD.cpp235 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob()
239 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendOptions.cpp34 .Case("hip", Language::HIP) in getInputKindForExtension()
H A DInitPreprocessor.cpp599 if (!LangOpts.HIP) in InitializeStandardPredefinedMacros()
605 if (LangOpts.HIP) { in InitializeStandardPredefinedMacros()
1465 if (LangOpts.CUDAIsDevice && !LangOpts.HIP) { in InitializePredefinedMacros()
H A DCompilerInvocation.cpp639 if (Args.hasArg(OPT_fgpu_allow_device_init) && !LangOpts.HIP) in FixupInvocation()
643 if (Args.hasArg(OPT_gpu_max_threads_per_block_EQ) && !LangOpts.HIP) in FixupInvocation()
2805 case Language::HIP: in GenerateFrontendArgs()
3038 .Case("hip", Language::HIP) in ParseFrontendArgs()
3487 case Language::HIP: in IsInputCompatibleWithStandard()
3488 return S.getLanguage() == Language::CXX || S.getLanguage() == Language::HIP; in IsInputCompatibleWithStandard()
3522 case Language::HIP: in GetInputKindName()
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Daltera-pcie.txt6 For "altr,pcie-root-port-2.0", additional HIP base address and length.
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DAMDGPU.cpp285 bool IsHIPHost = Opts.HIP && !Opts.CUDAIsDevice; in getTargetDefines()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp183 if (getContext().getLangOpts().HIP) { in classifyKernelArgumentType()
343 const bool IsHIPKernel = M.getLangOpts().HIP && FD->hasAttr<CUDAGlobalAttr>(); in setFunctionDeclAttributes()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td191 def hip_Group : OptionGroup<"<HIP group>">, Group<f_Group>,
192 DocName<"HIP options">,
631 defvar hip = LangOpts<"HIP">;
1022 HelpText<"Pass <arg> to the CUDA/HIP host compilation">, MetaVarName<"<arg>">;
1024 HelpText<"Pass <arg> to the CUDA/HIP device compilation">, MetaVarName<"<arg>">;
1083 … that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise…
1203 HelpText<"Specify an offloading device architecture for CUDA, HIP, or OpenMP. (e.g. sm_35). "
1205 "For HIP offloading, the device architecture can be followed by target ID features "
1210 …HelpText<"Remove CUDA/HIP offloading device architecture (e.g. sm_35, gfx906) from the list of dev…
1249 "global attributes have implicit host device attributes (CUDA/HIP only)">,
[all …]
H A DTypes.def48 TYPE("hip", HIP, PP_HIP, "hip", phases::Preprocess, phase…
/freebsd/lib/libc/net/
H A Dprotocols146 hip 139 HIP # Host Identity Protocol (RFC5201)
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td156 def HIP : X86Reg<"", -1>;
243 def EIP : X86Reg<"eip", 0, [IP, HIP]>, DwarfRegNum<[-2, 8, 8]>;
570 (add HAX, HCX, HDX, HSI, HDI, HBX, HBP, HSP, HIP, R8WH,
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.def958 HANDLE_DW_LANG(0x0030, HIP, 0, 0, DWARF)
1021 // Conflict: HANDLE_DW_LNAME(0x001d, HIP, "HIP", 0)

12