LLVM API Documentation

Public Types | Public Member Functions | Public Attributes | Protected Attributes
llvm::MipsABIFlagsSection Struct Reference

#include <MipsABIFlagsSection.h>

Collaboration diagram for llvm::MipsABIFlagsSection:
Collaboration graph
[legend]

List of all members.

Public Types

enum  AFL_REG { AFL_REG_NONE = 0x00, AFL_REG_32 = 0x01, AFL_REG_64 = 0x02, AFL_REG_128 = 0x03 }
enum  AFL_ASE {
  AFL_ASE_DSP = 0x00000001, AFL_ASE_DSPR2 = 0x00000002, AFL_ASE_EVA = 0x00000004, AFL_ASE_MCU = 0x00000008,
  AFL_ASE_MDMX = 0x00000010, AFL_ASE_MIPS3D = 0x00000020, AFL_ASE_MT = 0x00000040, AFL_ASE_SMARTMIPS = 0x00000080,
  AFL_ASE_VIRT = 0x00000100, AFL_ASE_MSA = 0x00000200, AFL_ASE_MIPS16 = 0x00000400, AFL_ASE_MICROMIPS = 0x00000800,
  AFL_ASE_XPA = 0x00001000
}
enum  AFL_EXT {
  AFL_EXT_XLR = 1, AFL_EXT_OCTEON2 = 2, AFL_EXT_OCTEONP = 3, AFL_EXT_LOONGSON_3A = 4,
  AFL_EXT_OCTEON = 5, AFL_EXT_5900 = 6, AFL_EXT_4650 = 7, AFL_EXT_4010 = 8,
  AFL_EXT_4100 = 9, AFL_EXT_3900 = 10, AFL_EXT_10000 = 11, AFL_EXT_SB1 = 12,
  AFL_EXT_4111 = 13, AFL_EXT_4120 = 14, AFL_EXT_5400 = 15, AFL_EXT_5500 = 16,
  AFL_EXT_LOONGSON_2E = 17, AFL_EXT_LOONGSON_2F = 18
}
enum  Val_GNU_MIPS_ABI {
  Val_GNU_MIPS_ABI_FP_ANY = 0, Val_GNU_MIPS_ABI_FP_DOUBLE = 1, Val_GNU_MIPS_ABI_FP_XX = 5, Val_GNU_MIPS_ABI_FP_64 = 6,
  Val_GNU_MIPS_ABI_FP_64A = 7
}
enum  AFL_FLAGS1 { AFL_FLAGS1_ODDSPREG = 1 }
enum  FpABIKind { ANY, XX, S32, S64 }

Public Member Functions

 MipsABIFlagsSection ()
uint16_t getVersionValue ()
uint8_t getISALevelValue ()
uint8_t getISARevisionValue ()
uint8_t getGPRSizeValue ()
uint8_t getCPR1SizeValue ()
uint8_t getCPR2SizeValue ()
uint8_t getFpABIValue ()
uint32_t getISAExtensionSetValue ()
uint32_t getASESetValue ()
uint32_t getFlags1Value ()
uint32_t getFlags2Value ()
FpABIKind getFpABI ()
void setFpABI (FpABIKind Value, bool IsABI32Bit)
StringRef getFpABIString (FpABIKind Value)
template<class PredicateLibrary >
void setISALevelAndRevisionFromPredicates (const PredicateLibrary &P)
template<class PredicateLibrary >
void setGPRSizeFromPredicates (const PredicateLibrary &P)
template<class PredicateLibrary >
void setCPR1SizeFromPredicates (const PredicateLibrary &P)
template<class PredicateLibrary >
void setASESetFromPredicates (const PredicateLibrary &P)
template<class PredicateLibrary >
void setFpAbiFromPredicates (const PredicateLibrary &P)
template<class PredicateLibrary >
void setAllFromPredicates (const PredicateLibrary &P)

Public Attributes

uint16_t Version
uint8_t ISALevel
uint8_t ISARevision
AFL_REG GPRSize
AFL_REG CPR1Size
AFL_REG CPR2Size
uint32_t ISAExtensionSet
uint32_t ASESet
bool OddSPReg
bool Is32BitABI

Protected Attributes

FpABIKind FpABI

Detailed Description

Definition at line 19 of file MipsABIFlagsSection.h.


Member Enumeration Documentation

Enumerator:
AFL_ASE_DSP 
AFL_ASE_DSPR2 
AFL_ASE_EVA 
AFL_ASE_MCU 
AFL_ASE_MDMX 
AFL_ASE_MIPS3D 
AFL_ASE_MT 
AFL_ASE_SMARTMIPS 
AFL_ASE_VIRT 
AFL_ASE_MSA 
AFL_ASE_MIPS16 
AFL_ASE_MICROMIPS 
AFL_ASE_XPA 

Definition at line 29 of file MipsABIFlagsSection.h.

Enumerator:
AFL_EXT_XLR 
AFL_EXT_OCTEON2 
AFL_EXT_OCTEONP 
AFL_EXT_LOONGSON_3A 
AFL_EXT_OCTEON 
AFL_EXT_5900 
AFL_EXT_4650 
AFL_EXT_4010 
AFL_EXT_4100 
AFL_EXT_3900 
AFL_EXT_10000 
AFL_EXT_SB1 
AFL_EXT_4111 
AFL_EXT_4120 
AFL_EXT_5400 
AFL_EXT_5500 
AFL_EXT_LOONGSON_2E 
AFL_EXT_LOONGSON_2F 

Definition at line 46 of file MipsABIFlagsSection.h.

Enumerator:
AFL_FLAGS1_ODDSPREG 

Definition at line 76 of file MipsABIFlagsSection.h.

Enumerator:
AFL_REG_NONE 
AFL_REG_32 
AFL_REG_64 
AFL_REG_128 

Definition at line 21 of file MipsABIFlagsSection.h.

Enumerator:
ANY 
XX 
S32 
S64 

Definition at line 81 of file MipsABIFlagsSection.h.

Enumerator:
Val_GNU_MIPS_ABI_FP_ANY 
Val_GNU_MIPS_ABI_FP_DOUBLE 
Val_GNU_MIPS_ABI_FP_XX 
Val_GNU_MIPS_ABI_FP_64 
Val_GNU_MIPS_ABI_FP_64A 

Definition at line 68 of file MipsABIFlagsSection.h.


Constructor & Destructor Documentation

Definition at line 109 of file MipsABIFlagsSection.h.


Member Function Documentation

Definition at line 122 of file MipsABIFlagsSection.h.

References ASESet.

Referenced by llvm::operator<<().

Definition at line 44 of file MipsABIFlagsSection.cpp.

References AFL_REG_32, CPR1Size, and FpABI.

Referenced by llvm::operator<<().

Definition at line 119 of file MipsABIFlagsSection.h.

References CPR2Size.

Referenced by llvm::operator<<().

Definition at line 124 of file MipsABIFlagsSection.h.

References AFL_FLAGS1_ODDSPREG, and OddSPReg.

Referenced by llvm::operator<<().

Definition at line 133 of file MipsABIFlagsSection.h.

Referenced by llvm::operator<<().

Definition at line 135 of file MipsABIFlagsSection.h.

References FpABI.

Referenced by llvm::MipsTargetStreamer::emitDirectiveModuleFP().

Definition at line 117 of file MipsABIFlagsSection.h.

References GPRSize.

Referenced by llvm::operator<<().

Definition at line 121 of file MipsABIFlagsSection.h.

References ISAExtensionSet.

Referenced by llvm::operator<<().

Definition at line 115 of file MipsABIFlagsSection.h.

References ISALevel.

Referenced by llvm::operator<<().

Definition at line 116 of file MipsABIFlagsSection.h.

References ISARevision.

Referenced by llvm::operator<<().

Definition at line 114 of file MipsABIFlagsSection.h.

References Version.

Referenced by llvm::operator<<().

template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setAllFromPredicates ( const PredicateLibrary &  P) [inline]
template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setASESetFromPredicates ( const PredicateLibrary &  P) [inline]
template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setCPR1SizeFromPredicates ( const PredicateLibrary &  P) [inline]

Definition at line 183 of file MipsABIFlagsSection.h.

References AFL_REG_128, AFL_REG_32, AFL_REG_64, AFL_REG_NONE, and CPR1Size.

Referenced by setAllFromPredicates().

void llvm::MipsABIFlagsSection::setFpABI ( FpABIKind  Value,
bool  IsABI32Bit 
) [inline]

Definition at line 136 of file MipsABIFlagsSection.h.

References FpABI, and Is32BitABI.

Referenced by llvm::MipsTargetStreamer::emitDirectiveModuleFP().

template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setFpAbiFromPredicates ( const PredicateLibrary &  P) [inline]

Definition at line 208 of file MipsABIFlagsSection.h.

References ANY, FpABI, Is32BitABI, and S32.

Referenced by setAllFromPredicates().

template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setGPRSizeFromPredicates ( const PredicateLibrary &  P) [inline]

Definition at line 178 of file MipsABIFlagsSection.h.

References AFL_REG_32, AFL_REG_64, and GPRSize.

Referenced by setAllFromPredicates().

template<class PredicateLibrary >
void llvm::MipsABIFlagsSection::setISALevelAndRevisionFromPredicates ( const PredicateLibrary &  P) [inline]

Definition at line 143 of file MipsABIFlagsSection.h.

References ISALevel, ISARevision, and llvm_unreachable.

Referenced by setAllFromPredicates().


Member Data Documentation

Definition at line 98 of file MipsABIFlagsSection.h.

Referenced by getASESetValue(), and setASESetFromPredicates().

Definition at line 92 of file MipsABIFlagsSection.h.

Referenced by getCPR1SizeValue(), and setCPR1SizeFromPredicates().

Definition at line 94 of file MipsABIFlagsSection.h.

Referenced by getCPR2SizeValue().

Definition at line 90 of file MipsABIFlagsSection.h.

Referenced by getGPRSizeValue(), and setGPRSizeFromPredicates().

Definition at line 96 of file MipsABIFlagsSection.h.

Referenced by getISAExtensionSetValue().

Definition at line 86 of file MipsABIFlagsSection.h.

Referenced by getISALevelValue(), and setISALevelAndRevisionFromPredicates().

Definition at line 84 of file MipsABIFlagsSection.h.

Referenced by getVersionValue().


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