LLVM API Documentation

Enumerations | Functions
llvm::ARMBuildAttrs Namespace Reference

Enumerations

enum  SpecialAttr { SEL_CPU }
enum  AttrType {
  File = 1, CPU_raw_name = 4, CPU_name = 5, CPU_arch = 6,
  CPU_arch_profile = 7, ARM_ISA_use = 8, THUMB_ISA_use = 9, FP_arch = 10,
  WMMX_arch = 11, Advanced_SIMD_arch = 12, PCS_config = 13, ABI_PCS_R9_use = 14,
  ABI_PCS_RW_data = 15, ABI_PCS_RO_data = 16, ABI_PCS_GOT_use = 17, ABI_PCS_wchar_t = 18,
  ABI_FP_rounding = 19, ABI_FP_denormal = 20, ABI_FP_exceptions = 21, ABI_FP_user_exceptions = 22,
  ABI_FP_number_model = 23, ABI_align_needed = 24, ABI_align_preserved = 25, ABI_enum_size = 26,
  ABI_HardFP_use = 27, ABI_VFP_args = 28, ABI_WMMX_args = 29, ABI_optimization_goals = 30,
  ABI_FP_optimization_goals = 31, compatibility = 32, CPU_unaligned_access = 34, FP_HP_extension = 36,
  ABI_FP_16bit_format = 38, MPextension_use = 42, DIV_use = 44, also_compatible_with = 65,
  conformance = 67, Virtualization_use = 68, Section = 2, Symbol = 3,
  ABI_align8_needed = 24, ABI_align8_preserved = 25, nodefaults = 64, T2EE_use = 66,
  MPextension_use_old = 70
}
enum  AttrMagic { Format_Version = 0x41 }
enum  CPUArch {
  Pre_v4 = 0, v4 = 1, v4T = 2, v5T = 3,
  v5TE = 4, v5TEJ = 5, v6 = 6, v6KZ = 7,
  v6T2 = 8, v6K = 9, v7 = 10, v6_M = 11,
  v6S_M = 12, v7E_M = 13, v8 = 14
}
enum  CPUArchProfile {
  Not_Applicable = 0, ApplicationProfile = (0x41), RealTimeProfile = (0x52), MicroControllerProfile = (0x4D),
  SystemProfile = (0x53)
}
enum  {
  Not_Allowed = 0, Allowed = 1, AllowThumb32 = 2, AllowFPv2 = 2,
  AllowFPv3A = 3, AllowFPv3B = 4, AllowFPv4A = 5, AllowFPv4B = 6,
  AllowFPARMv8A = 7, AllowFPARMv8B = 8, AllowWMMXv1 = 1, AllowWMMXv2 = 2,
  AllowNeon = 1, AllowNeon2 = 2, AllowNeonARMv8 = 3, R9IsGPR = 0,
  R9IsSB = 1, R9IsTLSPointer = 2, R9Reserved = 3, AddressRWPCRel = 1,
  AddressRWSBRel = 2, AddressRWNone = 3, AddressROPCRel = 1, AddressRONone = 2,
  AddressDirect = 1, AddressGOT = 2, WCharProhibited = 0, WCharWidth2Bytes = 2,
  WCharWidth4Bytes = 4, PreserveFPSign = 2, AllowRTABI = 2, AllowIEE754 = 3,
  EnumProhibited = 0, EnumSmallest = 1, Enum32Bit = 2, Enum32BitABI = 3,
  HardFPImplied = 0, HardFPSinglePrecision = 1, BaseAAPCS = 0, HardFPAAPCS = 1,
  AllowHPFP = 1, AllowMP = 1, AllowDIVIfExists = 0, DisallowDIV = 1,
  AllowDIVExt = 2, AllowTZ = 1, AllowVirtualization = 2, AllowTZVirtualization = 3
}

Functions

StringRef AttrTypeAsString (unsigned Attr, bool HasTagPrefix=true)
StringRef AttrTypeAsString (AttrType Attr, bool HasTagPrefix=true)
int AttrTypeFromString (StringRef Tag)

Enumeration Type Documentation

anonymous enum
Enumerator:
Not_Allowed 
Allowed 
AllowThumb32 
AllowFPv2 
AllowFPv3A 
AllowFPv3B 
AllowFPv4A 
AllowFPv4B 
AllowFPARMv8A 
AllowFPARMv8B 
AllowWMMXv1 
AllowWMMXv2 
AllowNeon 
AllowNeon2 
AllowNeonARMv8 
R9IsGPR 
R9IsSB 
R9IsTLSPointer 
R9Reserved 
AddressRWPCRel 
AddressRWSBRel 
AddressRWNone 
AddressROPCRel 
AddressRONone 
AddressDirect 
AddressGOT 
WCharProhibited 
WCharWidth2Bytes 
WCharWidth4Bytes 
PreserveFPSign 
AllowRTABI 
AllowIEE754 
EnumProhibited 
EnumSmallest 
Enum32Bit 
Enum32BitABI 
HardFPImplied 
HardFPSinglePrecision 
BaseAAPCS 
HardFPAAPCS 
AllowHPFP 
AllowMP 
AllowDIVIfExists 
DisallowDIV 
AllowDIVExt 
AllowTZ 
AllowVirtualization 
AllowTZVirtualization 

Definition at line 121 of file ARMBuildAttributes.h.

Enumerator:
Format_Version 

Definition at line 89 of file ARMBuildAttributes.h.

Enumerator:
File 
CPU_raw_name 
CPU_name 
CPU_arch 
CPU_arch_profile 
ARM_ISA_use 
THUMB_ISA_use 
FP_arch 
WMMX_arch 
Advanced_SIMD_arch 
PCS_config 
ABI_PCS_R9_use 
ABI_PCS_RW_data 
ABI_PCS_RO_data 
ABI_PCS_GOT_use 
ABI_PCS_wchar_t 
ABI_FP_rounding 
ABI_FP_denormal 
ABI_FP_exceptions 
ABI_FP_user_exceptions 
ABI_FP_number_model 
ABI_align_needed 
ABI_align_preserved 
ABI_enum_size 
ABI_HardFP_use 
ABI_VFP_args 
ABI_WMMX_args 
ABI_optimization_goals 
ABI_FP_optimization_goals 
compatibility 
CPU_unaligned_access 
FP_HP_extension 
ABI_FP_16bit_format 
MPextension_use 
DIV_use 
also_compatible_with 
conformance 
Virtualization_use 
Section 

Legacy Tags.

Symbol 
ABI_align8_needed 
ABI_align8_preserved 
nodefaults 
T2EE_use 
MPextension_use_old 

Definition at line 33 of file ARMBuildAttributes.h.

Enumerator:
Pre_v4 
v4 
v4T 
v5T 
v5TE 
v5TEJ 
v6 
v6KZ 
v6T2 
v6K 
v7 
v6_M 
v6S_M 
v7E_M 
v8 

Definition at line 94 of file ARMBuildAttributes.h.

Enumerator:
Not_Applicable 
ApplicationProfile 
RealTimeProfile 
MicroControllerProfile 
SystemProfile 

Definition at line 112 of file ARMBuildAttributes.h.

Enumerator:
SEL_CPU 

Definition at line 27 of file ARMBuildAttributes.h.


Function Documentation

Definition at line 73 of file ARMBuildAttrs.cpp.

StringRef llvm::ARMBuildAttrs::AttrTypeAsString ( AttrType  Attr,
bool  HasTagPrefix = true 
)

Definition at line 77 of file ARMBuildAttrs.cpp.

Definition at line 85 of file ARMBuildAttrs.cpp.

References llvm::StringRef::startswith().