]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/SystemZ.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / clang / lib / Driver / ToolChains / Arch / SystemZ.h
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 "llvm/ADT/StringRef.h"
13 #include "llvm/Option/Option.h"
14 #include <string>
15 #include <vector>
16
17 namespace clang {
18 namespace driver {
19 namespace tools {
20 namespace systemz {
21
22 std::string getSystemZTargetCPU(const llvm::opt::ArgList &Args);
23
24 void getSystemZTargetFeatures(const llvm::opt::ArgList &Args,
25                               std::vector<llvm::StringRef> &Features);
26
27 } // end namespace systemz
28 } // end namespace target
29 } // end namespace driver
30 } // end namespace clang
31
32 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H