clang 8.0.0

Sparc.h
Go to the documentation of this file.
1 //===--- Sparc.h - Sparc-specific Tool Helpers ----------------------*- 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_ARCH_SPARC_H
11 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SPARC_H
12
13 #include "clang/Driver/Driver.h"
14 #include "llvm/ADT/StringRef.h"
15 #include "llvm/Option/Option.h"
16 #include <string>
17 #include <vector>
18
19 namespace clang {
20 namespace driver {
21 namespace tools {
22 namespace sparc {
23
24 enum class FloatABI {
25 Invalid,
26 Soft,
27 Hard,
28 };
29
30 FloatABI getSparcFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
31
32 void getSparcTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
33 std::vector<llvm::StringRef> &Features);
34 const char *getSparcAsmModeForCPU(llvm::StringRef Name,
35 const llvm::Triple &Triple);
36
37 } // end namespace sparc
38 } // end namespace target
39 } // end namespace driver
40 } // end namespace clang
41
42 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SPARC_H
clang::driver::tools::sparc::FloatABI::Invalid
clang::driver::tools::sparc::getSparcAsmModeForCPU
const char * getSparcAsmModeForCPU(llvm::StringRef Name, const llvm::Triple &Triple)
clang::driver::tools::sparc::getSparcFloatABI
FloatABI getSparcFloatABI(const Driver &D, const llvm::opt::ArgList &Args)
clang::driver::tools::sparc::FloatABI::Soft
clang::driver::Driver
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:58
clang::driver::tools::sparc::FloatABI::Hard
Driver.h
clang::driver::tools::sparc::getSparcTargetFeatures
void getSparcTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args, std::vector< llvm::StringRef > &Features)
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:22
clang::driver::tools::sparc::FloatABI
FloatABI
Definition: Sparc.h:24