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 174 of file AArch64TargetParser.h.
|
inline |
Definition at line 184 of file AArch64TargetParser.h.
Definition at line 280 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 270 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 246 of file AArch64TargetParser.cpp.
References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().
void AArch64::ExtensionSet::dump | ( | ) | const |
Definition at line 332 of file AArch64TargetParser.cpp.
References F, and llvm::outs().
void AArch64::ExtensionSet::enable | ( | ArchExtKind | E | ) |
Definition at line 214 of file AArch64TargetParser.cpp.
References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().
bool AArch64::ExtensionSet::parseModifier | ( | StringRef | Modifier, |
const bool | AllowNoDashForm = false |
||
) |
Definition at line 289 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 314 of file AArch64TargetParser.cpp.
References assert(), Enabled, F, and llvm::AArch64::targetFeatureToExtension().
|
inline |
Definition at line 220 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 182 of file AArch64TargetParser.h.
Referenced by toLLVMFeatureList().
ExtensionBitset llvm::AArch64::ExtensionSet::Enabled |
Definition at line 176 of file AArch64TargetParser.h.
Referenced by toLLVMFeatureList().
ExtensionBitset llvm::AArch64::ExtensionSet::Touched |
Definition at line 179 of file AArch64TargetParser.h.
Referenced by toLLVMFeatureList().