clang 22.0.0git
SystemZ.cpp File Reference
#include "SystemZ.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/MacroBuilder.h"
#include "clang/Basic/TargetBuiltins.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "clang/Basic/BuiltinsSystemZ.def"

Go to the source code of this file.

Classes

struct  ISANameRevision

Macros

#define BUILTIN   CLANG_BUILTIN_STR_TABLE
#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_STR_TABLE
#define BUILTIN   CLANG_BUILTIN_ENTRY
#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_ENTRY

Variables

static constexpr int NumBuiltins
static constexpr llvm::StringTable BuiltinStrings
static constexpr auto BuiltinInfos
const TargetInfo::AddlRegName GCCAddlRegNames []
static constexpr ISANameRevision ISARevisions []

Macro Definition Documentation

◆ BUILTIN [1/2]

#define BUILTIN   CLANG_BUILTIN_STR_TABLE

◆ BUILTIN [2/2]

#define BUILTIN   CLANG_BUILTIN_ENTRY

◆ TARGET_BUILTIN [1/2]

#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_STR_TABLE

◆ TARGET_BUILTIN [2/2]

#define TARGET_BUILTIN   CLANG_TARGET_BUILTIN_ENTRY

Variable Documentation

◆ BuiltinInfos

auto BuiltinInfos
staticconstexpr
Initial value:
#define BUILTIN
#define TARGET_BUILTIN
})
static constexpr std::array< Info, N > MakeInfos(std::array< Info, N > Infos)
A constexpr function to construct an infos array from X-macros.
Definition Builtins.h:107

Definition at line 34 of file SystemZ.cpp.

◆ BuiltinStrings

llvm::StringTable BuiltinStrings
staticconstexpr
Initial value:
=
#define BUILTIN
#define TARGET_BUILTIN
#define CLANG_BUILTIN_STR_TABLE_START
Definition Builtins.h:158

Definition at line 27 of file SystemZ.cpp.

◆ GCCAddlRegNames

const TargetInfo::AddlRegName GCCAddlRegNames[]
Initial value:
= {
{{"v0"}, 16}, {{"v2"}, 17}, {{"v4"}, 18}, {{"v6"}, 19},
{{"v1"}, 20}, {{"v3"}, 21}, {{"v5"}, 22}, {{"v7"}, 23},
{{"v8"}, 24}, {{"v10"}, 25}, {{"v12"}, 26}, {{"v14"}, 27},
{{"v9"}, 28}, {{"v11"}, 29}, {{"v13"}, 30}, {{"v15"}, 31}
}

Definition at line 50 of file SystemZ.cpp.

◆ ISARevisions

ISANameRevision ISARevisions[]
staticconstexpr
Initial value:
= {
{{"arch8"}, 8}, {{"z10"}, 8},
{{"arch9"}, 9}, {{"z196"}, 9},
{{"arch10"}, 10}, {{"zEC12"}, 10},
{{"arch11"}, 11}, {{"z13"}, 11},
{{"arch12"}, 12}, {{"z14"}, 12},
{{"arch13"}, 13}, {{"z15"}, 13},
{{"arch14"}, 14}, {{"z16"}, 14},
{{"arch15"}, 15}, {{"z17"}, 15},
}

Definition at line 109 of file SystemZ.cpp.

Referenced by clang::targets::SystemZTargetInfo::fillValidCPUList(), and clang::targets::SystemZTargetInfo::getISARevision().

◆ NumBuiltins

int NumBuiltins
staticconstexpr
Initial value:

Definition at line 24 of file SystemZ.cpp.