LLVM
15.0.0git
|
Define some predicates that are used for node matching. More...
Namespaces | |
EHABI | |
WinEH | |
Classes | |
struct | ArchNames |
struct | CpuNames |
struct | ExtName |
struct | FPUName |
struct | ParsedBranchProtection |
Variables | |
const ExtName | ARCHExtNames [] |
struct { | |
const char * llvm::ARM::NameCStr | |
size_t llvm::ARM::NameLength | |
uint64_t llvm::ARM::ID | |
} | HWDivNames [] |
const CpuNames< ArchKind > | CPUNames [] |
static const FPUName | FPUNames [] |
static const ArchNames< ArchKind > | ARCHNames [] |
const unsigned | RoundingBitsPos = 22 |
RegisterBankInfo::PartialMapping | PartMappings [] |
RegisterBankInfo::ValueMapping | ValueMappings [] |
Define some predicates that are used for node matching.
enum llvm::ARM::ArchExtKind : uint64_t |
Definition at line 29 of file ARMTargetParser.h.
|
strong |
Enumerator | |
---|---|
ARM_ARCH |
Definition at line 103 of file ARMTargetParser.h.
enum llvm::ARM::DW_ISA |
Enumerator | |
---|---|
DW_ISA_ARM_thumb | |
DW_ISA_ARM_arm |
Definition at line 25 of file ARMAsmPrinter.h.
|
strong |
Enumerator | |
---|---|
INVALID | |
LITTLE | |
BIG |
Definition at line 166 of file ARMTargetParser.h.
enum llvm::ARM::Fixups |
Definition at line 16 of file ARMFixupKinds.h.
enum llvm::ARM::FPUKind |
Enumerator | |
---|---|
FK_LAST |
Definition at line 130 of file ARMTargetParser.h.
|
strong |
Enumerator | |
---|---|
None | No restriction. |
D16 | Only 16 D registers. |
SP_D16 | Only single-precision instructions, with 16 D registers. |
Definition at line 148 of file ARMTargetParser.h.
|
strong |
Enumerator | |
---|---|
NONE | |
VFPV2 | |
VFPV3 | |
VFPV3_FP16 | |
VFPV4 | |
VFPV5 | |
VFPV5_FULLFP16 |
Definition at line 137 of file ARMTargetParser.h.
|
strong |
Enumerator | |
---|---|
INVALID | |
ARM | |
THUMB | |
AARCH64 |
Definition at line 162 of file ARMTargetParser.h.
|
strong |
Enumerator | |
---|---|
None | No Neon. |
Neon | Neon. |
Crypto | Neon with Crypto. |
Definition at line 155 of file ARMTargetParser.h.
Enumerator | |
---|---|
OPERAND_VPRED_R | |
OPERAND_VPRED_N |
Definition at line 116 of file ARMMCTargetDesc.h.
Enumerator | |
---|---|
PMI_GPR | |
PMI_SPR | |
PMI_DPR | |
PMI_Min |
Definition at line 31 of file ARMRegisterBankInfo.cpp.
|
strong |
Mask values for IT and VPT Blocks, to be used by MCOperands.
Note that this is different from the "real" encoding used by the instructions. In this encoding, the lowest set bit indicates the end of the encoding, and above that, "1" indicates an else, while "0" indicates a then. Tx = x100 Txy = xy10 Txyz = xyz1
Enumerator | |
---|---|
T | |
TT | |
TE | |
TTT | |
TTE | |
TEE | |
TET | |
TTTT | |
TTTE | |
TTEE | |
TTET | |
TEEE | |
TEET | |
TETT | |
TETE |
Definition at line 105 of file ARMBaseInfo.h.
|
strong |
Enumerator | |
---|---|
INVALID | |
A | |
R | |
M |
Definition at line 169 of file ARMTargetParser.h.
enum llvm::ARM::Rounding |
Possible values of current rounding mode, which is specified in bits 23:22 of FPSCR.
Enumerator | |
---|---|
RN | |
RP | |
RM | |
RZ | |
rmMask |
Definition at line 368 of file ARMISelLowering.h.
Enumerator | |
---|---|
InvalidIdx | |
GPR3OpsIdx | |
SPR3OpsIdx | |
DPR3OpsIdx |
Definition at line 68 of file ARMRegisterBankInfo.cpp.
bool llvm::ARM::appendArchExtFeatures | ( | StringRef | CPU, |
ARM::ArchKind | AK, | ||
StringRef | ArchExt, | ||
std::vector< StringRef > & | Features, | ||
unsigned & | ArgFPUKind | ||
) |
Definition at line 515 of file ARMTargetParser.cpp.
References llvm::AArch64::AEK_INVALID, ARCHExtNames, findDoublePrecisionFPU(), llvm::FK_NONE, llvm::AArch64::getDefaultFPU(), getFPUFeatures(), llvm::AArch64::parseArchExt(), and stripNegationPrefix().
|
static |
Definition at line 55 of file ARMRegisterBankInfo.cpp.
References assert(), checkPartMapping(), PartMappings, PMI_DPR, PMI_GPR, PMI_Min, and PMI_SPR.
Referenced by llvm::ARMRegisterBankInfo::ARMRegisterBankInfo().
|
static |
Definition at line 48 of file ARMRegisterBankInfo.cpp.
References llvm::RegisterBank::getID(), llvm::RegisterBankInfo::PartialMapping::Length, llvm::RegisterBankInfo::PartialMapping::RegBank, and llvm::RegisterBankInfo::PartialMapping::StartIdx.
Referenced by checkPartialMappings().
|
static |
Definition at line 92 of file ARMRegisterBankInfo.cpp.
References llvm::RegisterBankInfo::ValueMapping::BreakDown, and llvm::RegisterBankInfo::ValueMapping::NumBreakDowns.
Referenced by checkValueMappings().
|
static |
Definition at line 97 of file ARMRegisterBankInfo.cpp.
References assert(), checkValueMapping(), DPR3OpsIdx, GPR3OpsIdx, PartMappings, PMI_DPR, PMI_GPR, PMI_Min, PMI_SPR, SPR3OpsIdx, and ValueMappings.
Referenced by llvm::ARMRegisterBankInfo::ARMRegisterBankInfo().
Definition at line 606 of file ARMTargetParser.cpp.
References llvm::Triple::Android, llvm::Triple::EABI, llvm::Triple::EABIHF, llvm::StringRef::empty(), llvm::AArch64::getArchName(), llvm::Triple::GNUEABI, llvm::Triple::GNUEABIHF, M, llvm::Triple::MuslEABI, llvm::Triple::MuslEABIHF, parseArchProfile(), llvm::AArch64::parseCPUArch(), TT, and llvm::Triple::UnknownOS.
Referenced by computeTargetABI().
FastISel * llvm::ARM::createFastISel | ( | FunctionLoweringInfo & | funcInfo, |
const TargetLibraryInfo * | libInfo | ||
) |
Definition at line 3079 of file ARMFastISel.cpp.
References llvm::MachineFunction::getSubtarget(), llvm::FunctionLoweringInfo::MF, and llvm::ARMSubtarget::useFastISel().
Referenced by llvm::ARMTargetLowering::createFastISel().
void llvm::ARM::fillValidCPUArchList | ( | SmallVectorImpl< StringRef > & | Values | ) |
Definition at line 599 of file ARMTargetParser.cpp.
References CPUNames.
unsigned llvm::ARM::getArchAttr | ( | ARM::ArchKind | AK | ) |
Definition at line 456 of file ARMTargetParser.cpp.
References ARCHNames.
Definition at line 476 of file ARMTargetParser.cpp.
References ARCHExtNames, and stripNegationPrefix().
Definition at line 460 of file ARMTargetParser.cpp.
References ARCHExtNames.
StringRef llvm::ARM::getArchName | ( | ARM::ArchKind | AK | ) |
Definition at line 444 of file ARMTargetParser.cpp.
References ARCHNames, and getName().
Referenced by llvm::ARM_MC::ParseARMTriple().
Definition at line 151 of file ARMTargetParser.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Cases(), and llvm::StringSwitch< T, R >::Default().
Referenced by llvm::AArch64::parseArch(), and parseArch().
Definition at line 295 of file ARMTargetParser.cpp.
References llvm::StringRef::npos.
Referenced by llvm::Triple::getARMCPUForArch(), llvm::AArch64::parseArch(), parseArch(), parseArchProfile(), parseArchVersion(), parseARMArch(), and parseSubArch().
StringRef llvm::ARM::getCPUAttr | ( | ARM::ArchKind | AK | ) |
Definition at line 448 of file ARMTargetParser.cpp.
References ARCHNames, and llvm::AArch64::getCPUAttr().
Definition at line 559 of file ARMTargetParser.cpp.
References CPUNames, and parseArch().
Referenced by llvm::Triple::getARMCPUForArch().
uint64_t llvm::ARM::getDefaultExtensions | ( | StringRef | CPU, |
ARM::ArchKind | AK | ||
) |
Definition at line 396 of file ARMTargetParser.cpp.
References AEK_INVALID, ARCHNames, and llvm::StringSwitch< T, R >::Default().
unsigned llvm::ARM::getDefaultFPU | ( | StringRef | CPU, |
ARM::ArchKind | AK | ||
) |
Definition at line 385 of file ARMTargetParser.cpp.
References ARCHNames, llvm::StringSwitch< T, R >::Default(), and llvm::RISCV::FK_INVALID.
Definition at line 428 of file ARMTargetParser.cpp.
References llvm::AArch64::AEK_INVALID, ARCHExtNames, and getHWDivFeatures().
bool llvm::ARM::getFPUFeatures | ( | unsigned | FPUKind, |
std::vector< StringRef > & | Features | ||
) |
Definition at line 183 of file ARMTargetParser.cpp.
References llvm::RISCV::FK_INVALID, FK_LAST, FPUNames, Info, llvm::None, and llvm::ARM::FPUName::Restriction.
Referenced by appendArchExtFeatures().
StringRef llvm::ARM::getFPUName | ( | unsigned | FPUKind | ) |
Definition at line 367 of file ARMTargetParser.cpp.
References FK_LAST, FPUNames, and llvm::ARM::FPUName::getName().
ARM::NeonSupportLevel llvm::ARM::getFPUNeonSupportLevel | ( | unsigned | FPUKind | ) |
Definition at line 285 of file ARMTargetParser.cpp.
References FK_LAST, FPUNames, llvm::ARM::FPUName::NeonSupport, and llvm::None.
ARM::FPURestriction llvm::ARM::getFPURestriction | ( | unsigned | FPUKind | ) |
Definition at line 379 of file ARMTargetParser.cpp.
References FK_LAST, FPUNames, llvm::None, and llvm::ARM::FPUName::Restriction.
Definition at line 350 of file ARMTargetParser.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Cases(), and llvm::StringSwitch< T, R >::Default().
Referenced by parseFPU().
ARM::FPUVersion llvm::ARM::getFPUVersion | ( | unsigned | FPUKind | ) |
Definition at line 373 of file ARMTargetParser.cpp.
References FK_LAST, FPUNames, llvm::ARM::FPUName::FPUVer, and llvm::CSKYAttrs::NONE.
Definition at line 409 of file ARMTargetParser.cpp.
References AEK_HWDIVARM, AEK_HWDIVTHUMB, and llvm::AArch64::AEK_INVALID.
Referenced by getExtensionFeatures().
StringRef llvm::ARM::getSubArch | ( | ARM::ArchKind | AK | ) |
Definition at line 452 of file ARMTargetParser.cpp.
References ARCHNames, and llvm::AArch64::getSubArch().
bool llvm::ARM::isBitFieldInvertedMask | ( | unsigned | v | ) |
Definition at line 20608 of file ARMISelLowering.cpp.
References llvm::isShiftedMask_32().
Referenced by PerformORCombineToBFI().
bool llvm::ARM::isCDECoproc | ( | size_t | Coproc, |
const MCSubtargetInfo & | STI | ||
) |
Definition at line 633 of file ARMMCTargetDesc.cpp.
References llvm::MCSubtargetInfo::getFeatureBits().
|
inline |
Definition at line 120 of file ARMMCTargetDesc.h.
References op, OPERAND_VPRED_N, and OPERAND_VPRED_R.
Referenced by findFirstVectorPredOperandIdx(), llvm::findFirstVPTPredOperandIdx(), isVectorPredicable(), and isVpred().
|
inline |
Definition at line 123 of file ARMMCTargetDesc.h.
ARM::ArchKind llvm::ARM::parseArch | ( | StringRef | Arch | ) |
Definition at line 28 of file ARMTargetParser.cpp.
References ARCHNames, getArchSynonym(), and getCanonicalArchName().
Referenced by getARMSubType(), llvm::ARM_MC::ParseARMTriple(), and parseSubArch().
ARM::EndianKind llvm::ARM::parseArchEndian | ( | StringRef | Arch | ) |
Definition at line 248 of file ARMTargetParser.cpp.
References llvm::StringRef::endswith(), and llvm::StringRef::startswith().
Referenced by parseARMArch().
Definition at line 583 of file ARMTargetParser.cpp.
References llvm::AArch64::AEK_INVALID, and ARCHExtNames.
ARM::ISAKind llvm::ARM::parseArchISA | ( | StringRef | Arch | ) |
Definition at line 267 of file ARMTargetParser.cpp.
References llvm::StringSwitch< T, R >::Default(), and llvm::StringSwitch< T, R >::StartsWith().
Referenced by parseARMArch().
ARM::ProfileKind llvm::ARM::parseArchProfile | ( | StringRef | Arch | ) |
Definition at line 98 of file ARMTargetParser.cpp.
References A, getCanonicalArchName(), llvm_unreachable, M, parseArch(), and llvm::RISCVFenceField::R.
Referenced by computeDefaultTargetABI(), and parseARMArch().
unsigned llvm::ARM::parseArchVersion | ( | StringRef | Arch | ) |
Definition at line 39 of file ARMTargetParser.cpp.
References getCanonicalArchName(), llvm_unreachable, and parseArch().
Referenced by llvm::Triple::getARMCPUForArch(), and parseARMArch().
bool llvm::ARM::parseBranchProtection | ( | StringRef | Spec, |
ParsedBranchProtection & | PBP, | ||
StringRef & | Err | ||
) |
Definition at line 352 of file TargetParser.cpp.
ARM::ArchKind llvm::ARM::parseCPUArch | ( | StringRef | CPU | ) |
Definition at line 591 of file ARMTargetParser.cpp.
References CPUNames.
unsigned llvm::ARM::parseFPU | ( | StringRef | FPU | ) |
Definition at line 276 of file ARMTargetParser.cpp.
References F, llvm::RISCV::FK_INVALID, FPUNames, and getFPUSynonym().
Definition at line 574 of file ARMTargetParser.cpp.
References llvm::AArch64::AEK_INVALID, D, getHWDivSynonym(), and HWDivNames.
Definition at line 82 of file ARMTargetParser.h.
Referenced by appendArchExtFeatures(), getArchExtFeature(), getArchExtName(), getExtensionFeatures(), and parseArchExt().
Definition at line 222 of file ARMTargetParser.h.
Referenced by getArchAttr(), llvm::CSKY::getArchName(), getArchName(), getCPUAttr(), getDefaultExtensions(), getDefaultFPU(), getSubArch(), llvm::CSKY::parseArch(), and parseArch().
Definition at line 123 of file ARMTargetParser.h.
Referenced by llvm::CSKY::fillValidCPUArchList(), fillValidCPUArchList(), getDefaultCPU(), llvm::CSKY::parseCPUArch(), and parseCPUArch().
Definition at line 187 of file ARMTargetParser.h.
Referenced by findDoublePrecisionFPU(), getFPUFeatures(), llvm::CSKY::getFPUName(), getFPUName(), getFPUNeonSupportLevel(), getFPURestriction(), llvm::CSKY::getFPUVersion(), getFPUVersion(), and parseFPU().
const { ... } llvm::ARM::HWDivNames[] |
Referenced by parseHWDiv().
uint64_t llvm::ARM::ID |
Definition at line 94 of file ARMTargetParser.h.
const char* llvm::ARM::NameCStr |
Definition at line 92 of file ARMTargetParser.h.
size_t llvm::ARM::NameLength |
Definition at line 93 of file ARMTargetParser.h.
Referenced by LLVMIntrinsicCopyOverloadedName(), LLVMIntrinsicCopyOverloadedName2(), and LLVMIntrinsicGetName().
RegisterBankInfo::PartialMapping llvm::ARM::PartMappings[] |
Definition at line 38 of file ARMRegisterBankInfo.cpp.
Referenced by checkPartialMappings(), and checkValueMappings().
const unsigned llvm::ARM::RoundingBitsPos = 22 |
Definition at line 377 of file ARMISelLowering.h.
RegisterBankInfo::ValueMapping llvm::ARM::ValueMappings[] |
Definition at line 75 of file ARMRegisterBankInfo.cpp.
Referenced by checkValueMappings(), and llvm::ARMRegisterBankInfo::getInstrMapping().