clang
3.9.0
|
#include <Action.h>
Static Public Member Functions | |
static bool | classof (const Action *A) |
![]() | |
static const char * | getClassName (ActionClass AC) |
Protected Member Functions | |
JobAction (ActionClass Kind, Action *Input, types::ID Type) | |
JobAction (ActionClass Kind, const ActionList &Inputs, types::ID Type) | |
![]() | |
Action (ActionClass Kind, types::ID Type) | |
Action (ActionClass Kind, Action *Input, types::ID Type) | |
Type (Type) | |
Inputs (Inputs) | |
Additional Inherited Members | |
![]() | |
enum | ActionClass { InputClass = 0, BindArchClass, OffloadClass, PreprocessJobClass, PrecompileJobClass, AnalyzeJobClass, MigrateJobClass, CompileJobClass, BackendJobClass, AssembleJobClass, LinkJobClass, LipoJobClass, DsymutilJobClass, VerifyDebugInfoJobClass, VerifyPCHJobClass, JobClassFirst = PreprocessJobClass, JobClassLast = VerifyPCHJobClass } |
enum | OffloadKind { OFK_None = 0x00, OFK_Host = 0x01, OFK_Cuda = 0x02 } |
typedef ActionList::size_type | size_type |
typedef ActionList::iterator | input_iterator |
typedef ActionList::const_iterator | input_const_iterator |
typedef llvm::iterator_range < input_iterator > | input_range |
typedef llvm::iterator_range < input_const_iterator > | input_const_range |
![]() | |
virtual | ~Action () |
const char * | getClassName () const |
ActionClass | getKind () const |
types::ID | getType () const |
ActionList & | getInputs () |
const ActionList & | getInputs () const |
size_type | size () const |
input_iterator | input_begin () |
input_iterator | input_end () |
input_range | inputs () |
input_const_iterator | input_begin () const |
input_const_iterator | input_end () const |
input_const_range | inputs () const |
std::string | getOffloadingKindPrefix () const |
Return a string containing the offload kind of the action. More... | |
std::string | getOffloadingFileNamePrefix (llvm::StringRef NormalizedTriple) const |
Return a string that can be used as prefix in order to generate unique files for each offloading kind. More... | |
void | propagateDeviceOffloadInfo (OffloadKind OKind, const char *OArch) |
Set the device offload info of this action and propagate it to its dependences. More... | |
void | propagateHostOffloadInfo (unsigned OKinds, const char *OArch) |
Append the host offload info of this action and propagate it to its dependences. More... | |
void | propagateOffloadInfo (const Action *A) |
Set the offload info of this action to be the same as the provided action, and propagate it to its dependences. More... | |
unsigned | getOffloadingHostActiveKinds () const |
OffloadKind | getOffloadingDeviceKind () const |
const char * | getOffloadingArch () const |
bool | isHostOffloading (OffloadKind OKind) const |
Check if this action have any offload kinds. More... | |
bool | isDeviceOffloading (OffloadKind OKind) const |
bool | isOffloading (OffloadKind OKind) const |
![]() | |
unsigned | ActiveOffloadKindMask = 0u |
Offload information. More... | |
OffloadKind | OffloadingDeviceKind = OFK_None |
Offloading kind of the device. More... | |
const char * | OffloadingArch = nullptr |
The Offloading architecture associated with this action. More... | |
Type | |
|
protected |
Definition at line 266 of file Action.cpp.
|
protected |
Definition at line 269 of file Action.cpp.
Definition at line 334 of file Action.h.
References clang::driver::Action::getKind(), clang::driver::Action::JobClassFirst, and clang::driver::Action::JobClassLast.