LLVM
8.0.1
|
#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/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"
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< bool > | DisableDelaySlotFiller ("disable-sparc-delay-filler", cl::init(false), cl::desc("Disable the Sparc delay slot filler."), cl::Hidden) |
#define DEBUG_TYPE "delay-slot-filler" |
Definition at line 29 of file DelaySlotFiller.cpp.
|
static |
Definition at line 375 of file DelaySlotFiller.cpp.
References llvm::MCInstrInfo::get().
Referenced by combineRestoreSETHIi().
|
static |
Definition at line 402 of file DelaySlotFiller.cpp.
References llvm::MCInstrInfo::get().
Referenced by combineRestoreSETHIi().
|
static |
Definition at line 441 of file DelaySlotFiller.cpp.
References assert(), llvm::MachineBasicBlock::begin(), combineRestoreADD(), combineRestoreOR(), llvm::MCInstrInfo::get(), llvm::SparcSubtarget::getInstrInfo(), and TII.
STATISTIC | ( | FilledSlots | , |
"Number of delay slots filled" | |||
) |
|
static |
Referenced by llvm::createSparcDelaySlotFillerPass().