/external/llvm-project/clang/include/clang/Driver/ |
D | Compilation.h | 60 std::multimap<Action::OffloadKind, const ToolChain *> 86 Action::OffloadKind DeviceOffloadKind = Action::OFK_None; 89 Action::OffloadKind DeviceOffloadKind) in TCArgsKey() 142 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind() 148 const std::multimap<Action::OffloadKind, 154 template <Action::OffloadKind Kind> 160 template <Action::OffloadKind Kind> bool hasOffloadToolChain() const { in hasOffloadToolChain() 167 template <Action::OffloadKind Kind> 179 Action::OffloadKind OffloadKind) { in addOffloadDeviceToolChain() argument 180 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain() [all …]
|
D | Action.h | 85 enum OffloadKind { enum 124 OffloadKind OffloadingDeviceKind = OFK_None; 176 GetOffloadingFileNamePrefix(OffloadKind Kind, 181 static StringRef GetOffloadKindName(OffloadKind Kind); 185 void propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch); 199 OffloadKind getOffloadingDeviceKind() const { return OffloadingDeviceKind; } in getOffloadingDeviceKind() 204 bool isHostOffloading(OffloadKind OKind) const { in isHostOffloading() 207 bool isDeviceOffloading(OffloadKind OKind) const { in isDeviceOffloading() 210 bool isOffloading(OffloadKind OKind) const { in isOffloading() 260 using OffloadKindList = SmallVector<OffloadKind, 3>; [all …]
|
D | Driver.h | 497 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const; 508 Action::OffloadKind TargetDeviceOffloadKind) const; 602 Action::OffloadKind TargetDeviceOffloadKind) const;
|
D | ToolChain.h | 290 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs() 314 Action::OffloadKind DeviceOffloadKind, 568 Action::OffloadKind DeviceOffloadKind) const;
|
/external/clang/include/clang/Driver/ |
D | Compilation.h | 50 std::multimap<Action::OffloadKind, const ToolChain *> 107 unsigned isOffloadingHostKind(Action::OffloadKind Kind) const { in isOffloadingHostKind() 112 typedef const std::multimap<Action::OffloadKind, 119 template <Action::OffloadKind Kind> 126 template <Action::OffloadKind Kind> 138 Action::OffloadKind OffloadKind) { in addOffloadDeviceToolChain() argument 139 assert(OffloadKind != Action::OFK_Host && OffloadKind != Action::OFK_None && in addOffloadDeviceToolChain() 143 ActiveOffloadMask |= OffloadKind; in addOffloadDeviceToolChain() 145 std::make_pair(OffloadKind, DeviceToolChain)); in addOffloadDeviceToolChain()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | AMDGPU.h | 69 Action::OffloadKind DeviceOffloadKind) const override; 73 Action::OffloadKind DeviceOffloadKind) const override; 111 Action::OffloadKind DeviceOffloadKind) const override;
|
D | Cuda.h | 135 const Action::OffloadKind OK); 145 Action::OffloadKind DeviceOffloadKind) const override; 148 Action::OffloadKind DeviceOffloadKind) const override; 197 const Action::OffloadKind OK;
|
D | HIP.h | 70 Action::OffloadKind DeviceOffloadKind) const override; 73 Action::OffloadKind DeviceOffloadKind) const override;
|
D | HIP.cpp | 125 std::string OffloadKind = "hip"; in constructHIPFatbinCommand() local 128 BundlerTargetArg = BundlerTargetArg + "," + OffloadKind + in constructHIPFatbinCommand() 247 Action::OffloadKind DeviceOffloadingKind) const { in addClangTargetOptions() 353 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs()
|
D | ZOS.cpp | 27 Action::OffloadKind DeviceOffloadKind) const { in addClangTargetOptions()
|
D | ZOS.h | 33 Action::OffloadKind DeviceOffloadingKind) const override;
|
D | VEToolchain.h | 41 Action::OffloadKind DeviceOffloadKind) const override;
|
D | RISCVToolchain.h | 28 Action::OffloadKind) const override;
|
D | XCore.h | 70 Action::OffloadKind DeviceOffloadKind) const override;
|
D | MSP430.h | 37 Action::OffloadKind) const override;
|
D | WebAssembly.h | 57 Action::OffloadKind DeviceOffloadKind) const override;
|
D | NetBSD.h | 79 Action::OffloadKind DeviceOffloadKind) const override;
|
D | Darwin.h | 215 Action::OffloadKind DeviceOffloadKind) const override; 459 Action::OffloadKind DeviceOffloadKind) const override; 478 Action::OffloadKind DeviceOffloadKind) const override;
|
D | BareMetal.h | 62 Action::OffloadKind DeviceOffloadKind) const override;
|
D | FreeBSD.h | 86 Action::OffloadKind DeviceOffloadKind) const override;
|
D | Fuchsia.h | 84 Action::OffloadKind DeviceOffloadKind) const override;
|
D | PS4CPU.h | 95 Action::OffloadKind DeviceOffloadingKind) const override;
|
D | Gnu.h | 306 Action::OffloadKind DeviceOffloadKind) const override; 378 Action::OffloadKind DeviceOffloadKind) const override;
|
/external/llvm-project/clang/lib/Driver/ |
D | Action.cpp | 53 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch) { in propagateDeviceOffloadInfo() 132 Action::GetOffloadingFileNamePrefix(OffloadKind Kind, in GetOffloadingFileNamePrefix() 148 StringRef Action::GetOffloadKindName(OffloadKind Kind) { in GetOffloadKindName() 193 if (llvm::all_of(OKinds, [&](OffloadKind K) { return K == OKinds.front(); })) in OffloadAction() 294 OffloadKind OKind) { in add()
|
/external/llvm-project/clang/tools/clang-offload-bundler/ |
D | ClangOffloadBundler.cpp | 114 static void getOffloadKindAndTriple(StringRef Target, StringRef &OffloadKind, in getOffloadKindAndTriple() argument 117 OffloadKind = KindTriplePair.first; in getOffloadKindAndTriple() 121 StringRef OffloadKind; in hasHostKind() local 123 getOffloadKindAndTriple(Target, OffloadKind, Triple); in hasHostKind() 124 return OffloadKind == "host"; in hasHostKind()
|