mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
Rename a couple of options and fix some simple typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
06cb680779
commit
a18f08318a
@ -1,4 +1,4 @@
|
|||||||
//===-- MBLazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===//
|
//===-- MBlazeInstPrinter.h - Convert MBlaze MCInst to assembly syntax ----===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
|
@ -30,7 +30,7 @@ using namespace llvm;
|
|||||||
STATISTIC(FilledSlots, "Number of delay slots filled");
|
STATISTIC(FilledSlots, "Number of delay slots filled");
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
cl::opt<bool> DisableDelaySlotFiller(
|
cl::opt<bool> MBDisableDelaySlotFiller(
|
||||||
"disable-mblaze-delay-filler",
|
"disable-mblaze-delay-filler",
|
||||||
cl::init(false),
|
cl::init(false),
|
||||||
cl::desc("Disable the MBlaze delay slot filter."),
|
cl::desc("Disable the MBlaze delay slot filter."),
|
||||||
@ -236,7 +236,7 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
|
|||||||
MachineBasicBlock::iterator D = MBB.end();
|
MachineBasicBlock::iterator D = MBB.end();
|
||||||
MachineBasicBlock::iterator J = I;
|
MachineBasicBlock::iterator J = I;
|
||||||
|
|
||||||
if (!DisableDelaySlotFiller)
|
if (!MBDisableDelaySlotFiller)
|
||||||
D = findDelayInstr(MBB,I);
|
D = findDelayInstr(MBB,I);
|
||||||
|
|
||||||
++FilledSlots;
|
++FilledSlots;
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
cl::opt<bool> DisableStackAdjust(
|
cl::opt<bool> MBDisableStackAdjust(
|
||||||
"disable-mblaze-stack-adjust",
|
"disable-mblaze-stack-adjust",
|
||||||
cl::init(false),
|
cl::init(false),
|
||||||
cl::desc("Disable MBlaze stack layout adjustment."),
|
cl::desc("Disable MBlaze stack layout adjustment."),
|
||||||
@ -85,7 +85,7 @@ static void replaceFrameIndexes(MachineFunction &MF,
|
|||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
static void analyzeFrameIndexes(MachineFunction &MF) {
|
static void analyzeFrameIndexes(MachineFunction &MF) {
|
||||||
if (DisableStackAdjust) return;
|
if (MBDisableStackAdjust) return;
|
||||||
|
|
||||||
MachineFrameInfo *MFI = MF.getFrameInfo();
|
MachineFrameInfo *MFI = MF.getFrameInfo();
|
||||||
MBlazeFunctionInfo *MBlazeFI = MF.getInfo<MBlazeFunctionInfo>();
|
MBlazeFunctionInfo *MBlazeFI = MF.getInfo<MBlazeFunctionInfo>();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//===-- MBLazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===//
|
//===-- MBlazeMCInstLower.cpp - Convert MBlaze MachineInstr to an MCInst---===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user