clang  6.0.0svn
TCE.h
Go to the documentation of this file.
1 //===--- TCE.h - TCE Tool and ToolChain Implementations ---------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_TCE_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_TCE_H
12 
13 #include "clang/Driver/Driver.h"
14 #include "clang/Driver/ToolChain.h"
15 #include <set>
16 
17 namespace clang {
18 namespace driver {
19 namespace toolchains {
20 
21 /// TCEToolChain - A tool chain using the llvm bitcode tools to perform
22 /// all subcommands. See http://tce.cs.tut.fi for our peculiar target.
23 class LLVM_LIBRARY_VISIBILITY TCEToolChain : public ToolChain {
24 public:
25  TCEToolChain(const Driver &D, const llvm::Triple &Triple,
26  const llvm::opt::ArgList &Args);
27  ~TCEToolChain() override;
28 
29  bool IsMathErrnoDefault() const override;
30  bool isPICDefault() const override;
31  bool isPIEDefault() const override;
32  bool isPICDefaultForced() const override;
33 };
34 
35 /// Toolchain for little endian TCE cores.
36 class LLVM_LIBRARY_VISIBILITY TCELEToolChain : public TCEToolChain {
37 public:
38  TCELEToolChain(const Driver &D, const llvm::Triple &Triple,
39  const llvm::opt::ArgList &Args);
40  ~TCELEToolChain() override;
41 };
42 
43 } // end namespace toolchains
44 } // end namespace driver
45 } // end namespace clang
46 
47 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_TCE_H
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:65
Toolchain for little endian TCE cores.
Definition: TCE.h:36
TCEToolChain - A tool chain using the llvm bitcode tools to perform all subcommands.
Definition: TCE.h:23
Dataflow Directional Tag Classes.
ToolChain - Access to tools for a single platform.
Definition: ToolChain.h:73