clang 20.0.0git
|
#include "PPC.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/TargetParser/PPCTargetParser.h"
#include "clang/Basic/BuiltinsPPC.def"
#include "llvm/TargetParser/PPCTargetParser.def"
Go to the source code of this file.
Macros | |
#define | BUILTIN(ID, TYPE, ATTRS) {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define | TARGET_BUILTIN(ID, TYPE, ATTRS, FEATURE) {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define | LIBBUILTIN(ID, TYPE, ATTRS, HEADER) {#ID, TYPE, ATTRS, nullptr, HeaderDesc::HEADER, ALL_LANGUAGES}, |
#define | PPC_AIX_FEATURE(NAME, DESC, SUPPORT_METHOD, INDEX, MASK, COMP_OP, VALUE) .Case(NAME, true) |
#define | PPC_LNX_FEATURE(NAME, DESC, ENUMNAME, ENUMVAL, HWCAPN) .Case(NAME, true) |
#define | PPC_CPU(NAME, Linux_SUPPORT_METHOD, LinuxID, AIX_SUPPORT_METHOD, AIXID) .Case(NAME, {Linux_SUPPORT_METHOD, AIX_SUPPORT_METHOD}) |
Functions | |
static void | defineXLCompatMacros (MacroBuilder &Builder) |
static bool | ppcUserFeaturesCheck (DiagnosticsEngine &Diags, const std::vector< std::string > &FeaturesVec) |
Variables | |
static constexpr Builtin::Info | BuiltinInfo [] |
const TargetInfo::AddlRegName | GCCAddlRegNames [] |
#define BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS | |||
) | {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define LIBBUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
HEADER | |||
) | {#ID, TYPE, ATTRS, nullptr, HeaderDesc::HEADER, ALL_LANGUAGES}, |
#define PPC_AIX_FEATURE | ( | NAME, | |
DESC, | |||
SUPPORT_METHOD, | |||
INDEX, | |||
MASK, | |||
COMP_OP, | |||
VALUE | |||
) | .Case(NAME, true) |
#define PPC_CPU | ( | NAME, | |
Linux_SUPPORT_METHOD, | |||
LinuxID, | |||
AIX_SUPPORT_METHOD, | |||
AIXID | |||
) | .Case(NAME, {Linux_SUPPORT_METHOD, AIX_SUPPORT_METHOD}) |
#define PPC_LNX_FEATURE | ( | NAME, | |
DESC, | |||
ENUMNAME, | |||
ENUMVAL, | |||
HWCAPN | |||
) | .Case(NAME, true) |
#define TARGET_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
|
static |
Definition at line 107 of file PPC.cpp.
Referenced by clang::targets::PPCTargetInfo::getTargetDefines().
|
static |
Definition at line 470 of file PPC.cpp.
References clang::Found, and clang::DiagnosticsEngine::Report().
Referenced by clang::targets::PPCTargetInfo::initFeatureMap().
|
staticconstexpr |
const TargetInfo::AddlRegName GCCAddlRegNames[] |
Definition at line 875 of file PPC.cpp.
Referenced by clang::targets::PPCTargetInfo::getGCCAddlRegNames(), and clang::targets::SystemZTargetInfo::getGCCAddlRegNames().