LLVM 20.0.0git
Macros | Functions | Variables
X86RegisterInfo.cpp File Reference
#include "X86RegisterInfo.h"
#include "X86FrameLowering.h"
#include "X86MachineFunctionInfo.h"
#include "X86Subtarget.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TileShapeInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Type.h"
#include "llvm/MC/MCContext.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "X86GenRegisterInfo.inc"

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)
 

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"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "tile-hint"

◆ GET_REGINFO_TARGET_DESC

#define GET_REGINFO_TARGET_DESC

Definition at line 42 of file X86RegisterInfo.cpp.

Function Documentation

◆ CantUseSP()

static bool CantUseSP ( const MachineFrameInfo MFI)
static

◆ getTileShape()

static ShapeT getTileShape ( Register  VirtReg,
VirtRegMap VRM,
const MachineRegisterInfo MRI 
)
static

◆ isFuncletReturnInstr()

static bool isFuncletReturnInstr ( MachineInstr MI)
static

Definition at line 844 of file X86RegisterInfo.cpp.

References llvm_unreachable, and MI.

◆ tryOptimizeLEAtoMOV()

static bool tryOptimizeLEAtoMOV ( MachineBasicBlock::iterator  II)
static

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