clang
3.9.0
|
Type used to communicate device actions. More...
#include <Action.h>
Public Types | |
typedef SmallVector< const ToolChain *, 3 > | ToolChainList |
typedef SmallVector< const char *, 3 > | BoundArchList |
typedef SmallVector < OffloadKind, 3 > | OffloadKindList |
Public Member Functions | |
void | add (Action &A, const ToolChain &TC, const char *BoundArch, OffloadKind OKind) |
Add a action along with the associated toolchain, bound arch, and offload kind. More... | |
const ActionList & | getActions () const |
Get each of the individual arrays. More... | |
const ToolChainList & | getToolChains () const |
const BoundArchList & | getBoundArchs () const |
const OffloadKindList & | getOffloadKinds () const |
Type used to communicate device actions.
It associates bound architecture, toolchain, and offload kind to each action.
typedef SmallVector<const char *, 3> clang::driver::OffloadAction::DeviceDependences::BoundArchList |
typedef SmallVector<const ToolChain *, 3> clang::driver::OffloadAction::DeviceDependences::ToolChainList |
void OffloadAction::DeviceDependences::add | ( | Action & | A, |
const ToolChain & | TC, | ||
const char * | BoundArch, | ||
OffloadKind | OKind | ||
) |
Add a action along with the associated toolchain, bound arch, and offload kind.
Definition at line 247 of file Action.cpp.
Referenced by buildCudaActions().
|
inline |
Get each of the individual arrays.
Definition at line 242 of file Action.h.
Referenced by clang::driver::OffloadAction::OffloadAction().
|
inline |
Definition at line 244 of file Action.h.
Referenced by clang::driver::OffloadAction::OffloadAction().
|
inline |
Definition at line 245 of file Action.h.
Referenced by clang::driver::OffloadAction::HostDependence::HostDependence(), and clang::driver::OffloadAction::OffloadAction().
|
inline |