clang  14.0.0git
SystemZ.h
Go to the documentation of this file.
1 //===--- SystemZ.h - SystemZ-specific Tool Helpers --------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H
11 
12 #include "clang/Driver/Driver.h"
13 #include "llvm/ADT/StringRef.h"
14 #include "llvm/Option/Option.h"
15 #include <string>
16 #include <vector>
17 
18 namespace clang {
19 namespace driver {
20 namespace tools {
21 namespace systemz {
22 
23 enum class FloatABI {
24  Soft,
25  Hard,
26 };
27 
28 FloatABI getSystemZFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
29 
30 std::string getSystemZTargetCPU(const llvm::opt::ArgList &Args);
31 
32 void getSystemZTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
33  std::vector<llvm::StringRef> &Features);
34 
35 } // end namespace systemz
36 } // end namespace target
37 } // end namespace driver
38 } // end namespace clang
39 
40 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H
Driver.h
string
string(SUBSTRING ${CMAKE_CURRENT_BINARY_DIR} 0 ${PATH_LIB_START} PATH_HEAD) string(SUBSTRING $
Definition: CMakeLists.txt:22
clang::driver::tools::systemz::FloatABI::Soft
@ Soft
clang::driver::tools::systemz::getSystemZTargetFeatures
void getSystemZTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args, std::vector< llvm::StringRef > &Features)
clang::driver::tools::systemz::FloatABI::Hard
@ Hard
clang::driver::tools::systemz::getSystemZTargetCPU
std::string getSystemZTargetCPU(const llvm::opt::ArgList &Args)
clang
Definition: CalledOnceCheck.h:17
clang::driver::Driver
Driver - Encapsulate logic for constructing compilation processes from a set of gcc-driver-like comma...
Definition: Driver.h:59
clang::driver::tools::systemz::getSystemZFloatABI
FloatABI getSystemZFloatABI(const Driver &D, const llvm::opt::ArgList &Args)
clang::driver::tools::systemz::FloatABI
FloatABI
Definition: SystemZ.h:23