LLVM 22.0.0git
LoongArchTargetParser.cpp File Reference
#include "llvm/TargetParser/LoongArchTargetParser.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/TargetParser/LoongArchTargetParser.def"

Go to the source code of this file.

Macros

#define LOONGARCH_FEATURE(NAME, KIND)
#define LOONGARCH_ARCH(NAME, KIND, FEATURES)

Variables

const FeatureInfo AllFeatures []
const ArchInfo AllArchs []

Macro Definition Documentation

◆ LOONGARCH_ARCH

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

◆ LOONGARCH_FEATURE

#define LOONGARCH_FEATURE ( NAME,
KIND )
Value:
{NAME, KIND},
#define KIND(ENUM, FIELD)
Definition LVSupport.h:116

Variable Documentation

◆ AllArchs

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

Definition at line 25 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 20 of file LoongArchTargetParser.cpp.

Referenced by llvm::LoongArch::getArchFeatures(), getBBAddrMapFeature(), and llvm::LoongArch::isValidFeatureName().