clang API Documentation

Public Member Functions
clang::driver::toolchains::TCEToolChain Class Reference

#include <ToolChains.h>

Inheritance diagram for clang::driver::toolchains::TCEToolChain:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::toolchains::TCEToolChain:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TCEToolChain (const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args)
 ~TCEToolChain ()
bool IsMathErrnoDefault () const override
 IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.
bool isPICDefault () const override
 Test whether this toolchain defaults to PIC.
bool isPIEDefault () const override
 Test whether this toolchain defaults to PIE.
bool isPICDefaultForced () const override
 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 isPICDefault() and isPIEDefault() are used exclusively.

Detailed Description

TCEToolChain - A tool chain using the llvm bitcode tools to perform all subcommands. See http://tce.cs.tut.fi for our peculiar target.

Definition at line 720 of file ToolChains.h.


Constructor & Destructor Documentation

TCEToolChain::TCEToolChain ( const Driver D,
const llvm::Triple &  Triple,
const llvm::opt::ArgList &  Args 
)

TCEToolChain - A tool chain using the llvm bitcode tools to perform all subcommands. See http://tce.cs.tut.fi for our peculiar target. Currently does not support anything else but compilation.

Definition at line 2311 of file ToolChains.cpp.

References clang::driver::ToolChain::getDriver(), and clang::driver::ToolChain::getProgramPaths().

Definition at line 2321 of file ToolChains.cpp.


Member Function Documentation

bool TCEToolChain::IsMathErrnoDefault ( ) const [override, virtual]

IsMathErrnoDefault - Does this tool chain use -fmath-errno by default.

Reimplemented from clang::driver::ToolChain.

Definition at line 2324 of file ToolChains.cpp.

bool TCEToolChain::isPICDefault ( ) const [override, virtual]

Test whether this toolchain defaults to PIC.

Implements clang::driver::ToolChain.

Definition at line 2328 of file ToolChains.cpp.

bool TCEToolChain::isPICDefaultForced ( ) const [override, virtual]

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 isPICDefault() and isPIEDefault() are used exclusively.

Implements clang::driver::ToolChain.

Definition at line 2336 of file ToolChains.cpp.

bool TCEToolChain::isPIEDefault ( ) const [override, virtual]

Test whether this toolchain defaults to PIE.

Implements clang::driver::ToolChain.

Definition at line 2332 of file ToolChains.cpp.


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