LLVM 19.0.0git
Macros | Variables
LoongArchTargetParser.cpp File Reference
#include "llvm/TargetParser/LoongArchTargetParser.h"
#include "llvm/TargetParser/LoongArchTargetParser.def"

Go to the source code of this file.

Macros

#define LOONGARCH_FEATURE(NAME, KIND)   {NAME, KIND},
 
#define LOONGARCH_ARCH(NAME, KIND, FEATURES)    {NAME, LoongArch::ArchKind::KIND, FEATURES},
 

Variables

const FeatureInfo AllFeatures []
 
const ArchInfo AllArchs []
 

Macro Definition Documentation

◆ LOONGARCH_ARCH

#define LOONGARCH_ARCH (   NAME,
  KIND,
  FEATURES 
)     {NAME, LoongArch::ArchKind::KIND, FEATURES},

◆ LOONGARCH_FEATURE

#define LOONGARCH_FEATURE (   NAME,
  KIND 
)    {NAME, KIND},

Variable Documentation

◆ AllArchs

const ArchInfo AllArchs[]
Initial value:
= {
#define LOONGARCH_ARCH(NAME, KIND, FEATURES)
}

Definition at line 24 of file LoongArchTargetParser.cpp.

Referenced by llvm::LoongArch::fillValidCPUList(), llvm::LoongArch::getArchFeatures(), and llvm::LoongArch::isValidArchName().

◆ AllFeatures

const FeatureInfo AllFeatures[]
Initial value:
= {
#define LOONGARCH_FEATURE(NAME, KIND)
}

Definition at line 19 of file LoongArchTargetParser.cpp.

Referenced by llvm::LoongArch::getArchFeatures().