LLVM  8.0.1
Enumerations
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
}
 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, IsPCRelativeLoad = 1 << 6, HasFCCRegOperand = 1 << 7
}
 

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 

FrmR - This form is for instructions of the format R.

FrmI 

FrmI - This form is for instructions of the format I.

FrmJ 

FrmJ - This form is for instructions of the format J.

FrmFR 

FrmFR - This form is for instructions of the format FR.

FrmFI 

FrmFI - This form is for instructions of the format FI.

FrmOther 

FrmOther - This form is for instructions that have no specific format.

FormMask 
IsCTI 

IsCTI - Instruction is a Control Transfer Instruction.

HasForbiddenSlot 

HasForbiddenSlot - Instruction has a forbidden slot.

IsPCRelativeLoad 

IsPCRelativeLoad - A Load instruction with implicit source register ($pc) with explicit offset and destination register.

HasFCCRegOperand 

HasFCCRegOperand - Instruction uses an $fcc<x> register.

Definition at line 98 of file MipsBaseInfo.h.

◆ TOF

Target Operand Flag enum.

Enumerator
MO_NO_FLAG 
MO_GOT 

MO_GOT - Represents the offset into the global offset table at which the address the relocation entry symbol resides during execution.

MO_GOT_CALL 

MO_GOT_CALL - Represents the offset into the global offset table at which the address of a call site relocation entry symbol resides during execution.

This is different from the above since this flag can only be present in call instructions.

MO_GPREL 

MO_GPREL - Represents the offset from the current gp value to be used for the relocatable object file being produced.

MO_ABS_HI 

MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol address.

MO_ABS_LO 
MO_TLSGD 

MO_TLSGD - Represents the offset into the global offset table at which.

MO_TLSLDM 

MO_TLSLDM - Represents the offset into the global offset table at which.

MO_DTPREL_HI 
MO_DTPREL_LO 
MO_GOTTPREL 

MO_GOTTPREL - Represents the offset from the thread pointer (Initial.

MO_TPREL_HI 

MO_TPREL_HI/LO - Represents the hi and low part of the offset from.

MO_TPREL_LO 
MO_GPOFF_HI 
MO_GPOFF_LO 
MO_GOT_DISP 
MO_GOT_PAGE 
MO_GOT_OFST 
MO_HIGHER 

MO_HIGHER/HIGHEST - Represents the highest or higher half word of a 64-bit symbol address.

MO_HIGHEST 
MO_GOT_HI16 

MO_GOT_HI16/LO16, MO_CALL_HI16/LO16 - Relocations used for large GOTs.

MO_GOT_LO16 
MO_CALL_HI16 
MO_CALL_LO16 
MO_JALR 

Helper operand used to generate R_MIPS_JALR.

Definition at line 30 of file MipsBaseInfo.h.