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)
 ~TCEToolChain ()
virtual ToolSelectTool (const Compilation &C, const JobAction &JA, const ActionList &Inputs) const
bool IsMathErrnoDefault () const
bool IsUnwindTablesDefault () const
const char * GetDefaultRelocationModel () const
const char * GetForcedPicModel () const

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 521 of file ToolChains.h.


Constructor & Destructor Documentation

TCEToolChain::TCEToolChain ( const Driver D,
const llvm::Triple &  Triple 
)

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 1514 of file ToolChains.cpp.

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

TCEToolChain::~TCEToolChain ( )

Definition at line 1523 of file ToolChains.cpp.


Member Function Documentation

const char * TCEToolChain::GetDefaultRelocationModel ( ) const [virtual]

GetDefaultRelocationModel - Return the LLVM name of the default relocation model for this tool chain.

Implements clang::driver::ToolChain.

Definition at line 1537 of file ToolChains.cpp.

const char * TCEToolChain::GetForcedPicModel ( ) const [virtual]

GetForcedPicModel - Return the LLVM name of the forced PIC model for this tool chain, or 0 if this tool chain does not force a particular PIC mode.

Implements clang::driver::ToolChain.

Definition at line 1541 of file ToolChains.cpp.

bool TCEToolChain::IsMathErrnoDefault ( ) const

Definition at line 1529 of file ToolChains.cpp.

bool TCEToolChain::IsUnwindTablesDefault ( ) const [virtual]

IsUnwindTablesDefault - Does this tool chain use -funwind-tables by default.

Implements clang::driver::ToolChain.

Definition at line 1533 of file ToolChains.cpp.

Tool & TCEToolChain::SelectTool ( const Compilation C,
const JobAction JA,
const ActionList Inputs 
) const [virtual]

SelectTool - Choose a tool to use to handle the action

  • JA with the given
  • Inputs.

Implements clang::driver::ToolChain.

Definition at line 1545 of file ToolChains.cpp.

References clang::driver::Action::AnalyzeJobClass, clang::driver::phases::Preprocess, and clang::driver::Action::PreprocessJobClass.


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