LLVM 20.0.0git
|
This file contains small standalone helper functions and enum definitions for the M68k target useful for the compiler back-end and the MC libraries. More...
#include "M68kMCTargetDesc.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/ErrorHandling.h"
#include "M68kGenInstrInfo.inc"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::M68k |
Define some predicates that are used for node matching. | |
namespace | llvm::M68kBeads |
namespace | llvm::M68kII |
This namespace holds all of the target specific flags that instruction info tracks. | |
Macros | |
#define | GET_INSTRINFO_MI_OPS_INFO |
#define | GET_INSTRINFO_OPERAND_TYPES_ENUM |
#define | GET_INSTRINFO_LOGICAL_OPERAND_SIZE_MAP |
Functions | |
template<typename value_t > | |
value_t | llvm::M68k::swapWord (value_t Val) |
static bool | llvm::M68kII::isGlobalStubReference (unsigned char TargetFlag) |
Return true if the specified TargetFlag operand is a reference to a stub for a global, not the global itself. | |
static bool | llvm::M68kII::isDirectGlobalReference (unsigned char Flag) |
Return True if the specified GlobalValue is a direct reference for a symbol. | |
static bool | llvm::M68kII::isGlobalRelativeToPICBase (unsigned char TargetFlag) |
Return true if the specified global value reference is relative to a 32-bit PIC base (M68kISD::GLOBAL_BASE_REG). | |
static bool | llvm::M68kII::isPCRelGlobalReference (unsigned char Flag) |
Return True if the specified GlobalValue requires PC addressing mode. | |
static bool | llvm::M68kII::isPCRelBlockReference (unsigned char Flag) |
Return True if the Block is referenced using PC. | |
static bool | llvm::M68kII::isAddressRegister (unsigned RegNo) |
static bool | llvm::M68kII::hasMultiMIOperands (unsigned Op, unsigned LogicalOpIdx) |
static unsigned | llvm::M68kII::getMaskedSpillRegister (unsigned order) |
This file contains small standalone helper functions and enum definitions for the M68k target useful for the compiler back-end and the MC libraries.
As such, it deliberately does not include references to LLVM core code gen types, passes, etc..
Definition in file M68kBaseInfo.h.
#define GET_INSTRINFO_LOGICAL_OPERAND_SIZE_MAP |
Definition at line 29 of file M68kBaseInfo.h.
#define GET_INSTRINFO_MI_OPS_INFO |
Definition at line 27 of file M68kBaseInfo.h.
#define GET_INSTRINFO_OPERAND_TYPES_ENUM |
Definition at line 28 of file M68kBaseInfo.h.