LLVM  6.0.0svn
Enumerations | Functions | Variables
llvm::HexagonII Namespace Reference

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

Enumerations

enum  Type {
  TypeALU32_2op = 0, TypeALU32_3op = 1, TypeALU32_ADDI = 2, TypeALU64 = 3,
  TypeCJ = 4, TypeCR = 6, TypeCVI_HIST = 10, TypeCVI_VA = 16,
  TypeCVI_VA_DV = 17, TypeCVI_VINLANESAT = 18, TypeCVI_VM_LD = 19, TypeCVI_VM_NEW_ST = 20,
  TypeCVI_VM_ST = 21, TypeCVI_VM_STU = 22, TypeCVI_VM_TMP_LD = 23, TypeCVI_VM_VP_LDU = 24,
  TypeCVI_VP = 25, TypeCVI_VP_VS = 26, TypeCVI_VS = 27, TypeCVI_VX = 29,
  TypeCVI_VX_DV = 30, TypeCVI_VX_LATE = 31, TypeDUPLEX = 33, TypeENDLOOP = 34,
  TypeEXTENDER = 35, TypeJ = 36, TypeLD = 37, TypeM = 38,
  TypeMAPPING = 39, TypeNCJ = 40, TypePSEUDO = 41, TypeST = 42,
  TypeSUBINSN = 43, TypeS_2op = 44, TypeS_3op = 45, TypeV2LDST = 48,
  TypeV4LDST = 49
}
 
enum  SubTarget { HasV4SubT = 0x3f, HasV5SubT = 0x3e, HasV55SubT = 0x3c, HasV60SubT = 0x38 }
 
enum  AddrMode {
  NoAddrMode = 0, Absolute = 1, AbsoluteSet = 2, BaseImmOffset = 3,
  BaseLongOffset = 4, BaseRegOffset = 5, PostInc = 6
}
 
enum  MemAccessSize {
  NoMemAccess = 0, ByteAccess, HalfWordAccess, WordAccess,
  DoubleWordAccess, HVXVectorAccess
}
 
enum  {
  TypePos = 0, TypeMask = 0x3f, SoloPos = 6, SoloMask = 0x1,
  SoloAXPos = 7, SoloAXMask = 0x1, SoloAin1Pos = 8, SoloAin1Mask = 0x1,
  PredicatedPos = 9, PredicatedMask = 0x1, PredicatedFalsePos = 10, PredicatedFalseMask = 0x1,
  PredicatedNewPos = 11, PredicatedNewMask = 0x1, PredicateLatePos = 12, PredicateLateMask = 0x1,
  NewValuePos = 13, NewValueMask = 0x1, hasNewValuePos = 14, hasNewValueMask = 0x1,
  NewValueOpPos = 15, NewValueOpMask = 0x7, mayNVStorePos = 18, mayNVStoreMask = 0x1,
  NVStorePos = 19, NVStoreMask = 0x1, mayCVLoadPos = 20, mayCVLoadMask = 0x1,
  CVLoadPos = 21, CVLoadMask = 0x1, ExtendablePos = 22, ExtendableMask = 0x1,
  ExtendedPos = 23, ExtendedMask = 0x1, ExtendableOpPos = 24, ExtendableOpMask = 0x7,
  ExtentSignedPos = 27, ExtentSignedMask = 0x1, ExtentBitsPos = 28, ExtentBitsMask = 0x1f,
  ExtentAlignPos = 33, ExtentAlignMask = 0x3, AddrModePos = 41, AddrModeMask = 0x7,
  MemAccessSizePos = 44, MemAccesSizeMask = 0xf, TakenPos = 48, TakenMask = 0x1,
  FPPos = 49, FPMask = 0x1, hasNewValuePos2 = 51, hasNewValueMask2 = 0x1,
  NewValueOpPos2 = 52, NewValueOpMask2 = 0x7, AccumulatorPos = 55, AccumulatorMask = 0x1,
  PrefersSlot3Pos = 56, PrefersSlot3Mask = 0x1, CofMax1Pos = 60, CofMax1Mask = 0x1,
  CVINewPos = 61, CVINewMask = 0x1
}
 
enum  HexagonMOTargetFlagVal {
  MO_NO_FLAG, MO_PCREL, MO_GOT, MO_LO16,
  MO_HI16, MO_GPREL, MO_GDGOT, MO_GDPLT,
  MO_IE, MO_IEGOT, MO_TPREL, HMOTF_ConstExtended = 0x80,
  MO_Bitmasks = HMOTF_ConstExtended
}
 
enum  SubInstructionGroup {
  HSIG_None = 0, HSIG_L1, HSIG_L2, HSIG_S1,
  HSIG_S2, HSIG_A, HSIG_Compound
}
 
enum  CompoundGroup { HCG_None = 0, HCG_A, HCG_B, HCG_C }
 
enum  InstParseBits {
  INST_PARSE_MASK = 0x0000c000, INST_PARSE_PACKET_END = 0x0000c000, INST_PARSE_LOOP_END = 0x00008000, INST_PARSE_NOT_END = 0x00004000,
  INST_PARSE_DUPLEX = 0x00000000, INST_PARSE_EXTENDER = 0x00000000
}
 
enum  InstIClassBits : unsigned {
  INST_ICLASS_MASK = 0xf0000000, INST_ICLASS_EXTENDER = 0x00000000, INST_ICLASS_J_1 = 0x10000000, INST_ICLASS_J_2 = 0x20000000,
  INST_ICLASS_LD_ST_1 = 0x30000000, INST_ICLASS_LD_ST_2 = 0x40000000, INST_ICLASS_J_3 = 0x50000000, INST_ICLASS_CR = 0x60000000,
  INST_ICLASS_ALU32_1 = 0x70000000, INST_ICLASS_XTYPE_1 = 0x80000000, INST_ICLASS_LD = 0x90000000, INST_ICLASS_ST = 0xa0000000,
  INST_ICLASS_ALU32_2 = 0xb0000000, INST_ICLASS_XTYPE_2 = 0xc0000000, INST_ICLASS_XTYPE_3 = 0xd0000000, INST_ICLASS_XTYPE_4 = 0xe0000000,
  INST_ICLASS_ALU32_3 = 0xf0000000
}
 

Functions

static LLVM_ATTRIBUTE_UNUSED unsigned getMemAccessSizeInBytes (MemAccessSize S)
 

Variables

unsigned const TypeCVI_FIRST = TypeCVI_HIST
 
unsigned const TypeCVI_LAST = TypeCVI_VX_LATE
 

Detailed Description

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TypePos 
TypeMask 
SoloPos 
SoloMask 
SoloAXPos 
SoloAXMask 
SoloAin1Pos 
SoloAin1Mask 
PredicatedPos 
PredicatedMask 
PredicatedFalsePos 
PredicatedFalseMask 
PredicatedNewPos 
PredicatedNewMask 
PredicateLatePos 
PredicateLateMask 
NewValuePos 
NewValueMask 
hasNewValuePos 
hasNewValueMask 
NewValueOpPos 
NewValueOpMask 
mayNVStorePos 
mayNVStoreMask 
NVStorePos 
NVStoreMask 
mayCVLoadPos 
mayCVLoadMask 
CVLoadPos 
CVLoadMask 
ExtendablePos 
ExtendableMask 
ExtendedPos 
ExtendedMask 
ExtendableOpPos 
ExtendableOpMask 
ExtentSignedPos 
ExtentSignedMask 
ExtentBitsPos 
ExtentBitsMask 
ExtentAlignPos 
ExtentAlignMask 
AddrModePos 
AddrModeMask 
MemAccessSizePos 
MemAccesSizeMask 
TakenPos 
TakenMask 
FPPos 
FPMask 
hasNewValuePos2 
hasNewValueMask2 
NewValueOpPos2 
NewValueOpMask2 
AccumulatorPos 
AccumulatorMask 
PrefersSlot3Pos 
PrefersSlot3Mask 
CofMax1Pos 
CofMax1Mask 
CVINewPos 
CVINewMask 

Definition at line 59 of file HexagonBaseInfo.h.

◆ AddrMode

Enumerator
NoAddrMode 
Absolute 
AbsoluteSet 
BaseImmOffset 
BaseLongOffset 
BaseRegOffset 
PostInc 

Definition at line 38 of file HexagonBaseInfo.h.

◆ CompoundGroup

Enumerator
HCG_None 
HCG_A 
HCG_B 
HCG_C 

Definition at line 227 of file HexagonBaseInfo.h.

◆ HexagonMOTargetFlagVal

Enumerator
MO_NO_FLAG 
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 
MO_GDGOT 
MO_GDPLT 
MO_IE 
MO_IEGOT 
MO_TPREL 
HMOTF_ConstExtended 
MO_Bitmasks 

Definition at line 165 of file HexagonBaseInfo.h.

◆ InstIClassBits

Enumerator
INST_ICLASS_MASK 
INST_ICLASS_EXTENDER 
INST_ICLASS_J_1 
INST_ICLASS_J_2 
INST_ICLASS_LD_ST_1 
INST_ICLASS_LD_ST_2 
INST_ICLASS_J_3 
INST_ICLASS_CR 
INST_ICLASS_ALU32_1 
INST_ICLASS_XTYPE_1 
INST_ICLASS_LD 
INST_ICLASS_ST 
INST_ICLASS_ALU32_2 
INST_ICLASS_XTYPE_2 
INST_ICLASS_XTYPE_3 
INST_ICLASS_XTYPE_4 
INST_ICLASS_ALU32_3 

Definition at line 243 of file HexagonBaseInfo.h.

◆ InstParseBits

Enumerator
INST_PARSE_MASK 
INST_PARSE_PACKET_END 
INST_PARSE_LOOP_END 
INST_PARSE_NOT_END 
INST_PARSE_DUPLEX 
INST_PARSE_EXTENDER 

Definition at line 234 of file HexagonBaseInfo.h.

◆ MemAccessSize

Enumerator
NoMemAccess 
ByteAccess 
HalfWordAccess 
WordAccess 
DoubleWordAccess 
HVXVectorAccess 

Definition at line 48 of file HexagonBaseInfo.h.

◆ SubInstructionGroup

Enumerator
HSIG_None 
HSIG_L1 
HSIG_L2 
HSIG_S1 
HSIG_S2 
HSIG_A 
HSIG_Compound 

Definition at line 216 of file HexagonBaseInfo.h.

◆ SubTarget

Enumerator
HasV4SubT 
HasV5SubT 
HasV55SubT 
HasV60SubT 

Definition at line 31 of file HexagonBaseInfo.h.

◆ Type

Enumerator
TypeALU32_2op 
TypeALU32_3op 
TypeALU32_ADDI 
TypeALU64 
TypeCJ 
TypeCR 
TypeCVI_HIST 
TypeCVI_VA 
TypeCVI_VA_DV 
TypeCVI_VINLANESAT 
TypeCVI_VM_LD 
TypeCVI_VM_NEW_ST 
TypeCVI_VM_ST 
TypeCVI_VM_STU 
TypeCVI_VM_TMP_LD 
TypeCVI_VM_VP_LDU 
TypeCVI_VP 
TypeCVI_VP_VS 
TypeCVI_VS 
TypeCVI_VX 
TypeCVI_VX_DV 
TypeCVI_VX_LATE 
TypeDUPLEX 
TypeENDLOOP 
TypeEXTENDER 
TypeJ 
TypeLD 
TypeM 
TypeMAPPING 
TypeNCJ 
TypePSEUDO 
TypeST 
TypeSUBINSN 
TypeS_2op 
TypeS_3op 
TypeV2LDST 
TypeV4LDST 

Definition at line 12 of file HexagonDepITypes.h.

Function Documentation

◆ getMemAccessSizeInBytes()

static LLVM_ATTRIBUTE_UNUSED unsigned llvm::HexagonII::getMemAccessSizeInBytes ( MemAccessSize  S)
static

Variable Documentation

◆ TypeCVI_FIRST

unsigned const llvm::HexagonII::TypeCVI_FIRST = TypeCVI_HIST

◆ TypeCVI_LAST

unsigned const llvm::HexagonII::TypeCVI_LAST = TypeCVI_VX_LATE