clang  7.0.0svn
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},
 

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

Variable Documentation

◆ Suffixes

constexpr CPUSuffix Suffixes[]
static
Initial value:
= {
{{"hexagonv4"}, {"4"}}, {{"hexagonv5"}, {"5"}},
{{"hexagonv55"}, {"55"}}, {{"hexagonv60"}, {"60"}},
{{"hexagonv62"}, {"62"}}, {{"hexagonv65"}, {"65"}},
}

Definition at line 148 of file Hexagon.cpp.

Referenced by clang::targets::HexagonTargetInfo::fillValidCPUList(), and clang::driver::toolchains::Generic_GCC::GCCInstallationDetector::getBiarchSibling().