clang 20.0.0git
Classes | Macros | Variables
Hexagon.cpp File Reference
#include "Hexagon.h"
#include "Targets.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/BuiltinsHexagon.def"

Go to the source code of this file.

Classes

struct  CPUSuffix
 

Macros

#define BUILTIN(ID, TYPE, ATTRS)    {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES},
 
#define LIBBUILTIN(ID, TYPE, ATTRS, HEADER)    {#ID, TYPE, ATTRS, nullptr, HEADER, ALL_LANGUAGES},
 
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)    {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES},
 

Variables

static constexpr Builtin::Info BuiltinInfo []
 
static constexpr CPUSuffix Suffixes []
 

Macro Definition Documentation

◆ BUILTIN

#define BUILTIN (   ID,
  TYPE,
  ATTRS 
)     {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES},

◆ LIBBUILTIN

#define LIBBUILTIN (   ID,
  TYPE,
  ATTRS,
  HEADER 
)     {#ID, TYPE, ATTRS, nullptr, HEADER, ALL_LANGUAGES},

◆ TARGET_BUILTIN

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)     {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES},

Variable Documentation

◆ BuiltinInfo

constexpr Builtin::Info BuiltinInfo[]
staticconstexpr
Initial value:
= {
#define BUILTIN(ID, TYPE, ATTRS)
#define LIBBUILTIN(ID, TYPE, ATTRS, HEADER)
#define TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE)
}

Definition at line 201 of file Hexagon.cpp.

◆ Suffixes

constexpr CPUSuffix Suffixes[]
staticconstexpr
Initial value:
= {
{{"hexagonv5"}, {"5"}}, {{"hexagonv55"}, {"55"}},
{{"hexagonv60"}, {"60"}}, {{"hexagonv62"}, {"62"}},
{{"hexagonv65"}, {"65"}}, {{"hexagonv66"}, {"66"}},
{{"hexagonv67"}, {"67"}}, {{"hexagonv67t"}, {"67t"}},
{{"hexagonv68"}, {"68"}}, {{"hexagonv69"}, {"69"}},
{{"hexagonv71"}, {"71"}}, {{"hexagonv71t"}, {"71t"}},
{{"hexagonv73"}, {"73"}},
}

Definition at line 231 of file Hexagon.cpp.

Referenced by clang::targets::HexagonTargetInfo::fillValidCPUList(), clang::targets::HexagonTargetInfo::getHexagonCPUSuffix(), and clang::format::IntegerLiteralSeparatorFixer::process().