clang 20.0.0git
Public Member Functions | List of all members
clang::driver::tools::NVPTX::Assembler Class Referencefinal

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Driver/ToolChains/Cuda.h"

Inheritance diagram for clang::driver::tools::NVPTX::Assembler:
Inheritance graph
[legend]

Public Member Functions

 Assembler (const ToolChain &TC)
 
bool hasIntegratedCPP () const override
 
void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const override
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
 
- Public Member Functions inherited from clang::driver::Tool
 Tool (const char *Name, const char *ShortName, const ToolChain &TC)
 
virtual ~Tool ()
 
const char * getName () const
 
const char * getShortName () const
 
const ToolChaingetToolChain () const
 
virtual bool hasIntegratedAssembler () const
 
virtual bool hasIntegratedBackend () const
 
virtual bool canEmitIR () const
 
virtual bool hasIntegratedCPP () const =0
 
virtual bool isLinkJob () const
 
virtual bool isDsymutilJob () const
 
virtual bool hasGoodDiagnostics () const
 Does this tool have "good" standardized diagnostics, or should the driver add an additional "command failed" diagnostic on failures.
 
virtual void ConstructJob (Compilation &C, const JobAction &JA, const InputInfo &Output, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const =0
 ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.
 
virtual void ConstructJobMultipleOutputs (Compilation &C, const JobAction &JA, const InputInfoList &Outputs, const InputInfoList &Inputs, const llvm::opt::ArgList &TCArgs, const char *LinkingOutput) const
 Construct jobs to perform the action JA, writing to the Outputs and with Inputs, and add the jobs to C.
 

Detailed Description

Definition at line 84 of file Cuda.h.

Constructor & Destructor Documentation

◆ Assembler()

clang::driver::tools::NVPTX::Assembler::Assembler ( const ToolChain TC)
inline

Definition at line 86 of file Cuda.h.

Member Function Documentation

◆ ConstructJob()

void NVPTX::Assembler::ConstructJob ( Compilation C,
const JobAction JA,
const InputInfo Output,
const InputInfoList Inputs,
const llvm::opt::ArgList &  TCArgs,
const char *  LinkingOutput 
) const
overridevirtual

ConstructJob - Construct jobs to perform the action JA, writing to Output and with Inputs, and add the jobs to C.

Parameters
TCArgs- The argument list for this toolchain, with any tool chain specific translations applied.
LinkingOutput- If this output will eventually feed the linker, then this is the final output name of the linked image.

Implements clang::driver::Tool.

Definition at line 381 of file Cuda.cpp.

References clang::C, clang::driver::InputInfo::getFilename(), clang::driver::Action::getOffloadingArch(), clang::driver::Action::isDeviceOffloading(), clang::driver::InputInfo::isFilename(), clang::driver::Action::isOffloading(), mustEmitDebugInfo(), clang::OffloadArchToString(), clang::driver::Action::OFK_Cuda, clang::driver::Action::OFK_OpenMP, clang::driver::ResponseFileSupport::RF_Full, clang::StringToOffloadArch(), and clang::UNKNOWN.

◆ hasIntegratedCPP()

bool clang::driver::tools::NVPTX::Assembler::hasIntegratedCPP ( ) const
inlineoverridevirtual

Implements clang::driver::Tool.

Definition at line 88 of file Cuda.h.


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