clang  7.0.0svn
Macros | Functions | Variables
PPC.cpp File Reference
#include "PPC.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/BuiltinsPPC.def"
Include dependency graph for PPC.cpp:

Go to the source code of this file.

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

Functions

static bool ppcUserFeaturesCheck (DiagnosticsEngine &Diags, const std::vector< std::string > &FeaturesVec)
 

Variables

static constexpr llvm::StringLiteral ValidCPUNames []
 

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

Function Documentation

◆ ppcUserFeaturesCheck()

static bool ppcUserFeaturesCheck ( DiagnosticsEngine Diags,
const std::vector< std::string > &  FeaturesVec 
)
static

Variable Documentation

◆ ValidCPUNames

constexpr llvm::StringLiteral ValidCPUNames[]
static
Initial value:
= {
{"generic"}, {"440"}, {"450"}, {"601"}, {"602"},
{"603"}, {"603e"}, {"603ev"}, {"604"}, {"604e"},
{"620"}, {"630"}, {"g3"}, {"7400"}, {"g4"},
{"7450"}, {"g4+"}, {"750"}, {"970"}, {"g5"},
{"a2"}, {"a2q"}, {"e500mc"}, {"e5500"}, {"power3"},
{"pwr3"}, {"power4"}, {"pwr4"}, {"power5"}, {"pwr5"},
{"power5x"}, {"pwr5x"}, {"power6"}, {"pwr6"}, {"power6x"},
{"pwr6x"}, {"power7"}, {"pwr7"}, {"power8"}, {"pwr8"},
{"power9"}, {"pwr9"}, {"powerpc"}, {"ppc"}, {"powerpc64"},
{"ppc64"}, {"powerpc64le"}, {"ppc64le"},
}

Definition at line 415 of file PPC.cpp.

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