clang  3.8.0
Public Member Functions | Static Public Member Functions | List of all members
clang::driver::CudaDeviceAction Class Reference

#include <Action.h>

Inheritance diagram for clang::driver::CudaDeviceAction:
[legend]
Collaboration diagram for clang::driver::CudaDeviceAction:
[legend]

Public Member Functions

 CudaDeviceAction (Action *Input, const char *ArchName, bool AtTopLevel)
 
const char * getGpuArchName () const
 
const char * getComputeArchName () const
 Gets the compute_XX that corresponds to getGpuArchName(). More...
 
bool isAtTopLevel () const
 
- Public Member Functions inherited from clang::driver::Action
virtual ~Action ()
 
const char * getClassName () const
 
ActionClass getKind () const
 
types::ID getType () const
 
ActionListgetInputs ()
 
const ActionListgetInputs () const
 
size_type size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Static Public Member Functions

static bool IsValidGpuArchName (llvm::StringRef ArchName)
 
static bool classof (const Action *A)
 
- Static Public Member Functions inherited from clang::driver::Action
static const char * getClassName (ActionClass AC)
 

Additional Inherited Members

- Public Types inherited from clang::driver::Action
enum  ActionClass {
  InputClass = 0, BindArchClass, CudaDeviceClass, CudaHostClass,
  PreprocessJobClass, PrecompileJobClass, AnalyzeJobClass, MigrateJobClass,
  CompileJobClass, BackendJobClass, AssembleJobClass, LinkJobClass,
  LipoJobClass, DsymutilJobClass, VerifyDebugInfoJobClass, VerifyPCHJobClass,
  JobClassFirst =PreprocessJobClass, JobClassLast =VerifyPCHJobClass
}
 
typedef ActionList::size_type size_type
 
typedef ActionList::iterator iterator
 
typedef ActionList::const_iterator const_iterator
 
- Protected Member Functions inherited from clang::driver::Action
 Action (ActionClass Kind, types::ID Type)
 
 Action (ActionClass Kind, Action *Input, types::ID Type)
 
 Type (Type)
 
 Inputs (Inputs)
 
- Protected Attributes inherited from clang::driver::Action
 Type
 

Detailed Description

Definition at line 137 of file Action.h.

Constructor & Destructor Documentation

CudaDeviceAction::CudaDeviceAction ( Action Input,
const char *  ArchName,
bool  AtTopLevel 
)

Definition at line 74 of file Action.cpp.

References IsValidGpuArchName().

Member Function Documentation

static bool clang::driver::CudaDeviceAction::classof ( const Action A)
inlinestatic
const char * CudaDeviceAction::getComputeArchName ( ) const

Gets the compute_XX that corresponds to getGpuArchName().

Definition at line 81 of file Action.cpp.

References GpuArchToComputeName().

const char* clang::driver::CudaDeviceAction::getGpuArchName ( ) const
inline

Definition at line 148 of file Action.h.

bool clang::driver::CudaDeviceAction::isAtTopLevel ( ) const
inline

Definition at line 153 of file Action.h.

bool CudaDeviceAction::IsValidGpuArchName ( llvm::StringRef  ArchName)
static

Definition at line 85 of file Action.cpp.

References GpuArchToComputeName().

Referenced by buildCudaActions(), and CudaDeviceAction().


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