LLVM 22.0.0git
DelaySlotFiller.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "delay-slot-filler"

Functions

 STATISTIC (FilledSlots, "Number of delay slots filled")
static bool combineRestoreADD (MachineBasicBlock::iterator RestoreMI, MachineBasicBlock::iterator AddMI, const TargetInstrInfo *TII)
static bool combineRestoreOR (MachineBasicBlock::iterator RestoreMI, MachineBasicBlock::iterator OrMI, const TargetInstrInfo *TII)
static bool combineRestoreSETHIi (MachineBasicBlock::iterator RestoreMI, MachineBasicBlock::iterator SetHiMI, const TargetInstrInfo *TII)

Variables

static cl::opt< boolDisableDelaySlotFiller ("disable-sparc-delay-filler", cl::init(false), cl::desc("Disable the Sparc delay slot filler."), cl::Hidden)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "delay-slot-filler"

Definition at line 27 of file DelaySlotFiller.cpp.

Function Documentation

◆ combineRestoreADD()

bool combineRestoreADD ( MachineBasicBlock::iterator RestoreMI,
MachineBasicBlock::iterator AddMI,
const TargetInstrInfo * TII )
static

Definition at line 393 of file DelaySlotFiller.cpp.

References TII.

◆ combineRestoreOR()

bool combineRestoreOR ( MachineBasicBlock::iterator RestoreMI,
MachineBasicBlock::iterator OrMI,
const TargetInstrInfo * TII )
static

Definition at line 420 of file DelaySlotFiller.cpp.

References TII.

◆ combineRestoreSETHIi()

bool combineRestoreSETHIi ( MachineBasicBlock::iterator RestoreMI,
MachineBasicBlock::iterator SetHiMI,
const TargetInstrInfo * TII )
static

Definition at line 459 of file DelaySlotFiller.cpp.

References assert(), llvm::isInt(), and TII.

◆ STATISTIC()

STATISTIC ( FilledSlots ,
"Number of delay slots filled"  )

Variable Documentation

◆ DisableDelaySlotFiller

cl::opt< bool > DisableDelaySlotFiller("disable-sparc-delay-filler", cl::init(false), cl::desc("Disable the Sparc delay slot filler."), cl::Hidden) ( "disable-sparc-delay-filler" ,
cl::init(false) ,
cl::desc("Disable the Sparc delay slot filler.") ,
cl::Hidden  )
static