LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations
llvm::HexagonII Namespace Reference

Enumerations

enum  Type {
  TypePSEUDO = 0, TypeALU32 = 1, TypeCR = 2, TypeJR = 3,
  TypeJ = 4, TypeLD = 5, TypeST = 6, TypeSYSTEM = 7,
  TypeXTYPE = 8, TypeMEMOP = 9, TypeNV = 10, TypePREFIX = 30,
  TypeENDLOOP = 31
}
 
enum  SubTarget {
  HasV2SubT = 0xf, HasV2SubTOnly = 0x1, NoV2SubT = 0x0, HasV3SubT = 0xe,
  HasV3SubTOnly = 0x2, NoV3SubT = 0x1, HasV4SubT = 0xc, NoV4SubT = 0x3,
  HasV5SubT = 0x8, NoV5SubT = 0x7
}
 
enum  AddrMode {
  NoAddrMode = 0, Absolute = 1, AbsoluteSet = 2, BaseImmOffset = 3,
  BaseLongOffset = 4, BaseRegOffset = 5, PostInc = 6
}
 
enum  MemAccessSize {
  NoMemAccess = 0, ByteAccess = 1, HalfWordAccess = 2, WordAccess = 3,
  DoubleWordAccess = 4
}
 
enum  {
  TypePos = 0, TypeMask = 0x1f, SoloPos = 5, SoloMask = 0x1,
  PredicatedPos = 6, PredicatedMask = 0x1, PredicatedFalsePos = 7, PredicatedFalseMask = 0x1,
  PredicatedNewPos = 8, PredicatedNewMask = 0x1, NewValuePos = 9, NewValueMask = 0x1,
  hasNewValuePos = 10, hasNewValueMask = 0x1, NewValueOpPos = 11, NewValueOpMask = 0x7,
  NewValueBitsPos = 14, NewValueBitsMask = 0x3, mayNVStorePos = 16, mayNVStoreMask = 0x1,
  NVStorePos = 17, NVStoreMask = 0x1, ExtendablePos = 18, ExtendableMask = 0x1,
  ExtendedPos = 19, ExtendedMask = 0x1, ExtendableOpPos = 20, ExtendableOpMask = 0x7,
  ExtentSignedPos = 23, ExtentSignedMask = 0x1, ExtentBitsPos = 24, ExtentBitsMask = 0x1f,
  validSubTargetPos = 29, validSubTargetMask = 0xf, AddrModePos = 33, AddrModeMask = 0x7,
  MemAccessSizePos = 36, MemAccesSizeMask = 0x7
}
 
enum  HexagonMOTargetFlagVal {
  MO_NO_FLAG, HMOTF_ConstExtended = 1, MO_PCREL, MO_GOT,
  MO_LO16, MO_HI16, MO_GPREL
}
 

Detailed Description

HexagonII - This namespace holds all of the target specific flags that instruction info tracks.

Enumeration Type Documentation

anonymous enum
Enumerator
TypePos 
TypeMask 
SoloPos 
SoloMask 
PredicatedPos 
PredicatedMask 
PredicatedFalsePos 
PredicatedFalseMask 
PredicatedNewPos 
PredicatedNewMask 
NewValuePos 
NewValueMask 
hasNewValuePos 
hasNewValueMask 
NewValueOpPos 
NewValueOpMask 
NewValueBitsPos 
NewValueBitsMask 
mayNVStorePos 
mayNVStoreMask 
NVStorePos 
NVStoreMask 
ExtendablePos 
ExtendableMask 
ExtendedPos 
ExtendedMask 
ExtendableOpPos 
ExtendableOpMask 
ExtentSignedPos 
ExtentSignedMask 
ExtentBitsPos 
ExtentBitsMask 
validSubTargetPos 
validSubTargetMask 
AddrModePos 
AddrModeMask 
MemAccessSizePos 
MemAccesSizeMask 

Definition at line 82 of file HexagonBaseInfo.h.

Enumerator
NoAddrMode 
Absolute 
AbsoluteSet 
BaseImmOffset 
BaseLongOffset 
BaseRegOffset 
PostInc 

Definition at line 62 of file HexagonBaseInfo.h.

Enumerator
MO_NO_FLAG 
HMOTF_ConstExtended 
MO_PCREL 

MO_PCREL - On a symbol operand, indicates a PC-relative relocation Used for computing a global address for PIC compilations

MO_GOT 

MO_GOT - Indicates a GOT-relative relocation.

MO_LO16 
MO_HI16 
MO_GPREL 

Definition at line 159 of file HexagonBaseInfo.h.

Enumerator
NoMemAccess 
ByteAccess 
HalfWordAccess 
WordAccess 
DoubleWordAccess 

Definition at line 72 of file HexagonBaseInfo.h.

Enumerator
HasV2SubT 
HasV2SubTOnly 
NoV2SubT 
HasV3SubT 
HasV3SubTOnly 
NoV3SubT 
HasV4SubT 
NoV4SubT 
HasV5SubT 
NoV5SubT 

Definition at line 49 of file HexagonBaseInfo.h.

Enumerator
TypePSEUDO 
TypeALU32 
TypeCR 
TypeJR 
TypeJ 
TypeLD 
TypeST 
TypeSYSTEM 
TypeXTYPE 
TypeMEMOP 
TypeNV 
TypePREFIX 
TypeENDLOOP 

Definition at line 33 of file HexagonBaseInfo.h.