LLVM 23.0.0git
llvm::AArch64BuildAttributes Namespace Reference

Enumerations

enum  VendorID : unsigned { AEABI_FEATURE_AND_BITS = 0 , AEABI_PAUTHABI = 1 , VENDOR_UNKNOWN = 404 }
 AArch64 build attributes vendors IDs (a.k.a subsection name) More...
enum  SubsectionOptional : unsigned { REQUIRED = 0 , OPTIONAL = 1 , OPTIONAL_NOT_FOUND = 404 }
enum  SubsectionType : unsigned { ULEB128 = 0 , NTBS = 1 , TYPE_NOT_FOUND = 404 }
enum  PauthABITags : unsigned { TAG_PAUTH_PLATFORM = 1 , TAG_PAUTH_SCHEMA = 2 , PAUTHABI_TAG_NOT_FOUND = 404 }
enum  FeatureAndBitsTags : unsigned { TAG_FEATURE_BTI = 0 , TAG_FEATURE_PAC = 1 , TAG_FEATURE_GCS = 2 , FEATURE_AND_BITS_TAG_NOT_FOUND = 404 }
enum  FeatureAndBitsFlag : unsigned { Feature_BTI_Flag = 1 << 0 , Feature_PAC_Flag = 1 << 1 , Feature_GCS_Flag = 1 << 2 }

Functions

LLVM_ABI StringRef getVendorName (unsigned const Vendor)
LLVM_ABI VendorID getVendorID (StringRef const Vendor)
LLVM_ABI StringRef getOptionalStr (unsigned Optional)
LLVM_ABI SubsectionOptional getOptionalID (StringRef Optional)
LLVM_ABI StringRef getSubsectionOptionalUnknownError ()
LLVM_ABI StringRef getTypeStr (unsigned Type)
LLVM_ABI SubsectionType getTypeID (StringRef Type)
LLVM_ABI StringRef getSubsectionTypeUnknownError ()
LLVM_ABI StringRef getPauthABITagsStr (unsigned PauthABITag)
LLVM_ABI PauthABITags getPauthABITagsID (StringRef PauthABITag)
LLVM_ABI StringRef getFeatureAndBitsTagsStr (unsigned FeatureAndBitsTag)
LLVM_ABI FeatureAndBitsTags getFeatureAndBitsTagsID (StringRef FeatureAndBitsTag)

Enumeration Type Documentation

◆ FeatureAndBitsFlag

Enumerator
Feature_BTI_Flag 
Feature_PAC_Flag 
Feature_GCS_Flag 

Definition at line 68 of file AArch64BuildAttributes.h.

◆ FeatureAndBitsTags

Enumerator
TAG_FEATURE_BTI 
TAG_FEATURE_PAC 
TAG_FEATURE_GCS 
FEATURE_AND_BITS_TAG_NOT_FOUND 

Definition at line 58 of file AArch64BuildAttributes.h.

◆ PauthABITags

Enumerator
TAG_PAUTH_PLATFORM 
TAG_PAUTH_SCHEMA 
PAUTHABI_TAG_NOT_FOUND 

Definition at line 50 of file AArch64BuildAttributes.h.

◆ SubsectionOptional

Enumerator
REQUIRED 
OPTIONAL 
OPTIONAL_NOT_FOUND 

Definition at line 36 of file AArch64BuildAttributes.h.

◆ SubsectionType

Enumerator
ULEB128 
NTBS 
TYPE_NOT_FOUND 

Definition at line 45 of file AArch64BuildAttributes.h.

◆ VendorID

AArch64 build attributes vendors IDs (a.k.a subsection name)

Enumerator
AEABI_FEATURE_AND_BITS 
AEABI_PAUTHABI 
VENDOR_UNKNOWN 

Definition at line 28 of file AArch64BuildAttributes.h.

Function Documentation

◆ getFeatureAndBitsTagsID()

FeatureAndBitsTags llvm::AArch64BuildAttributes::getFeatureAndBitsTagsID ( StringRef FeatureAndBitsTag)

◆ getFeatureAndBitsTagsStr()

StringRef llvm::AArch64BuildAttributes::getFeatureAndBitsTagsStr ( unsigned FeatureAndBitsTag)

◆ getOptionalID()

SubsectionOptional llvm::AArch64BuildAttributes::getOptionalID ( StringRef Optional)

◆ getOptionalStr()

StringRef llvm::AArch64BuildAttributes::getOptionalStr ( unsigned Optional)

Definition at line 35 of file AArch64BuildAttributes.cpp.

References OPTIONAL, OPTIONAL_NOT_FOUND, and REQUIRED.

◆ getPauthABITagsID()

PauthABITags llvm::AArch64BuildAttributes::getPauthABITagsID ( StringRef PauthABITag)

◆ getPauthABITagsStr()

StringRef llvm::AArch64BuildAttributes::getPauthABITagsStr ( unsigned PauthABITag)

◆ getSubsectionOptionalUnknownError()

StringRef llvm::AArch64BuildAttributes::getSubsectionOptionalUnknownError ( )

Definition at line 52 of file AArch64BuildAttributes.cpp.

◆ getSubsectionTypeUnknownError()

StringRef llvm::AArch64BuildAttributes::getSubsectionTypeUnknownError ( )

Definition at line 74 of file AArch64BuildAttributes.cpp.

◆ getTypeID()

SubsectionType llvm::AArch64BuildAttributes::getTypeID ( StringRef Type)

◆ getTypeStr()

StringRef llvm::AArch64BuildAttributes::getTypeStr ( unsigned Type)

Definition at line 57 of file AArch64BuildAttributes.cpp.

References NTBS, TYPE_NOT_FOUND, and ULEB128.

◆ getVendorID()

◆ getVendorName()

StringRef llvm::AArch64BuildAttributes::getVendorName ( unsigned const Vendor)