clang  14.0.0git
AArch64.h
Go to the documentation of this file.
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_AARCH64_H
10 #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_AARCH64_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 aarch64 {
22 
23 void getAArch64TargetFeatures(const Driver &D, const llvm::Triple &Triple,
24  const llvm::opt::ArgList &Args,
25  std::vector<llvm::StringRef> &Features,
26  bool ForAS);
27 
28 std::string getAArch64TargetCPU(const llvm::opt::ArgList &Args,
29  const llvm::Triple &Triple, llvm::opt::Arg *&A);
30 
31 } // end namespace aarch64
32 } // end namespace target
33 } // end namespace driver
34 } // end namespace clang
35 
36 #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_AARCH64_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::aarch64::getAArch64TargetFeatures
void getAArch64TargetFeatures(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args, std::vector< llvm::StringRef > &Features, bool ForAS)
clang::driver::tools::aarch64::getAArch64TargetCPU
std::string getAArch64TargetCPU(const llvm::opt::ArgList &Args, const llvm::Triple &Triple, llvm::opt::Arg *&A)
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