mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Tidy whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1808e4d251
commit
347fa3fa26
@ -31,12 +31,12 @@ using namespace llvm;
|
||||
// If DebugDiv > 0 then only break antidep with (ID % DebugDiv) == DebugMod
|
||||
static cl::opt<int>
|
||||
DebugDiv("agg-antidep-debugdiv",
|
||||
cl::desc("Debug control for aggressive anti-dep breaker"),
|
||||
cl::init(0), cl::Hidden);
|
||||
cl::desc("Debug control for aggressive anti-dep breaker"),
|
||||
cl::init(0), cl::Hidden);
|
||||
static cl::opt<int>
|
||||
DebugMod("agg-antidep-debugmod",
|
||||
cl::desc("Debug control for aggressive anti-dep breaker"),
|
||||
cl::init(0), cl::Hidden);
|
||||
cl::desc("Debug control for aggressive anti-dep breaker"),
|
||||
cl::init(0), cl::Hidden);
|
||||
|
||||
AggressiveAntiDepState::AggressiveAntiDepState(const unsigned TargetRegs,
|
||||
MachineBasicBlock *BB) :
|
||||
@ -210,7 +210,7 @@ void AggressiveAntiDepBreaker::FinishBlock() {
|
||||
}
|
||||
|
||||
void AggressiveAntiDepBreaker::Observe(MachineInstr *MI, unsigned Count,
|
||||
unsigned InsertPosIndex) {
|
||||
unsigned InsertPosIndex) {
|
||||
assert(Count < InsertPosIndex && "Instruction index out of expected range!");
|
||||
|
||||
std::set<unsigned> PassthruRegs;
|
||||
@ -244,7 +244,7 @@ void AggressiveAntiDepBreaker::Observe(MachineInstr *MI, unsigned Count,
|
||||
}
|
||||
|
||||
bool AggressiveAntiDepBreaker::IsImplicitDefUse(MachineInstr *MI,
|
||||
MachineOperand& MO)
|
||||
MachineOperand& MO)
|
||||
{
|
||||
if (!MO.isReg() || !MO.isImplicit())
|
||||
return false;
|
||||
@ -359,8 +359,7 @@ void AggressiveAntiDepBreaker::HandleLastUse(unsigned Reg, unsigned KillIdx,
|
||||
|
||||
void AggressiveAntiDepBreaker::PrescanInstruction(MachineInstr *MI,
|
||||
unsigned Count,
|
||||
std::set<unsigned>& PassthruRegs)
|
||||
{
|
||||
std::set<unsigned>& PassthruRegs) {
|
||||
unsigned *DefIndices = State->GetDefIndices();
|
||||
std::multimap<unsigned, AggressiveAntiDepState::RegisterReference>&
|
||||
RegRefs = State->GetRegRefs();
|
||||
@ -439,7 +438,7 @@ void AggressiveAntiDepBreaker::PrescanInstruction(MachineInstr *MI,
|
||||
}
|
||||
|
||||
void AggressiveAntiDepBreaker::ScanInstruction(MachineInstr *MI,
|
||||
unsigned Count) {
|
||||
unsigned Count) {
|
||||
DEBUG(dbgs() << "\tUse Groups:");
|
||||
std::multimap<unsigned, AggressiveAntiDepState::RegisterReference>&
|
||||
RegRefs = State->GetRegRefs();
|
||||
|
Loading…
Reference in New Issue
Block a user