llvm/clang/lib/Basic/Targets/AVR.cpp

//===--- AVR.cpp - Implement AVR target feature support -------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file implements AVR TargetInfo objects.
//
//===----------------------------------------------------------------------===//

#include "AVR.h"
#include "clang/Basic/MacroBuilder.h"
#include "llvm/ADT/StringSwitch.h"

usingnamespaceclang;
usingnamespaceclang::targets;

namespace clang {
namespace targets {

/// Information about a specific microcontroller.
struct LLVM_LIBRARY_VISIBILITY MCUInfo {};

// NOTE: This list has been synchronized with gcc-avr 5.4.0 and avr-libc 2.0.0.
static MCUInfo AVRMcus[] =;

} // namespace targets
} // namespace clang

static bool ArchHasELPM(StringRef Arch) {}

static bool ArchHasELPMX(StringRef Arch) {}

static bool ArchHasMOVW(StringRef Arch) {}

static bool ArchHasLPMX(StringRef Arch) {}

static bool ArchHasMUL(StringRef Arch) {}

static bool ArchHasJMPCALL(StringRef Arch) {}

static bool ArchHas3BytePC(StringRef Arch) {}

bool AVRTargetInfo::isValidCPUName(StringRef Name) const {}

void AVRTargetInfo::fillValidCPUList(SmallVectorImpl<StringRef> &Values) const {}

bool AVRTargetInfo::setCPU(const std::string &Name) {}

std::optional<std::string>
AVRTargetInfo::handleAsmEscapedChar(char EscChar) const {}

void AVRTargetInfo::getTargetDefines(const LangOptions &Opts,
                                     MacroBuilder &Builder) const {}