LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::AArch64::ExtensionSet Struct Reference

#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 ArchInfoBaseArch
 

Detailed Description

Definition at line 174 of file AArch64TargetParser.h.

Constructor & Destructor Documentation

◆ ExtensionSet()

llvm::AArch64::ExtensionSet::ExtensionSet ( )
inline

Definition at line 184 of file AArch64TargetParser.h.

Member Function Documentation

◆ addArchDefaults()

void AArch64::ExtensionSet::addArchDefaults ( const ArchInfo Arch)

◆ addCPUDefaults()

void AArch64::ExtensionSet::addCPUDefaults ( const CpuInfo CPU)

◆ disable()

void AArch64::ExtensionSet::disable ( ArchExtKind  E)

Definition at line 246 of file AArch64TargetParser.cpp.

References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().

◆ dump()

void AArch64::ExtensionSet::dump ( ) const

Definition at line 332 of file AArch64TargetParser.cpp.

References F, and llvm::outs().

◆ enable()

void AArch64::ExtensionSet::enable ( ArchExtKind  E)

Definition at line 214 of file AArch64TargetParser.cpp.

References llvm::dbgs(), Enabled, LLVM_DEBUG, and lookupExtensionByID().

◆ parseModifier()

bool AArch64::ExtensionSet::parseModifier ( StringRef  Modifier,
const bool  AllowNoDashForm = false 
)

◆ reconstructFromParsedFeatures()

void AArch64::ExtensionSet::reconstructFromParsedFeatures ( const std::vector< std::string > &  Features,
std::vector< std::string > &  NonExtensions 
)

◆ toLLVMFeatureList()

template<typename T >
void llvm::AArch64::ExtensionSet::toLLVMFeatureList ( std::vector< T > &  Features) const
inline

Member Data Documentation

◆ BaseArch

const ArchInfo* llvm::AArch64::ExtensionSet::BaseArch

Definition at line 182 of file AArch64TargetParser.h.

Referenced by toLLVMFeatureList().

◆ Enabled

ExtensionBitset llvm::AArch64::ExtensionSet::Enabled

Definition at line 176 of file AArch64TargetParser.h.

Referenced by toLLVMFeatureList().

◆ Touched

ExtensionBitset llvm::AArch64::ExtensionSet::Touched

Definition at line 179 of file AArch64TargetParser.h.

Referenced by toLLVMFeatureList().


The documentation for this struct was generated from the following files: