brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · f2d30d2 Raw
42 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H11 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 18namespace clang {19namespace driver {20namespace tools {21namespace systemz {22 23enum class FloatABI {24  Soft,25  Hard,26};27 28FloatABI getSystemZFloatABI(const Driver &D, const llvm::opt::ArgList &Args);29 30std::string getSystemZTargetCPU(const llvm::opt::ArgList &Args,31                                const llvm::Triple &T);32 33void getSystemZTargetFeatures(const Driver &D, const llvm::opt::ArgList &Args,34                              std::vector<llvm::StringRef> &Features);35 36} // end namespace systemz37} // end namespace target38} // end namespace driver39} // end namespace clang40 41#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_SYSTEMZ_H42