/freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
H A D | Compilation.h | 60 std::multimap<Action::OffloadKind, const ToolChain *> 86 Action::OffloadKind DeviceOffloadKind = Action::OFK_None; 89 Action::OffloadKind DeviceOffloadKind) in TCArgsKey() 145 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind() 153 const std::multimap<Action::OffloadKind, 159 template <Action::OffloadKind Kind> 165 getOffloadToolChains(Action::OffloadKind Kind) const { in getOffloadToolChains() 170 template <Action::OffloadKind Kind> bool hasOffloadToolChain() const { in hasOffloadToolChain() 177 template <Action::OffloadKind Kind> 189 Action::OffloadKind OffloadKind) { in addOffloadDeviceToolChain() argument [all …]
|
H A D | Action.h | 87 enum OffloadKind { enum 126 OffloadKind OffloadingDeviceKind = OFK_None; 181 GetOffloadingFileNamePrefix(OffloadKind Kind, 186 static StringRef GetOffloadKindName(OffloadKind Kind); 190 void propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch, 210 OffloadKind getOffloadingDeviceKind() const { return OffloadingDeviceKind; } in getOffloadingDeviceKind() 221 bool isDeviceOffloading(OffloadKind OKind) const { in isDeviceOffloading() 224 bool isOffloading(OffloadKind OKind) const { in isOffloading() 278 using OffloadKindList = SmallVector<OffloadKind, 3>; 302 OffloadKind OKind); [all …]
|
H A D | Driver.h | 513 Action::OffloadKind Kind, const ToolChain *TC, 641 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const; 651 Action::OffloadKind TargetDeviceOffloadKind) const; 777 const Action::OffloadKind &TargetDeviceOffloadKind) const; 792 Action::OffloadKind TargetDeviceOffloadKind) const;
|
H A D | OffloadBundler.h | 79 llvm::StringRef OffloadKind; member
|
H A D | ToolChain.h | 360 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs() 384 Action::OffloadKind DeviceOffloadKind, 680 Action::OffloadKind DeviceOffloadKind) const;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | OffloadBinary.h | 33 enum OffloadKind : uint16_t { 72 OffloadKind TheOffloadKind; 87 OffloadKind getOffloadKind() const { return TheEntry->TheOffloadKind; } in getVersion() 117 OffloadKind TheOffloadKind; // The producer of this image. 197 OffloadKind getOffloadKind(StringRef Name); 200 StringRef getOffloadKindName(OffloadKind Name); 32 enum OffloadKind : uint16_t { global() enum
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | OffloadYAML.h | 34 std::optional<object::OffloadKind> OffloadKind; 60 template <> struct ScalarEnumerationTraits<object::OffloadKind> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 61 static void enumeration(IO &IO, object::OffloadKind &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR() 35 std::optional<object::OffloadKind> OffloadKind; global() member
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | OffloadYAML.cpp | 34 void ScalarEnumerationTraits<object::OffloadKind>::enumeration( in enumeration() 35 IO &IO, object::OffloadKind &Value) { in enumeration() 70 IO.mapOptional("OffloadKind", M.OffloadKind); in mapping()
|
H A D | OffloadEmitter.cpp | 26 if (Member.OffloadKind) in yaml2offload() 27 Image.TheOffloadKind = *Member.OffloadKind; in yaml2offload()
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
H A D | AMDGPU.h | 76 Action::OffloadKind DeviceOffloadKind) const override; 80 Action::OffloadKind DeviceOffloadKind) const override; 136 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | Cuda.h | 143 Action::OffloadKind DeviceOffloadKind) const override; 148 Action::OffloadKind DeviceOffloadKind) const override; 202 Action::OffloadKind DeviceOffloadKind) const override; 206 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | AMDGPUOpenMP.h | 38 Action::OffloadKind DeviceOffloadKind) const override; 42 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | HIPAMD.h | 65 Action::OffloadKind DeviceOffloadKind) const override; 69 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | HIPUtility.cpp | 235 std::string OffloadKind = "hip"; in constructHIPFatbinCommand() local 238 OffloadKind = OffloadKind + "v4"; in constructHIPFatbinCommand() 243 "," + OffloadKind + "-" + normalizeForBundler(TT, !ArchStr.empty()); in constructHIPFatbinCommand()
|
H A D | MSVC.h | 52 Action::OffloadKind DeviceOffloadKind) const override; 123 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | AMDGPUOpenMP.cpp | 44 Action::OffloadKind DeviceOffloadingKind) const { in addClangTargetOptions() 66 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs()
|
H A D | Cuda.cpp | 715 Action::OffloadKind OffloadKind) const { in TranslateArgs() 716 DerivedArgList *DAL = ToolChain::TranslateArgs(Args, BoundArch, OffloadKind); in TranslateArgs() 726 if (!DAL->hasArg(options::OPT_march_EQ) && OffloadKind != Action::OFK_None) { in TranslateArgs() 730 OffloadKind == Action::OFK_None) { in TranslateArgs() 751 Action::OffloadKind DeviceOffloadingKind) const { in addClangTargetOptions() 822 Action::OffloadKind DeviceOffloadingKind) const { in addClangTargetOptions() 925 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs()
|
H A D | HLSL.h | 51 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | VEToolchain.h | 40 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | RISCVToolchain.h | 27 Action::OffloadKind) const override;
|
H A D | Darwin.h | 243 Action::OffloadKind DeviceOffloadKind) const override; 533 Action::OffloadKind DeviceOffloadKind) const override; 556 Action::OffloadKind DeviceOffloadKind) const override;
|
H A D | AIX.h | 85 Action::OffloadKind DeviceOffloadingKind) const override;
|
/freebsd/contrib/llvm-project/clang/lib/Driver/ |
H A D | Action.cpp | 58 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch, in propagateDeviceOffloadInfo() 140 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix() 156 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName() 308 OffloadKind OKind) { in add() 323 for (OffloadKind OKind : {OFK_OpenMP, OFK_Cuda, OFK_HIP}) in add()
|
H A D | OffloadBundler.cpp | 85 this->OffloadKind = KindTriple.first; in OffloadTargetInfo() 95 this->OffloadKind = KindTriple.first; in OffloadTargetInfo() 107 return this->OffloadKind == "host"; in hasHostKind() 111 return OffloadKind == "host" || OffloadKind == "openmp" || in isOffloadKindValid() 112 OffloadKind == "hip" || OffloadKind == "hipv4"; in isOffloadKindValid() 117 if ((OffloadKind == TargetOffloadKind) || in isOffloadKindCompatible() 118 (OffloadKind == "hip" && TargetOffloadKind == "hipv4") || in isOffloadKindCompatible() 119 (OffloadKind == "hipv4" && TargetOffloadKind == "hip")) in isOffloadKindCompatible() 123 bool HIPCompatibleWithOpenMP = OffloadKind.starts_with_insensitive("hip") && in isOffloadKindCompatible() 126 OffloadKind == "openmp" && in isOffloadKindCompatible() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | OffloadBinary.cpp | 302 OffloadKind object::getOffloadKind(StringRef Name) { in getOffloadKind() 303 return llvm::StringSwitch<OffloadKind>(Name) in getOffloadKind() 310 StringRef object::getOffloadKindName(OffloadKind Kind) { in getOffloadKindName()
|