clang 24.0.0git
AVR.cpp File Reference
#include "AVR.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/BuiltinsAVR.inc"

Go to the source code of this file.

Classes

struct  clang::targets::MCUInfo
 Information about a specific microcontroller. More...

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::targets

Macros

#define GET_BUILTIN_STR_TABLE
#define GET_BUILTIN_INFOS

Functions

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)

Variables

static constexpr int NumBuiltins = AVR::LastTSBuiltin - Builtin::FirstTSBuiltin
static constexpr Builtin::Info BuiltinInfos []
static const MCUInfo clang::targets::AVRMcus []

Macro Definition Documentation

◆ GET_BUILTIN_INFOS

#define GET_BUILTIN_INFOS

◆ GET_BUILTIN_STR_TABLE

#define GET_BUILTIN_STR_TABLE

Definition at line 24 of file AVR.cpp.

Function Documentation

◆ ArchHas3BytePC()

bool ArchHas3BytePC ( StringRef Arch)
static

◆ ArchHasELPM()

bool ArchHasELPM ( StringRef Arch)
static

Definition at line 436 of file AVR.cpp.

References Arch, and clang::Default.

Referenced by clang::targets::AVRTargetInfo::getTargetDefines().

◆ ArchHasELPMX()

bool ArchHasELPMX ( StringRef Arch)
static

Definition at line 443 of file AVR.cpp.

References Arch, and clang::Default.

Referenced by clang::targets::AVRTargetInfo::getTargetDefines().

◆ ArchHasJMPCALL()

bool ArchHasJMPCALL ( StringRef Arch)
static

◆ ArchHasLPMX()

bool ArchHasLPMX ( StringRef Arch)
static

Definition at line 457 of file AVR.cpp.

References Arch, and ArchHasMOVW().

Referenced by clang::targets::AVRTargetInfo::getTargetDefines().

◆ ArchHasMOVW()

bool ArchHasMOVW ( StringRef Arch)
static

Definition at line 450 of file AVR.cpp.

References Arch, and clang::Default.

Referenced by ArchHasLPMX(), and clang::targets::AVRTargetInfo::getTargetDefines().

◆ ArchHasMUL()

bool ArchHasMUL ( StringRef Arch)
static

Definition at line 461 of file AVR.cpp.

References Arch, and clang::Default.

Referenced by clang::targets::AVRTargetInfo::getTargetDefines().

Variable Documentation

◆ BuiltinInfos

Builtin::Info BuiltinInfos[]
staticconstexpr
Initial value:
= {
#define GET_BUILTIN_INFOS
}

Definition at line 28 of file AVR.cpp.

◆ NumBuiltins

int NumBuiltins = AVR::LastTSBuiltin - Builtin::FirstTSBuiltin
staticconstexpr

Definition at line 22 of file AVR.cpp.