15#ifndef LLVM_TARGETPARSER_CSKYTARGETPARSER_H
16#define LLVM_TARGETPARSER_CSKYTARGETPARSER_H
97#define CSKY_FPU(NAME, KIND, VERSION) KIND,
98#include "CSKYTargetParser.def"
111#define CSKY_ARCH(NAME, ID, ARCH_BASE_EXT) ID,
112#include "CSKYTargetParser.def"
128#define CSKY_ARCH_EXT_NAME(NAME, ID, FEATURE, NEGFEATURE) \
129 {NAME, sizeof(NAME) - 1, ID, FEATURE, NEGFEATURE},
130#include "CSKYTargetParser.def"
143#define CSKY_CPU_NAME(NAME, ARCH_ID, DEFAULT_EXT) \
144 {NAME, sizeof(NAME) - 1, CSKY::ArchKind::ARCH_ID, DEFAULT_EXT},
145#include "llvm/TargetParser/CSKYTargetParser.def"
161#define CSKY_FPU(NAME, KIND, VERSION) {NAME, sizeof(NAME) - 1, KIND, VERSION},
162#include "llvm/TargetParser/CSKYTargetParser.def"
174#define CSKY_ARCH(NAME, ID, ARCH_BASE_EXT) \
175 {NAME, sizeof(NAME) - 1, CSKY::ArchKind::ID, ARCH_BASE_EXT},
176#include "llvm/TargetParser/CSKYTargetParser.def"
185 std::vector<StringRef> &Features);
static cl::opt< std::set< SPIRV::Extension::Extension >, false, SPIRVExtensionsParser > Extensions("spirv-ext", cl::desc("Specify list of enabled SPIR-V extensions"))
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
StringRef - Represent a constant reference to a string, i.e.
StringRef getFPUName(unsigned FPUKind)
StringRef getArchExtFeature(StringRef ArchExt)
bool getExtensionFeatures(uint64_t Extensions, std::vector< StringRef > &Features)
void fillValidCPUArchList(SmallVectorImpl< StringRef > &Values)
const ArchNames< CSKY::ArchKind > ARCHNames[]
bool getFPUFeatures(CSKYFPUKind Kind, std::vector< StringRef > &Features)
uint64_t parseArchExt(StringRef ArchExt)
const CpuNames< CSKY::ArchKind > CPUNames[]
FPUVersion getFPUVersion(unsigned FPUKind)
ArchKind parseCPUArch(StringRef CPU)
ArchKind parseArch(StringRef Arch)
StringRef getDefaultCPU(StringRef Arch)
static const FPUName FPUNames[]
const CSKY::ExtName CSKYARCHExtNames[]
StringRef getArchExtName(uint64_t ArchExtKind)
StringRef getArchName(ArchKind AK)
uint64_t getDefaultExtensions(StringRef CPU)
This is an optimization pass for GlobalISel generic memory operations.
StringRef getName() const
StringRef getName() const
StringRef getName() const
StringRef getName() const