class VEToolChain

Declaration

class VEToolChain : public Linux { /* full declaration omitted */ };

Description

Generic_GCC - A tool chain using the 'gcc' command to perform all subcommands; this relies on gcc translating the majority of command line options.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:19

Inherits from: Linux

Member Variables

Inherited from Linux:

public ExtraOpts

Inherited from Generic_GCC:

protected GCCInstallation
protected CudaInstallation
protected RocmInstallation

Inherited from ToolChain:

protected Multilibs
protected SelectedMultilib

Method Overview

Inherited from Linux:

Inherited from Generic_ELF:

Inherited from Generic_GCC:

Inherited from ToolChain:

Methods

void AddCXXStdlibLibArgs(
    const llvm::opt::ArgList& Args,
    llvm::opt::ArgStringList& CmdArgs) const

Description

AddCXXStdlibLibArgs - Add the system specific linker arguments to use for the given C++ standard library type.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:44

Parameters

const llvm::opt::ArgList& Args
llvm::opt::ArgStringList& CmdArgs

void AddClangCXXStdlibIncludeArgs(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Description

AddClangCXXStdlibIncludeArgs - Add the clang -cc1 level arguments to set the include paths to use for the given C++ standard library type.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:41

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

void AddClangSystemIncludeArgs(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args) const

Description

Add the clang cc1 arguments for system include paths. This routine is responsible for adding the necessary cc1 arguments to include headers from standard system header directories.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:35

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args

clang::driver::ToolChain::CXXStdlibType
GetCXXStdlibType(
    const llvm::opt::ArgList& Args) const

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:51

Parameters

const llvm::opt::ArgList& Args

clang::driver::ToolChain::RuntimeLibType
GetDefaultRuntimeLibType() const

Description

GetDefaultRuntimeLibType - Get the default runtime library variant to use.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:55

llvm::ExceptionHandling GetExceptionModel(
    const llvm::opt::ArgList& Args) const

Description

GetExceptionModel - Return the tool chain exception model.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:48

Parameters

const llvm::opt::ArgList& Args

bool SupportsProfiling() const

Description

SupportsProfiling - Does this tool chain support -pg.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:32

VEToolChain(const clang::driver::Driver& D,
            const llvm::Triple& Triple,
            const llvm::opt::ArgList& Args)

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:21

Parameters

const clang::driver::Driver& D
const llvm::Triple& Triple
const llvm::opt::ArgList& Args

void addClangTargetOptions(
    const llvm::opt::ArgList& DriverArgs,
    llvm::opt::ArgStringList& CC1Args,
    Action::OffloadKind DeviceOffloadKind) const

Description

Add options that need to be passed to cc1 for this target.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:38

Parameters

const llvm::opt::ArgList& DriverArgs
llvm::opt::ArgStringList& CC1Args
Action::OffloadKind DeviceOffloadKind

clang::driver::Tool* buildAssembler() const

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:25

clang::driver::Tool* buildLinker() const

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:26

const char* getDefaultLinker() const

Description

GetDefaultLinker - Get the default linker to use.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:59

bool hasBlocksRuntime() const

Description

hasBlocksRuntime - Given that the user is compiling with -fblocks, does this tool chain guarantee the existence of a blocks runtime? FIXME: this really belongs on some sort of DeploymentTarget abstraction

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:33

bool isPICDefault() const

Description

Test whether this toolchain defaults to PIC.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:29

bool isPICDefaultForced() const

Description

Tests whether this toolchain forces its default for PIC, PIE or non-PIC. If this returns true, any PIC related flags should be ignored and instead the results of \c isPICDefault() and \c isPIEDefault(const llvm::opt::ArgList &Args ) are used exclusively.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:31

bool isPIEDefault(
    const llvm::opt::ArgList& Args) const

Description

Test whether this toolchain defaults to PIE.

Declared at: clang/lib/Driver/ToolChains/VEToolchain.h:30

Parameters

const llvm::opt::ArgList& Args