LLVM 20.0.0git
|
#include "llvm/TargetParser/AArch64TargetParser.h"
Public Member Functions | |
ExtensionSet () | |
void | enable (ArchExtKind E) |
void | disable (ArchExtKind E) |
void | addCPUDefaults (const CpuInfo &CPU) |
void | addArchDefaults (const ArchInfo &Arch) |
bool | parseModifier (StringRef Modifier, const bool AllowNoDashForm=false) |
void | reconstructFromParsedFeatures (const std::vector< std::string > &Features, std::vector< std::string > &NonExtensions) |
template<typename T > | |
void | toLLVMFeatureList (std::vector< T > &Features) const |
void | dump () const |
Public Attributes | |
ExtensionBitset | Enabled |
ExtensionBitset | Touched |
const ArchInfo * | BaseArch |
Definition at line 169 of file AArch64TargetParser.h.
|
inline |
Definition at line 179 of file AArch64TargetParser.h.
Definition at line 308 of file AArch64TargetParser.cpp.
References llvm::dbgs(), llvm::AArch64::ArchInfo::DefaultExts, Extensions, LLVM_DEBUG, llvm::AArch64::ArchInfo::Name, and llvm::Bitset< NumBits >::test().
Definition at line 298 of file AArch64TargetParser.cpp.
References llvm::AArch64::CpuInfo::Arch, llvm::dbgs(), Extensions, llvm::AArch64::CpuInfo::getImpliedExtensions(), LLVM_DEBUG, llvm::AArch64::CpuInfo::Name, and llvm::Bitset< NumBits >::test().
void AArch64::ExtensionSet::disable | ( | ArchExtKind | E | ) |
Definition at line 267 of file AArch64TargetParser.cpp.
References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().
void AArch64::ExtensionSet::dump | ( | ) | const |
Definition at line 360 of file AArch64TargetParser.cpp.
References F, and llvm::outs().
void AArch64::ExtensionSet::enable | ( | ArchExtKind | E | ) |
Definition at line 235 of file AArch64TargetParser.cpp.
References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().
Referenced by llvm::AArch64::getCpuSupportsMask().
bool AArch64::ExtensionSet::parseModifier | ( | StringRef | Modifier, |
const bool | AllowNoDashForm = false |
||
) |
Definition at line 317 of file AArch64TargetParser.cpp.
References llvm::dbgs(), llvm::StringRef::drop_front(), LLVM_DEBUG, llvm::AArch64::parseArchExtension(), and llvm::StringRef::starts_with().
void AArch64::ExtensionSet::reconstructFromParsedFeatures | ( | const std::vector< std::string > & | Features, |
std::vector< std::string > & | NonExtensions | ||
) |
Definition at line 342 of file AArch64TargetParser.cpp.
References assert(), Enabled, F, and llvm::AArch64::targetFeatureToExtension().
|
inline |
Definition at line 215 of file AArch64TargetParser.h.
References llvm::AArch64::ArchInfo::ArchFeature, BaseArch, E, llvm::StringRef::empty(), Enabled, Extensions, T, llvm::Bitset< NumBits >::test(), and Touched.
Definition at line 177 of file AArch64TargetParser.h.
Referenced by toLLVMFeatureList().
ExtensionBitset llvm::AArch64::ExtensionSet::Enabled |
Definition at line 171 of file AArch64TargetParser.h.
Referenced by llvm::AArch64::getCpuSupportsMask(), and toLLVMFeatureList().
ExtensionBitset llvm::AArch64::ExtensionSet::Touched |
Definition at line 174 of file AArch64TargetParser.h.
Referenced by toLLVMFeatureList().