20#define LOONGARCH_FEATURE(NAME, KIND) {NAME, KIND},
21#include "llvm/TargetParser/LoongArchTargetParser.def"
25#define LOONGARCH_ARCH(NAME, KIND, FEATURES) \
26 {NAME, LoongArch::ArchKind::KIND, FEATURES},
27#include "llvm/TargetParser/LoongArchTargetParser.def"
38 std::vector<StringRef> &Features) {
42 if ((
A.Features &
F.Kind) ==
F.Kind)
43 Features.push_back(
F.Name);
59 return Is64Bit ?
"loongarch64" :
"";
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
const FeatureInfo AllFeatures[]
const ArchInfo AllArchs[]
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
reference emplace_back(ArgTypes &&... Args)
StringRef - Represent a constant reference to a string, i.e.
StringRef getDefaultArch(bool Is64Bit)
bool getArchFeatures(StringRef Arch, std::vector< StringRef > &Features)
bool isValidCPUName(StringRef TuneCPU)
bool isValidArchName(StringRef Arch)
void fillValidCPUList(SmallVectorImpl< StringRef > &Values)
This is an optimization pass for GlobalISel generic memory operations.