21#define LOONGARCH_FEATURE(NAME, KIND) {NAME, KIND}, 
   22#include "llvm/TargetParser/LoongArchTargetParser.def" 
 
   26#define LOONGARCH_ARCH(NAME, KIND, FEATURES)                                   \ 
   27  {NAME, LoongArch::ArchKind::KIND, FEATURES}, 
   28#include "llvm/TargetParser/LoongArchTargetParser.def" 
 
   43        F.Name.starts_with(
"+") ? 
F.Name.drop_front() : 
F.Name;
 
   44    if (CanonicalName == Feature)
 
 
   51                                std::vector<StringRef> &Features) {
 
   55        if ((
A.Features & 
F.Kind) == 
F.Kind)
 
   56          Features.push_back(
F.Name);
 
   61  if (Arch == 
"la64v1.0" || Arch == 
"la64v1.1") {
 
   62    Features.push_back(
"+64bit");
 
   63    Features.push_back(
"+d");
 
   64    Features.push_back(
"+lsx");
 
   65    Features.push_back(
"+ual");
 
   66    if (Arch == 
"la64v1.1") {
 
   67      Features.push_back(
"+frecipe");
 
   68      Features.push_back(
"+lam-bh");
 
   69      Features.push_back(
"+lamcas");
 
   70      Features.push_back(
"+ld-seq-sa");
 
   71      Features.push_back(
"+div32");
 
   72      Features.push_back(
"+scq");
 
 
   89  return Is64Bit ? 
"loongarch64" : 
"";
 
 
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
 
const FeatureInfo AllFeatures[]
 
const ArchInfo AllArchs[]
 
This file defines the SmallVector class.
 
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.
 
bool starts_with(StringRef Prefix) const
Check if this string starts with the given Prefix.
 
LLVM_ABI StringRef getDefaultArch(bool Is64Bit)
 
LLVM_ABI bool getArchFeatures(StringRef Arch, std::vector< StringRef > &Features)
 
LLVM_ABI bool isValidCPUName(StringRef TuneCPU)
 
LLVM_ABI bool isValidFeatureName(StringRef Feature)
 
LLVM_ABI bool isValidArchName(StringRef Arch)
 
LLVM_ABI void fillValidCPUList(SmallVectorImpl< StringRef > &Values)
 
This is an optimization pass for GlobalISel generic memory operations.