LLVM 22.0.0git
MachineRegisterInfo.cpp File Reference

Go to the source code of this file.

Functions

static const TargetRegisterClassconstrainRegClass (MachineRegisterInfo &MRI, Register Reg, const TargetRegisterClass *OldRC, const TargetRegisterClass *RC, unsigned MinNumRegs)
static const FunctiongetCalledFunction (const MachineInstr &MI)
static bool isNoReturnDef (const MachineOperand &MO)

Variables

static cl::opt< boolEnableSubRegLiveness ("enable-subreg-liveness", cl::Hidden, cl::init(true), cl::desc("Enable subregister liveness tracking."))

Function Documentation

◆ constrainRegClass()

const TargetRegisterClass * constrainRegClass ( MachineRegisterInfo & MRI,
Register Reg,
const TargetRegisterClass * OldRC,
const TargetRegisterClass * RC,
unsigned MinNumRegs )
static

Definition at line 69 of file MachineRegisterInfo.cpp.

References llvm::TargetRegisterClass::getNumRegs(), MRI, and Reg.

◆ getCalledFunction()

const Function * getCalledFunction ( const MachineInstr & MI)
static

Definition at line 565 of file MachineRegisterInfo.cpp.

References llvm::dyn_cast(), and MI.

◆ isNoReturnDef()

Variable Documentation

◆ EnableSubRegLiveness

cl::opt< bool > EnableSubRegLiveness("enable-subreg-liveness", cl::Hidden, cl::init(true), cl::desc("Enable subregister liveness tracking.")) ( "enable-subreg-liveness" ,
cl::Hidden ,
cl::init(true) ,
cl::desc("Enable subregister liveness tracking.")  )
static