LLVM 22.0.0git
X86RegisterInfo.cpp File Reference

Go to the source code of this file.

Macros

#define GET_REGINFO_TARGET_DESC
#define DEBUG_TYPE   "tile-hint"

Functions

static bool CantUseSP (const MachineFrameInfo &MFI)
static bool tryOptimizeLEAtoMOV (MachineBasicBlock::iterator II)
static bool isFuncletReturnInstr (MachineInstr &MI)
static ShapeT getTileShape (Register VirtReg, VirtRegMap *VRM, const MachineRegisterInfo *MRI)
static bool canHintShape (ShapeT &PhysShape, ShapeT &VirtShape)

Variables

static cl::opt< boolEnableBasePointer ("x86-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames"))
static cl::opt< boolDisableRegAllocNDDHints ("x86-disable-regalloc-hints-for-ndd", cl::Hidden, cl::init(false), cl::desc("Disable two address hints for register " "allocation"))
cl::opt< boolX86EnableAPXForRelocation

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "tile-hint"

◆ GET_REGINFO_TARGET_DESC

#define GET_REGINFO_TARGET_DESC

Definition at line 40 of file X86RegisterInfo.cpp.

Function Documentation

◆ canHintShape()

bool canHintShape ( ShapeT & PhysShape,
ShapeT & VirtShape )
static

◆ CantUseSP()

◆ getTileShape()

◆ isFuncletReturnInstr()

bool isFuncletReturnInstr ( MachineInstr & MI)
static

Definition at line 804 of file X86RegisterInfo.cpp.

References llvm_unreachable, and MI.

◆ tryOptimizeLEAtoMOV()

bool tryOptimizeLEAtoMOV ( MachineBasicBlock::iterator II)
static

Definition at line 779 of file X86RegisterInfo.cpp.

References llvm::getX86SubSuperRegister(), II, MI, Opc, and TII.

Referenced by llvm::X86RegisterInfo::eliminateFrameIndex().

Variable Documentation

◆ DisableRegAllocNDDHints

cl::opt< bool > DisableRegAllocNDDHints("x86-disable-regalloc-hints-for-ndd", cl::Hidden, cl::init(false), cl::desc("Disable two address hints for register " "allocation")) ( "x86-disable-regalloc-hints-for-ndd" ,
cl::Hidden ,
cl::init(false) ,
cl::desc("Disable two address hints for register " "allocation")  )
static

◆ EnableBasePointer

cl::opt< bool > EnableBasePointer("x86-use-base-pointer", cl::Hidden, cl::init(true), cl::desc("Enable use of a base pointer for complex stack frames")) ( "x86-use-base-pointer" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Enable use of a base pointer for complex stack frames")  )
static

◆ X86EnableAPXForRelocation

cl::opt<bool> X86EnableAPXForRelocation
extern