clang 20.0.0git
|
#include "clang/Driver/Action.h"
Classes | |
struct | DependentActionInfo |
Type that provides information about the actions that depend on this unbundling action. More... | |
Public Member Functions | |
OffloadUnbundlingJobAction (Action *Input) | |
void | registerDependentActionInfo (const ToolChain *TC, StringRef BoundArch, OffloadKind Kind) |
Register information about a dependent action. | |
ArrayRef< DependentActionInfo > | getDependentActionsInfo () const |
Return the information about all depending actions. | |
![]() | |
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 |
void | setCannotBeCollapsedWithNextDependentAction () |
Mark this action as not legal to collapse. | |
bool | isCollapsingWithNextDependentActionLegal () const |
Return true if this function can be collapsed with others. | |
std::string | getOffloadingKindPrefix () const |
Return a string containing the offload kind of the action. | |
void | propagateDeviceOffloadInfo (OffloadKind OKind, const char *OArch, const ToolChain *OToolChain) |
Set the device offload info of this action and propagate it to its dependences. | |
void | propagateHostOffloadInfo (unsigned OKinds, const char *OArch) |
Append the host offload info of this action and propagate it to its dependences. | |
void | setHostOffloadInfo (unsigned OKinds, const char *OArch) |
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. | |
unsigned | getOffloadingHostActiveKinds () const |
OffloadKind | getOffloadingDeviceKind () const |
const char * | getOffloadingArch () const |
const ToolChain * | getOffloadingToolChain () const |
bool | isHostOffloading (unsigned int OKind) const |
Check if this action have any offload kinds. | |
bool | isDeviceOffloading (OffloadKind OKind) const |
bool | isOffloading (OffloadKind OKind) const |
Static Public Member Functions | |
static bool | classof (const Action *A) |
![]() | |
static bool | classof (const Action *A) |
![]() | |
static const char * | getClassName (ActionClass AC) |
static std::string | GetOffloadingFileNamePrefix (OffloadKind Kind, StringRef NormalizedTriple, bool CreatePrefixForHost=false) |
Return a string that can be used as prefix in order to generate unique files for each offloading kind. | |
static StringRef | GetOffloadKindName (OffloadKind Kind) |
Return a string containing a offload kind name. | |
OffloadUnbundlingJobAction::OffloadUnbundlingJobAction | ( | Action * | Input | ) |
Definition at line 443 of file Action.cpp.
Definition at line 641 of file Action.h.
References clang::driver::Action::getKind(), and clang::driver::Action::OffloadUnbundlingJobClass.
|
inline |
|
inline |