#include "AVR.h"
#include "clang/Basic/MacroBuilder.h"
#include "llvm/ADT/StringSwitch.h"
usingnamespaceclang;
usingnamespaceclang::targets;
namespace clang {
namespace targets {
struct LLVM_LIBRARY_VISIBILITY MCUInfo { … };
static MCUInfo AVRMcus[] = …;
}
}
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 { … }