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"
35 return LoongArch::ArchKind::AK_INVALID;
39 std::vector<StringRef> &Features) {
44 Features.push_back(
F.Name);
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
const FeatureInfo AllFeatures[]
const ArchInfo AllArchs[]
StringRef - Represent a constant reference to a string, i.e.
bool getArchFeatures(StringRef Arch, std::vector< StringRef > &Features)
ArchKind parseArch(StringRef Arch)
This is an optimization pass for GlobalISel generic memory operations.