16#ifndef LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMBASEINFO_H
17#define LLVM_LIB_TARGET_ARM_MCTARGETDESC_ARMBASEINFO_H
82 case LD:
return HasV8 ?
"ld" :
"#0xd";
84 case ISH:
return "ish";
85 case ISHST:
return "ishst";
86 case ISHLD:
return HasV8 ?
"ishld" :
"#0x9";
88 case NSH:
return "nsh";
89 case NSHST:
return "nshst";
90 case NSHLD:
return HasV8 ?
"nshld" :
"#0x5";
92 case OSH:
return "osh";
93 case OSHST:
return "oshst";
94 case OSHLD:
return HasV8 ?
"oshld" :
"#0x1";
109 case CSYNC:
return "csync";
153 case SY:
return "sy";
163 case R0:
case R1:
case R2:
case R3:
164 case R4:
case R5:
case R6:
case R7:
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static const char * AddrModeToString(AddrMode addrmode)
TOF
Target Operand Flag enum.
@ MO_OPTION_MASK
MO_OPTION_MASK - Most flags are mutually exclusive; this mask selects just that part of the flag set.
@ MO_LO16
MO_LO16 - On a symbol operand, this represents a relocation containing lower 16 bit of the address.
@ MO_LO_0_7
MO_LO_0_7 - On a symbol operand, this represents a relocation containing bits 0 through 7 of the addr...
@ MO_LO_8_15
MO_LO_8_15 - On a symbol operand, this represents a relocation containing bits 8 through 15 of the ad...
@ MO_NONLAZY
MO_NONLAZY - This is an independent flag, on a symbol operand "FOO" it represents a symbol which,...
@ MO_HI_8_15
MO_HI_8_15 - On a symbol operand, this represents a relocation containing bits 24 through 31 of the a...
@ MO_SBREL
MO_SBREL - On a symbol operand, this represents a static base relative relocation.
@ MO_HI16
MO_HI16 - On a symbol operand, this represents a relocation containing higher 16 bit of the address.
@ MO_DLLIMPORT
MO_DLLIMPORT - On a symbol operand, this represents that the reference to the symbol is for an import...
@ MO_SECREL
MO_SECREL - On a symbol operand this indicates that the immediate is the offset from beginning of sec...
@ MO_HI_0_7
MO_HI_0_7 - On a symbol operand, this represents a relocation containing bits 16 through 23 of the ad...
@ MO_GOT
MO_GOT - On a symbol operand, this represents a GOT relative relocation.
@ MO_COFFSTUB
MO_COFFSTUB - On a symbol operand "FOO", this indicates that the reference is actually to the "....
IndexMode
ARM Index Modes.
@ ValidForTailPredication
@ RetainsPreviousHalfElement
AddrMode
ARM Addressing Modes.
static const char * InstSyncBOptToString(unsigned val)
static const char * MemBOptToString(unsigned val, bool HasV8)
static const char * IModToString(unsigned val)
static const char * IFlagsToString(unsigned val)
static const char * TraceSyncBOptToString(unsigned val)
This is an optimization pass for GlobalISel generic memory operations.
static bool isARMLowRegister(unsigned Reg)
isARMLowRegister - Returns true if the register is a low register (r0-r7).