brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 97ebfa6 Raw
39 lines · c
1//===--- AArch64.h - AArch64-specific (not ARM) 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_AARCH64_H10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_AARCH64_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 aarch64 {22 23void getAArch64TargetFeatures(const Driver &D, const llvm::Triple &Triple,24                              const llvm::opt::ArgList &Args,25                              std::vector<llvm::StringRef> &Features,26                              bool ForAS, bool ForMultilib = false);27 28std::string getAArch64TargetCPU(const llvm::opt::ArgList &Args,29                                const llvm::Triple &Triple, llvm::opt::Arg *&A);30 31bool isAArch64BareMetal(const llvm::Triple &Triple);32 33} // end namespace aarch6434} // end namespace target35} // end namespace driver36} // end namespace clang37 38#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_AARCH64_H39