1*fe6060f1SDimitry Andric //===--- M68k.h - M68k-specific Tool Helpers -----------------*- C++-*-===// 2*fe6060f1SDimitry Andric // 3*fe6060f1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*fe6060f1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*fe6060f1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*fe6060f1SDimitry Andric // 7*fe6060f1SDimitry Andric //===----------------------------------------------------------------------===// 8*fe6060f1SDimitry Andric 9*fe6060f1SDimitry Andric #ifndef LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H 10*fe6060f1SDimitry Andric #define LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H 11*fe6060f1SDimitry Andric 12*fe6060f1SDimitry Andric #include "clang/Driver/Driver.h" 13*fe6060f1SDimitry Andric #include "llvm/ADT/StringRef.h" 14*fe6060f1SDimitry Andric #include "llvm/Option/Option.h" 15*fe6060f1SDimitry Andric #include <string> 16*fe6060f1SDimitry Andric #include <vector> 17*fe6060f1SDimitry Andric 18*fe6060f1SDimitry Andric namespace clang { 19*fe6060f1SDimitry Andric namespace driver { 20*fe6060f1SDimitry Andric namespace tools { 21*fe6060f1SDimitry Andric namespace m68k { 22*fe6060f1SDimitry Andric 23*fe6060f1SDimitry Andric std::string getM68kTargetCPU(const llvm::opt::ArgList &Args); 24*fe6060f1SDimitry Andric 25*fe6060f1SDimitry Andric void getM68kTargetFeatures(const Driver &D, const llvm::Triple &Triple, 26*fe6060f1SDimitry Andric const llvm::opt::ArgList &Args, 27*fe6060f1SDimitry Andric std::vector<llvm::StringRef> &Features); 28*fe6060f1SDimitry Andric 29*fe6060f1SDimitry Andric } // end namespace m68k 30*fe6060f1SDimitry Andric } // end namespace tools 31*fe6060f1SDimitry Andric } // end namespace driver 32*fe6060f1SDimitry Andric } // end namespace clang 33*fe6060f1SDimitry Andric 34*fe6060f1SDimitry Andric #endif // LLVM_CLANG_LIB_DRIVER_TOOLCHAINS_ARCH_M680X0_H 35