clang  14.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"
Include dependency graph for Hexagon.cpp:

Go to the source code of this file.

Classes

struct  CPUSuffix
 

Macros

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

Variables

static constexpr CPUSuffix Suffixes []
 

Macro Definition Documentation

◆ BUILTIN

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

◆ LIBBUILTIN

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

◆ TARGET_BUILTIN

#define TARGET_BUILTIN (   ID,
  TYPE,
  ATTRS,
  FEATURE 
)    {#ID, TYPE, ATTRS, nullptr, ALL_LANGUAGES, FEATURE},

Variable Documentation

◆ 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"}},
}

Definition at line 212 of file Hexagon.cpp.

Referenced by clang::targets::HexagonTargetInfo::fillValidCPUList().