Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DLangOptions.cpp187 Opts.HIP = Lang == Language::HIP; in setLangDefaults()
188 Opts.CUDA = Lang == Language::CUDA || Opts.HIP; in setLangDefaults()
189 if (Opts.HIP) { in setLangDefaults()
H A DLangStandards.cpp40 case Language::HIP: in languageToString()
113 case Language::HIP: in getDefaultLanguageStandard()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp237 else if (CGM.getLangOpts().HIP) in CGNVCUDARuntime()
252 if (CGM.getLangOpts().HIP) { in getLaunchFn()
319 (CGF.getLangOpts().HIP && CGF.getLangOpts().HIPUseNewLaunchAPI) || in emitDeviceStub()
414 if (CGF.getLangOpts().HIP) in emitDeviceStubBodyNew()
488 !CGF.getLangOpts().HIP) { in emitDeviceStubBodyNew()
651 if (CGM.getLangOpts().HIP || in makeRegisterGlobalsFn()
761 bool IsHIP = CGM.getLangOpts().HIP; in makeModuleCtorFunction()
1056 if (CGM.getLangOpts().HIP) { in makeModuleDtorFunction()
1197 llvm::object::OffloadKind Kind = CGM.getLangOpts().HIP in createOffloadingEntries()
1284 (CGM.getLangOpts().HIP || RelocatableDeviceCode))) in finalizeModule()
[all …]
H A DCGDeclCXX.cpp818 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXModuleInitFunc()
979 if (getLangOpts().HIP && getLangOpts().CUDAIsDevice) { in EmitCXXGlobalInitFunc()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.def224 LANGOPT(HIP , 1, 0, NotCompatible, "HIP")
255 …0, NotCompatible, "assume template functions to be implicitly host device by default for CUDA/HIP")
256 …GOPT(GPUAllowDeviceInit, 1, 0, NotCompatible, "allowing device side global init functions for HIP")
257 …erBlock, 32, 1024, NotCompatible, "default max threads per block for kernel launch bounds for HIP")
258 …PT(GPUDeferDiag, 1, 0, NotCompatible, "defer host/device related diagnostic messages for CUDA/HIP")
259 … 1, 0, NotCompatible, "always exclude wrong side overloads in overloading resolution for CUDA/HIP")
267 LANGOPT(HIPUseNewLaunchAPI, 1, 0, NotCompatible, "Use new kernel launching API for HIP")
268 … that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise…
269 LANGOPT(HIPStdPar, 1, 0, NotCompatible, "Enable Standard Parallel Algorithm Acceleration for HIP (e…
270 … "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.h42 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">;
118 "mixed CUDA and HIP compilation is not supported">;
H A DDiagnosticCommonKinds.td426 // HIP
428 "'%0' is ignored since it is only supported for HIP">,
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.h17 namespace HIP {
H A DHIPUtility.cpp278 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand()
341 void HIP::constructGenerateObjFileFromHIPFatBinary( in constructGenerateObjFileFromHIPFatBinary()
361 HIP::constructHIPFatbinCommand(C, JA, BundleFile, Inputs, Args, T); in constructGenerateObjFileFromHIPFatBinary()
H A DHIPSPV.cpp112 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob()
116 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
H A DHIPAMD.cpp197 return HIP::constructGenerateObjFileFromHIPFatBinary(C, Output, Inputs, in ConstructJob()
201 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.cpp605 if (!LangOpts.HIP) in InitializeStandardPredefinedMacros()
611 if (LangOpts.HIP) { in InitializeStandardPredefinedMacros()
1492 if (LangOpts.CUDAIsDevice && !LangOpts.HIP) { in InitializePredefinedMacros()
H A DCompilerInvocation.cpp643 if (Args.hasArg(OPT_fgpu_allow_device_init) && !LangOpts.HIP) in FixupInvocation()
647 if (Args.hasArg(OPT_gpu_max_threads_per_block_EQ) && !LangOpts.HIP) in FixupInvocation()
2984 case Language::HIP: in GenerateFrontendArgs()
3218 .Case("hip", Language::HIP) in ParseFrontendArgs()
3678 case Language::HIP: in IsInputCompatibleWithStandard()
3679 return S.getLanguage() == Language::CXX || S.getLanguage() == Language::HIP; in IsInputCompatibleWithStandard()
3711 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/CodeGen/Targets/
H A DSPIR.cpp233 if (getABIInfo().getContext().getLangOpts().HIP) { in setCUDAKernelCallingConvention()
270 if (!M.getLangOpts().HIP || in setTargetAttributes()
H A DAMDGPU.cpp195 if (getContext().getLangOpts().HIP) { in classifyKernelArgumentType()
354 const bool IsHIPKernel = M.getLangOpts().HIP && FD->hasAttr<CUDAGlobalAttr>(); in setFunctionDeclAttributes()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DAMDGPU.cpp302 bool IsHIPHost = Opts.HIP && !Opts.CUDAIsDevice; in getTargetDefines()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td192 def hip_Group : OptionGroup<"<HIP group>">, Group<f_Group>,
193 DocName<"HIP options">,
634 defvar hip = LangOpts<"HIP">;
952 HelpText<"Pass <arg> to the CUDA/HIP host compilation">, MetaVarName<"<arg>">;
954 HelpText<"Pass <arg> to the CUDA/HIP device compilation">, MetaVarName<"<arg>">;
1030 … that kernels are launched with uniform block sizes (default true for CUDA/HIP and false otherwise…
1155 HelpText<"Specify an offloading device architecture for CUDA, HIP, or OpenMP. (e.g. sm_35). "
1157 "For HIP offloading, the device architecture can be followed by target ID features "
1161 …HelpText<"Remove CUDA/HIP offloading device architecture (e.g. sm_35, gfx906) from the list of dev…
1202 "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.td158 def HIP : X86Reg<"", -1>;
245 def EIP : X86Reg<"eip", 0, [IP, HIP]>, DwarfRegNum<[-2, 8, 8]>;
576 (add HAX, HCX, HDX, HSI, HDI, HBX, HBP, HSP, HIP, R8WH,
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDwarf.def968 HANDLE_DW_LANG(0x0030, HIP, 0, 0, DWARF)
1032 // Conflict: HANDLE_DW_LNAME(0x001d, HIP, "HIP", 0)

12