LLVM 22.0.0git
XCoreRegisterInfo.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "xcore-reg-info"
#define GET_REGINFO_TARGET_DESC

Functions

static bool isImmUs (unsigned val)
static bool isImmU6 (unsigned val)
static bool isImmU16 (unsigned val)
static void InsertFPImmInst (MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, unsigned FrameReg, int Offset)
static void InsertFPConstInst (MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, unsigned FrameReg, int Offset, RegScavenger *RS)
static void InsertSPImmInst (MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset)
static void InsertSPConstInst (MachineBasicBlock::iterator II, const XCoreInstrInfo &TII, unsigned Reg, int Offset, RegScavenger *RS)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "xcore-reg-info"

Definition at line 33 of file XCoreRegisterInfo.cpp.

◆ GET_REGINFO_TARGET_DESC

#define GET_REGINFO_TARGET_DESC

Definition at line 35 of file XCoreRegisterInfo.cpp.

Function Documentation

◆ InsertFPConstInst()

◆ InsertFPImmInst()

◆ InsertSPConstInst()

◆ InsertSPImmInst()

◆ isImmU16()

bool isImmU16 ( unsigned val)
inlinestatic

Definition at line 51 of file XCoreRegisterInfo.cpp.

◆ isImmU6()

bool isImmU6 ( unsigned val)
inlinestatic

Definition at line 47 of file XCoreRegisterInfo.cpp.

◆ isImmUs()

bool isImmUs ( unsigned val)
inlinestatic

Definition at line 43 of file XCoreRegisterInfo.cpp.