brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 051e7e1 Raw
35 lines · c
1//===--- M68k.h - M68k-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_M680X0_H10#define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_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 m68k {22 23std::string getM68kTargetCPU(const llvm::opt::ArgList &Args);24 25void getM68kTargetFeatures(const Driver &D, const llvm::Triple &Triple,26                           const llvm::opt::ArgList &Args,27                           std::vector<llvm::StringRef> &Features);28 29} // end namespace m68k30} // end namespace tools31} // end namespace driver32} // end namespace clang33 34#endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H35