clang  6.0.0svn
Public Member Functions | List of all members
clang::driver::OffloadAction::HostDependence Class Referencefinal

Type used to communicate host actions. More...

#include "clang/Driver/Action.h"

Public Member Functions

 HostDependence (Action &A, const ToolChain &TC, const char *BoundArch, const unsigned OffloadKinds)
 
 HostDependence (Action &A, const ToolChain &TC, const char *BoundArch, const DeviceDependences &DDeps)
 Constructor version that obtains the offload kinds from the device dependencies. More...
 
ActiongetAction () const
 
const ToolChaingetToolChain () const
 
const char * getBoundArch () const
 
unsigned getOffloadKinds () const
 

Detailed Description

Type used to communicate host actions.

It associates bound architecture, toolchain, and offload kinds to the host action.

Definition at line 275 of file Action.h.

Constructor & Destructor Documentation

◆ HostDependence() [1/2]

clang::driver::OffloadAction::HostDependence::HostDependence ( Action A,
const ToolChain TC,
const char *  BoundArch,
const unsigned  OffloadKinds 
)
inline

Definition at line 286 of file Action.h.

◆ HostDependence() [2/2]

OffloadAction::HostDependence::HostDependence ( Action A,
const ToolChain TC,
const char *  BoundArch,
const DeviceDependences DDeps 
)

Constructor version that obtains the offload kinds from the device dependencies.

Definition at line 289 of file Action.cpp.

References clang::driver::OffloadAction::DeviceDependences::getOffloadKinds().

Member Function Documentation

◆ getAction()

Action* clang::driver::OffloadAction::HostDependence::getAction ( ) const
inline

Definition at line 294 of file Action.h.

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

◆ getBoundArch()

const char* clang::driver::OffloadAction::HostDependence::getBoundArch ( ) const
inline

Definition at line 296 of file Action.h.

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

◆ getOffloadKinds()

unsigned clang::driver::OffloadAction::HostDependence::getOffloadKinds ( ) const
inline

Definition at line 297 of file Action.h.

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

◆ getToolChain()

const ToolChain* clang::driver::OffloadAction::HostDependence::getToolChain ( ) const
inline

Definition at line 295 of file Action.h.


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