Home
last modified time | relevance | path

Searched refs:OffloadKind (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/clang/include/clang/Driver/
DCompilation.h60 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 …]
DAction.h85 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 …]
DDriver.h497 Action::OffloadKind TargetDeviceOffloadKind = Action::OFK_None) const;
508 Action::OffloadKind TargetDeviceOffloadKind) const;
602 Action::OffloadKind TargetDeviceOffloadKind) const;
DToolChain.h290 Action::OffloadKind DeviceOffloadKind) const { in TranslateArgs()
314 Action::OffloadKind DeviceOffloadKind,
568 Action::OffloadKind DeviceOffloadKind) const;
/external/clang/include/clang/Driver/
DCompilation.h50 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/
DAMDGPU.h69 Action::OffloadKind DeviceOffloadKind) const override;
73 Action::OffloadKind DeviceOffloadKind) const override;
111 Action::OffloadKind DeviceOffloadKind) const override;
DCuda.h135 const Action::OffloadKind OK);
145 Action::OffloadKind DeviceOffloadKind) const override;
148 Action::OffloadKind DeviceOffloadKind) const override;
197 const Action::OffloadKind OK;
DHIP.h70 Action::OffloadKind DeviceOffloadKind) const override;
73 Action::OffloadKind DeviceOffloadKind) const override;
DHIP.cpp125 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()
DZOS.cpp27 Action::OffloadKind DeviceOffloadKind) const { in addClangTargetOptions()
DZOS.h33 Action::OffloadKind DeviceOffloadingKind) const override;
DVEToolchain.h41 Action::OffloadKind DeviceOffloadKind) const override;
DRISCVToolchain.h28 Action::OffloadKind) const override;
DXCore.h70 Action::OffloadKind DeviceOffloadKind) const override;
DMSP430.h37 Action::OffloadKind) const override;
DWebAssembly.h57 Action::OffloadKind DeviceOffloadKind) const override;
DNetBSD.h79 Action::OffloadKind DeviceOffloadKind) const override;
DDarwin.h215 Action::OffloadKind DeviceOffloadKind) const override;
459 Action::OffloadKind DeviceOffloadKind) const override;
478 Action::OffloadKind DeviceOffloadKind) const override;
DBareMetal.h62 Action::OffloadKind DeviceOffloadKind) const override;
DFreeBSD.h86 Action::OffloadKind DeviceOffloadKind) const override;
DFuchsia.h84 Action::OffloadKind DeviceOffloadKind) const override;
DPS4CPU.h95 Action::OffloadKind DeviceOffloadingKind) const override;
DGnu.h306 Action::OffloadKind DeviceOffloadKind) const override;
378 Action::OffloadKind DeviceOffloadKind) const override;
/external/llvm-project/clang/lib/Driver/
DAction.cpp53 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/
DClangOffloadBundler.cpp114 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()

12