clang 20.0.0git
|
#include "X86.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/TargetParser/X86TargetParser.h"
#include <optional>
#include "clang/Basic/BuiltinsX86.def"
#include "clang/Basic/BuiltinsX86_64.def"
#include "llvm/TargetParser/X86TargetParser.def"
Go to the source code of this file.
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::targets |
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 | TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANGS, FEATURE) {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::HEADER, LANGS}, |
#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 | TARGET_HEADER_BUILTIN(ID, TYPE, ATTRS, HEADER, LANGS, FEATURE) {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::HEADER, LANGS}, |
#define | X86_FEATURE_COMPAT(ENUM, STR, PRIORITY) .Case(STR, true) |
#define | X86_MICROARCH_LEVEL(ENUM, STR, PRIORITY) .Case(STR, true) |
#define | X86_FEATURE_COMPAT(ENUM, STR, PRIORITY) .Case(STR, llvm::X86::FEATURE_##ENUM) |
#define | X86_VENDOR(ENUM, STRING) .Case(STRING, true) |
#define | X86_CPU_TYPE_ALIAS(ENUM, ALIAS) .Case(ALIAS, true) |
#define | X86_CPU_TYPE(ENUM, STR) .Case(STR, true) |
#define | X86_CPU_SUBTYPE_ALIAS(ENUM, ALIAS) .Case(ALIAS, true) |
#define | X86_CPU_SUBTYPE(ENUM, STR) .Case(STR, true) |
Functions | |
static llvm::X86::ProcessorFeatures | getFeature (StringRef Name) |
static unsigned | matchAsmCCConstraint (const char *Name) |
Variables | |
static constexpr Builtin::Info | clang::targets::BuiltinInfoX86 [] |
static const char *const | clang::targets::GCCRegNames [] |
const TargetInfo::AddlRegName | clang::targets::AddlRegNames [] |
#define BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS | |||
) | {#ID, TYPE, ATTRS, nullptr, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#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 TARGET_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::NO_HEADER, ALL_LANGUAGES}, |
#define TARGET_HEADER_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
HEADER, | |||
LANGS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::HEADER, LANGS}, |
#define TARGET_HEADER_BUILTIN | ( | ID, | |
TYPE, | |||
ATTRS, | |||
HEADER, | |||
LANGS, | |||
FEATURE | |||
) | {#ID, TYPE, ATTRS, FEATURE, HeaderDesc::HEADER, LANGS}, |
#define X86_CPU_SUBTYPE | ( | ENUM, | |
STR | |||
) | .Case(STR, true) |
#define X86_CPU_TYPE | ( | ENUM, | |
STR | |||
) | .Case(STR, true) |
#define X86_FEATURE_COMPAT | ( | ENUM, | |
STR, | |||
PRIORITY | |||
) | .Case(STR, true) |
#define X86_FEATURE_COMPAT | ( | ENUM, | |
STR, | |||
PRIORITY | |||
) | .Case(STR, llvm::X86::FEATURE_##ENUM) |
#define X86_MICROARCH_LEVEL | ( | ENUM, | |
STR, | |||
PRIORITY | |||
) | .Case(STR, true) |
#define X86_VENDOR | ( | ENUM, | |
STRING | |||
) | .Case(STRING, true) |
|
static |
Definition at line 1307 of file X86.cpp.
Referenced by clang::targets::X86TargetInfo::multiVersionSortPriority().