LLVM  8.0.1
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, TypeCOPROC_VX = 5, TypeCR = 6, TypeCVI_4SLOT_MPY = 7,
  TypeCVI_GATHER = 8, TypeCVI_GATHER_RST = 9, TypeCVI_HIST = 10, TypeCVI_SCATTER = 11,
  TypeCVI_SCATTER_DV = 12, TypeCVI_SCATTER_NEW_RST = 13, TypeCVI_SCATTER_NEW_ST = 14, TypeCVI_SCATTER_RST = 15,
  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_VS_VX = 28, TypeCVI_VX = 29, TypeCVI_VX_DV = 30, TypeCVI_VX_LATE = 31,
  TypeCVI_ZW = 32, 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 { 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 = 0x7f, SoloPos = 7, SoloMask = 0x1,
  SoloAXPos = 8, SoloAXMask = 0x1, RestrictSlot1AOKPos = 9, RestrictSlot1AOKMask = 0x1,
  PredicatedPos = 10, PredicatedMask = 0x1, PredicatedFalsePos = 11, PredicatedFalseMask = 0x1,
  PredicatedNewPos = 12, PredicatedNewMask = 0x1, PredicateLatePos = 13, PredicateLateMask = 0x1,
  NewValuePos = 14, NewValueMask = 0x1, hasNewValuePos = 15, hasNewValueMask = 0x1,
  NewValueOpPos = 16, NewValueOpMask = 0x7, mayNVStorePos = 19, mayNVStoreMask = 0x1,
  NVStorePos = 20, NVStoreMask = 0x1, mayCVLoadPos = 21, mayCVLoadMask = 0x1,
  CVLoadPos = 22, CVLoadMask = 0x1, ExtendablePos = 23, ExtendableMask = 0x1,
  ExtendedPos = 24, ExtendedMask = 0x1, ExtendableOpPos = 25, ExtendableOpMask = 0x7,
  ExtentSignedPos = 28, ExtentSignedMask = 0x1, ExtentBitsPos = 29, ExtentBitsMask = 0x1f,
  ExtentAlignPos = 34, ExtentAlignMask = 0x3, CofMax1Pos = 36, CofMax1Mask = 0x1,
  CofRelax1Pos = 37, CofRelax1Mask = 0x1, CofRelax2Pos = 38, CofRelax2Mask = 0x1,
  RestrictNoSlot1StorePos = 39, RestrictNoSlot1StoreMask = 0x1, AddrModePos = 42, AddrModeMask = 0x7,
  MemAccessSizePos = 45, MemAccesSizeMask = 0xf, TakenPos = 49, TakenMask = 0x1,
  FPPos = 50, FPMask = 0x1, hasNewValuePos2 = 52, hasNewValueMask2 = 0x1,
  NewValueOpPos2 = 53, NewValueOpMask2 = 0x7, AccumulatorPos = 56, AccumulatorMask = 0x1,
  PrefersSlot3Pos = 57, PrefersSlot3Mask = 0x1, HasTmpDstPos = 60, HasTmpDstMask = 0x1,
  CVINewPos = 62, 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_4SLOT_MPY
 
unsigned const TypeCVI_LAST = TypeCVI_ZW
 

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 
RestrictSlot1AOKPos 
RestrictSlot1AOKMask 
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 
CofMax1Pos 
CofMax1Mask 
CofRelax1Pos 
CofRelax1Mask 
CofRelax2Pos 
CofRelax2Mask 
RestrictNoSlot1StorePos 
RestrictNoSlot1StoreMask 
AddrModePos 
AddrModeMask 
MemAccessSizePos 
MemAccesSizeMask 
TakenPos 
TakenMask 
FPPos 
FPMask 
hasNewValuePos2 
hasNewValueMask2 
NewValueOpPos2 
NewValueOpMask2 
AccumulatorPos 
AccumulatorMask 
PrefersSlot3Pos 
PrefersSlot3Mask 
HasTmpDstPos 
HasTmpDstMask 
CVINewPos 
CVINewMask 

Definition at line 57 of file HexagonBaseInfo.h.

◆ AddrMode

Enumerator
NoAddrMode 
Absolute 
AbsoluteSet 
BaseImmOffset 
BaseLongOffset 
BaseRegOffset 
PostInc 

Definition at line 36 of file HexagonBaseInfo.h.

◆ CompoundGroup

Enumerator
HCG_None 
HCG_A 
HCG_B 
HCG_C 

Definition at line 237 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 174 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 253 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 244 of file HexagonBaseInfo.h.

◆ MemAccessSize

Enumerator
NoMemAccess 
ByteAccess 
HalfWordAccess 
WordAccess 
DoubleWordAccess 
HVXVectorAccess 

Definition at line 46 of file HexagonBaseInfo.h.

◆ SubInstructionGroup

Enumerator
HSIG_None 
HSIG_L1 
HSIG_L2 
HSIG_S1 
HSIG_S2 
HSIG_A 
HSIG_Compound 

Definition at line 226 of file HexagonBaseInfo.h.

◆ SubTarget

Enumerator
HasV55SubT 
HasV60SubT 

Definition at line 31 of file HexagonBaseInfo.h.

◆ Type

Enumerator
TypeALU32_2op 
TypeALU32_3op 
TypeALU32_ADDI 
TypeALU64 
TypeCJ 
TypeCOPROC_VX 
TypeCR 
TypeCVI_4SLOT_MPY 
TypeCVI_GATHER 
TypeCVI_GATHER_RST 
TypeCVI_HIST 
TypeCVI_SCATTER 
TypeCVI_SCATTER_DV 
TypeCVI_SCATTER_NEW_RST 
TypeCVI_SCATTER_NEW_ST 
TypeCVI_SCATTER_RST 
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_VS_VX 
TypeCVI_VX 
TypeCVI_VX_DV 
TypeCVI_VX_LATE 
TypeCVI_ZW 
TypeDUPLEX 
TypeENDLOOP 
TypeEXTENDER 
TypeJ 
TypeLD 
TypeM 
TypeMAPPING 
TypeNCJ 
TypePSEUDO 
TypeST 
TypeSUBINSN 
TypeS_2op 
TypeS_3op 
TypeV2LDST 
TypeV4LDST 

Definition at line 14 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_4SLOT_MPY

◆ TypeCVI_LAST

unsigned const llvm::HexagonII::TypeCVI_LAST = TypeCVI_ZW