[win/asan] GetInstructionSize: Fix `83 E4 XX` to return 3. (#119644)
[llvm-project.git] / clang / lib / Driver / ToolChains / Arch / SystemZ.h
blobf2d30d24ba63c5a222b8bfb7d0d9f17135d48003
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H
12 #include "clang/Driver/Driver.h"
13 #include "llvm/ADT/StringRef.h"
14 #include "llvm/Option/Option.h"
15 #include <string>
16 #include <vector>
18 namespace clang {
19 namespace driver {
20 namespace tools {
21 namespace systemz {
23 enum class FloatABI {
24 Soft,
25 Hard,
28 FloatABI getSystemZFloatABI(const Driver &D, const llvm::opt::ArgList &Args);
30 std::string getSystemZTargetCPU(const llvm::opt::ArgList &Args,
31 const llvm::Triple &T);
33 void getSystemZTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,
34 std::vector<llvm::StringRef> &Features);
36 } // end namespace systemz
37 } // end namespace target
38 } // end namespace driver
39 } // end namespace clang
41 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H