Home
last modified time | relevance | path

Searched refs:OKind (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/include/clang/Driver/
DAction.h185 void propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch);
204 bool isHostOffloading(OffloadKind OKind) const { in isHostOffloading() argument
205 return ActiveOffloadKindMask & OKind; in isHostOffloading()
207 bool isDeviceOffloading(OffloadKind OKind) const { in isDeviceOffloading() argument
208 return OffloadingDeviceKind == OKind; in isDeviceOffloading()
210 bool isOffloading(OffloadKind OKind) const { in isOffloading() argument
211 return isHostOffloading(OKind) || isDeviceOffloading(OKind); in isOffloading()
284 OffloadKind OKind);
/external/llvm-project/clang/lib/Driver/
DAction.cpp53 void Action::propagateDeviceOffloadInfo(OffloadKind OKind, const char *OArch) { in propagateDeviceOffloadInfo() argument
61 assert((OffloadingDeviceKind == OKind || OffloadingDeviceKind == OFK_None) && in propagateDeviceOffloadInfo()
64 OffloadingDeviceKind = OKind; in propagateDeviceOffloadInfo()
294 OffloadKind OKind) { in add() argument
298 DeviceOffloadKinds.push_back(OKind); in add()