clang  7.0.0svn
Enumerations | Functions
Cuda.cpp File Reference
#include "Cuda.h"
#include "CommonArgs.h"
#include "InputInfo.h"
#include "clang/Basic/Cuda.h"
#include "clang/Basic/VirtualFileSystem.h"
#include "clang/Config/config.h"
#include "clang/Driver/Compilation.h"
#include "clang/Driver/Distro.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/Options.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include <system_error>
Include dependency graph for Cuda.cpp:

Go to the source code of this file.

Enumerations

enum  DebugInfoKind
 Debug info kind. More...
 

Functions

static CudaVersion ParseCudaVersionFile (llvm::StringRef V)
 
static DebugInfoKind mustEmitDebugInfo (const ArgList &Args)
 
static bool shouldIncludePTX (const ArgList &Args, const char *gpu_arch)
 

Enumeration Type Documentation

◆ DebugInfoKind

Debug info kind.

Definition at line 280 of file Cuda.cpp.

Function Documentation

◆ mustEmitDebugInfo()

static DebugInfoKind mustEmitDebugInfo ( const ArgList &  Args)
static

◆ ParseCudaVersionFile()

static CudaVersion ParseCudaVersionFile ( llvm::StringRef  V)
static

◆ shouldIncludePTX()

static bool shouldIncludePTX ( const ArgList &  Args,
const char *  gpu_arch 
)
static

Definition at line 413 of file Cuda.cpp.

Referenced by clang::driver::tools::NVPTX::Linker::ConstructJob().