LLVM 22.0.0git
Enumerations | Functions
llvm::MipsII Namespace Reference

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

Enumerations

enum  TOF {
  MO_NO_FLAG , MO_GOT , MO_GOT_CALL , MO_GPREL ,
  MO_ABS_HI , MO_ABS_LO , MO_TLSGD , MO_TLSLDM ,
  MO_DTPREL_HI , MO_DTPREL_LO , MO_GOTTPREL , MO_TPREL_HI ,
  MO_TPREL_LO , MO_GPOFF_HI , MO_GPOFF_LO , MO_GOT_DISP ,
  MO_GOT_PAGE , MO_GOT_OFST , MO_HIGHER , MO_HIGHEST ,
  MO_GOT_HI16 , MO_GOT_LO16 , MO_CALL_HI16 , MO_CALL_LO16 ,
  MO_JALR , MO_DLLIMPORT = 0x20
}
 Target Operand Flag enum. More...
 
enum  {
  Pseudo = 0 , FrmR = 1 , FrmI = 2 , FrmJ = 3 ,
  FrmFR = 4 , FrmFI = 5 , FrmOther = 6 , FormMask = 15 ,
  IsCTI = 1 << 4 , HasForbiddenSlot = 1 << 5 , HasFCCRegOperand = 1 << 6
}
 
enum  OperandType : unsigned { OPERAND_FIRST_MIPS_MEM_IMM = MCOI::OPERAND_FIRST_TARGET , OPERAND_MEM_SIMM9 = OPERAND_FIRST_MIPS_MEM_IMM , OPERAND_LAST_MIPS_MEM_IMM = OPERAND_MEM_SIMM9 }
 

Functions

static unsigned getFormat (uint64_t TSFlags)
 

Detailed Description

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

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Pseudo 
FrmR 
FrmI 
FrmJ 
FrmFR 
FrmFI 
FrmOther 
FormMask 
IsCTI 
HasForbiddenSlot 
HasFCCRegOperand 

Definition at line 103 of file MipsBaseInfo.h.

◆ OperandType

Enumerator
OPERAND_FIRST_MIPS_MEM_IMM 
OPERAND_MEM_SIMM9 
OPERAND_LAST_MIPS_MEM_IMM 

Definition at line 137 of file MipsBaseInfo.h.

◆ TOF

Target Operand Flag enum.

Enumerator
MO_NO_FLAG 
MO_GOT 
MO_GOT_CALL 
MO_GPREL 
MO_ABS_HI 
MO_ABS_LO 
MO_TLSGD 
MO_TLSLDM 
MO_DTPREL_HI 
MO_DTPREL_LO 
MO_GOTTPREL 
MO_TPREL_HI 
MO_TPREL_LO 
MO_GPOFF_HI 
MO_GPOFF_LO 
MO_GOT_DISP 
MO_GOT_PAGE 
MO_GOT_OFST 
MO_HIGHER 
MO_HIGHEST 
MO_GOT_HI16 
MO_GOT_LO16 
MO_CALL_HI16 
MO_CALL_LO16 
MO_JALR 
MO_DLLIMPORT 

Definition at line 30 of file MipsBaseInfo.h.

Function Documentation

◆ getFormat()

static unsigned llvm::MipsII::getFormat ( uint64_t  TSFlags)
inlinestatic

Definition at line 143 of file MipsBaseInfo.h.

References FormMask.

Referenced by llvm::MipsMCCodeEmitter::getImmOpValue().