13#ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSBASEINFO_H
14#define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSBASEINFO_H
140 if (
Reg >= Mips::F0 &&
Reg <= Mips::F31)
141 return Reg - Mips::F0 + Mips::W0;
142 else if (
Reg >= Mips::D0_64 &&
Reg <= Mips::D31_64)
143 return Reg - Mips::D0_64 + Mips::W0;
145 return Mips::NoRegister;
Wrapper class representing physical registers. Should be passed by value.
@ IsCTI
IsCTI - Instruction is a Control Transfer Instruction.
@ HasFCCRegOperand
HasFCCRegOperand - Instruction uses an $fcc<x> register.
@ FrmOther
FrmOther - This form is for instructions that have no specific format.
@ FrmI
FrmI - This form is for instructions of the format I.
@ FrmJ
FrmJ - This form is for instructions of the format J.
@ FrmFI
FrmFI - This form is for instructions of the format FI.
@ HasForbiddenSlot
HasForbiddenSlot - Instruction has a forbidden slot.
@ FrmFR
FrmFR - This form is for instructions of the format FR.
@ FrmR
FrmR - This form is for instructions of the format R.
TOF
Target Operand Flag enum.
@ MO_GOT_CALL
MO_GOT_CALL - Represents the offset into the global offset table at which the address of a call site ...
@ MO_TPREL_HI
MO_TPREL_HI/LO - Represents the hi and low part of the offset from.
@ MO_GOT
MO_GOT - Represents the offset into the global offset table at which the address the relocation entry...
@ MO_JALR
Helper operand used to generate R_MIPS_JALR.
@ MO_GOTTPREL
MO_GOTTPREL - Represents the offset from the thread pointer (Initial.
@ MO_ABS_HI
MO_ABS_HI/LO - Represents the hi or low part of an absolute symbol address.
@ MO_GOT_HI16
MO_GOT_HI16/LO16, MO_CALL_HI16/LO16 - Relocations used for large GOTs.
@ MO_TLSLDM
MO_TLSLDM - Represents the offset into the global offset table at which.
@ MO_TLSGD
MO_TLSGD - Represents the offset into the global offset table at which.
@ MO_GPREL
MO_GPREL - Represents the offset from the current gp value to be used for the relocatable object file...
@ MO_HIGHER
MO_HIGHER/HIGHEST - Represents the highest or higher half word of a 64-bit symbol address.
@ OPERAND_FIRST_MIPS_MEM_IMM
@ OPERAND_LAST_MIPS_MEM_IMM
This is an optimization pass for GlobalISel generic memory operations.
static MCRegister getMSARegFromFReg(MCRegister Reg)