clang  3.9.0
Public Types | Public Member Functions | List of all members
clang::driver::OffloadAction::DeviceDependences Class Referencefinal

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 ActionListgetActions () const
 Get each of the individual arrays. More...
 
const ToolChainListgetToolChains () const
 
const BoundArchListgetBoundArchs () const
 
const OffloadKindListgetOffloadKinds () const
 

Detailed Description

Type used to communicate device actions.

It associates bound architecture, toolchain, and offload kind to each action.

Definition at line 214 of file Action.h.

Member Typedef Documentation

Definition at line 217 of file Action.h.

Definition at line 218 of file Action.h.

Definition at line 216 of file Action.h.

Member Function Documentation

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().

const ActionList& clang::driver::OffloadAction::DeviceDependences::getActions ( ) const
inline

Get each of the individual arrays.

Definition at line 242 of file Action.h.

Referenced by clang::driver::OffloadAction::OffloadAction().

const BoundArchList& clang::driver::OffloadAction::DeviceDependences::getBoundArchs ( ) const
inline

Definition at line 244 of file Action.h.

Referenced by clang::driver::OffloadAction::OffloadAction().

const OffloadKindList& clang::driver::OffloadAction::DeviceDependences::getOffloadKinds ( ) const
inline
const ToolChainList& clang::driver::OffloadAction::DeviceDependences::getToolChains ( ) const
inline

Definition at line 243 of file Action.h.


The documentation for this class was generated from the following files: