10b57cec5SDimitry Andric //===--- Le64.cpp - Implement Le64 target feature support -----------------===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric // 90b57cec5SDimitry Andric // This file implements Le64 TargetInfo objects. 100b57cec5SDimitry Andric // 110b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 120b57cec5SDimitry Andric 130b57cec5SDimitry Andric #include "Le64.h" 140b57cec5SDimitry Andric #include "Targets.h" 150b57cec5SDimitry Andric #include "clang/Basic/Builtins.h" 160b57cec5SDimitry Andric #include "clang/Basic/MacroBuilder.h" 170b57cec5SDimitry Andric #include "clang/Basic/TargetBuiltins.h" 180b57cec5SDimitry Andric 190b57cec5SDimitry Andric using namespace clang; 200b57cec5SDimitry Andric using namespace clang::targets; 210b57cec5SDimitry Andric getTargetBuiltins() const220b57cec5SDimitry AndricArrayRef<Builtin::Info> Le64TargetInfo::getTargetBuiltins() const { 23*fe6060f1SDimitry Andric return {}; 240b57cec5SDimitry Andric } 250b57cec5SDimitry Andric getTargetDefines(const LangOptions & Opts,MacroBuilder & Builder) const260b57cec5SDimitry Andricvoid Le64TargetInfo::getTargetDefines(const LangOptions &Opts, 270b57cec5SDimitry Andric MacroBuilder &Builder) const { 280b57cec5SDimitry Andric DefineStd(Builder, "unix", Opts); 290b57cec5SDimitry Andric defineCPUMacros(Builder, "le64", /*Tuning=*/false); 300b57cec5SDimitry Andric } 31