LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
DelaySlotFiller.cpp File Reference
#include "Sparc.h"
#include "SparcSubtarget.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
Include dependency graph for DelaySlotFiller.cpp:

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

#define DEBUG_TYPE   "delay-slot-filler"

Definition at line 15 of file DelaySlotFiller.cpp.

Function Documentation

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

Definition at line 368 of file DelaySlotFiller.cpp.

References llvm::MCInstrInfo::get().

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

Definition at line 395 of file DelaySlotFiller.cpp.

References llvm::MCInstrInfo::get().

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

Definition at line 434 of file DelaySlotFiller.cpp.

References llvm::MCInstrInfo::get().

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

Variable Documentation

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