Go to the documentation of this file.
17 #ifndef LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KBASEINFO_H
18 #define LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KBASEINFO_H
26 #define GET_INSTRINFO_MI_OPS_INFO
27 #define GET_INSTRINFO_OPERAND_TYPES_ENUM
28 #define GET_INSTRINFO_LOGICAL_OPERAND_SIZE_MAP
29 #include "M68kGenInstrInfo.inc"
120 switch (TargetFlag) {
146 switch (TargetFlag) {
201 return M68k::getLogicalOperandSize(
Op, LogicalOpIdx) > 1;
247 #endif // LLVM_LIB_TARGET_M68K_MCTARGETDESC_M68KBASEINFO_H
This is an optimization pass for GlobalISel generic memory operations.
static bool isPCRelBlockReference(unsigned char Flag)
Return True if the Block is referenced using PC.
@ MO_PLT
On a symbol operand this indicates that the immediate is offset to the PLT entry of symbol name from ...
TOF
Target Operand Flag enum.
static bool isDirectGlobalReference(unsigned char Flag)
Return True if the specified GlobalValue is a direct reference for a symbol.
@ MO_GOT
On a symbol operand this indicates that the immediate is the offset to the GOT entry for the symbol n...
@ MO_PC_RELATIVE_ADDRESS
On a symbol operand this indicates that the immediate is the pc-relative address of the symbol.
static bool isGlobalStubReference(unsigned char TargetFlag)
Return true if the specified TargetFlag operand is a reference to a stub for a global,...
@ MO_GOTOFF
On a symbol operand this indicates that the immediate is the offset to the location of the symbol nam...
Flag
These should be considered private to the implementation of the MCInstrDesc class.
static bool hasMultiMIOperands(unsigned Op, unsigned LogicalOpIdx)
static bool isGlobalRelativeToPICBase(unsigned char TargetFlag)
Return true if the specified global value reference is relative to a 32-bit PIC base (M68kISD::GLOBAL...
static bool isPCRelGlobalReference(unsigned char Flag)
Return True if the specified GlobalValue requires PC addressing mode.
@ MO_ABSOLUTE_ADDRESS
On a symbol operand this indicates that the immediate is the absolute address of the symbol.
static unsigned getMaskedSpillRegister(unsigned order)
@ MO_GOTPCREL
On a symbol operand this indicates that the immediate is offset to the GOT entry for the symbol name ...
static bool isAddressRegister(unsigned RegNo)