clang 22.0.0git
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.
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 322 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 336 of file Action.h.

References clang::driver::Action::Action().

◆ 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 338 of file Action.cpp.

References clang::driver::Action::Action(), and clang::driver::OffloadAction::DeviceDependences::getOffloadKinds().

Member Function Documentation

◆ getAction()

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

◆ getBoundArch()

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

◆ getOffloadKinds()

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

◆ getToolChain()

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

Definition at line 346 of file Action.h.


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