2018-01-22 18:06:50 +08:00
|
|
|
//==- llvm/CodeGen/BreakFalseDeps.cpp - Break False Dependency Fix -*- C++ -*==//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-01-22 18:06:50 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
/// \file Break False Dependency pass.
|
|
|
|
///
|
|
|
|
/// Some instructions have false dependencies which cause unnecessary stalls.
|
2019-09-10 21:00:31 +08:00
|
|
|
/// For example, instructions may write part of a register and implicitly
|
|
|
|
/// need to read the other parts of the register. This may cause unwanted
|
2018-01-22 18:06:50 +08:00
|
|
|
/// stalls preventing otherwise unrelated instructions from executing in
|
|
|
|
/// parallel in an out-of-order CPU.
|
2019-09-10 21:00:31 +08:00
|
|
|
/// This pass is aimed at identifying and avoiding these dependencies.
|
2018-01-22 18:06:50 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/CodeGen/LivePhysRegs.h"
|
|
|
|
#include "llvm/CodeGen/MachineFunctionPass.h"
|
Sink all InitializePasses.h includes
This file lists every pass in LLVM, and is included by Pass.h, which is
very popular. Every time we add, remove, or rename a pass in LLVM, it
caused lots of recompilation.
I found this fact by looking at this table, which is sorted by the
number of times a file was changed over the last 100,000 git commits
multiplied by the number of object files that depend on it in the
current checkout:
recompiles touches affected_files header
342380 95 3604 llvm/include/llvm/ADT/STLExtras.h
314730 234 1345 llvm/include/llvm/InitializePasses.h
307036 118 2602 llvm/include/llvm/ADT/APInt.h
213049 59 3611 llvm/include/llvm/Support/MathExtras.h
170422 47 3626 llvm/include/llvm/Support/Compiler.h
162225 45 3605 llvm/include/llvm/ADT/Optional.h
158319 63 2513 llvm/include/llvm/ADT/Triple.h
140322 39 3598 llvm/include/llvm/ADT/StringRef.h
137647 59 2333 llvm/include/llvm/Support/Error.h
131619 73 1803 llvm/include/llvm/Support/FileSystem.h
Before this change, touching InitializePasses.h would cause 1345 files
to recompile. After this change, touching it only causes 550 compiles in
an incremental rebuild.
Reviewers: bkramer, asbirlea, bollu, jdoerfert
Differential Revision: https://reviews.llvm.org/D70211
2019-11-14 05:15:01 +08:00
|
|
|
#include "llvm/CodeGen/MachineRegisterInfo.h"
|
2018-01-22 18:06:50 +08:00
|
|
|
#include "llvm/CodeGen/ReachingDefAnalysis.h"
|
|
|
|
#include "llvm/CodeGen/RegisterClassInfo.h"
|
|
|
|
#include "llvm/CodeGen/TargetInstrInfo.h"
|
Sink all InitializePasses.h includes
This file lists every pass in LLVM, and is included by Pass.h, which is
very popular. Every time we add, remove, or rename a pass in LLVM, it
caused lots of recompilation.
I found this fact by looking at this table, which is sorted by the
number of times a file was changed over the last 100,000 git commits
multiplied by the number of object files that depend on it in the
current checkout:
recompiles touches affected_files header
342380 95 3604 llvm/include/llvm/ADT/STLExtras.h
314730 234 1345 llvm/include/llvm/InitializePasses.h
307036 118 2602 llvm/include/llvm/ADT/APInt.h
213049 59 3611 llvm/include/llvm/Support/MathExtras.h
170422 47 3626 llvm/include/llvm/Support/Compiler.h
162225 45 3605 llvm/include/llvm/ADT/Optional.h
158319 63 2513 llvm/include/llvm/ADT/Triple.h
140322 39 3598 llvm/include/llvm/ADT/StringRef.h
137647 59 2333 llvm/include/llvm/Support/Error.h
131619 73 1803 llvm/include/llvm/Support/FileSystem.h
Before this change, touching InitializePasses.h would cause 1345 files
to recompile. After this change, touching it only causes 550 compiles in
an incremental rebuild.
Reviewers: bkramer, asbirlea, bollu, jdoerfert
Differential Revision: https://reviews.llvm.org/D70211
2019-11-14 05:15:01 +08:00
|
|
|
#include "llvm/InitializePasses.h"
|
2019-10-19 09:31:09 +08:00
|
|
|
#include "llvm/Support/Debug.h"
|
2018-01-22 18:06:50 +08:00
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
|
|
|
class BreakFalseDeps : public MachineFunctionPass {
|
|
|
|
private:
|
|
|
|
MachineFunction *MF;
|
|
|
|
const TargetInstrInfo *TII;
|
|
|
|
const TargetRegisterInfo *TRI;
|
|
|
|
RegisterClassInfo RegClassInfo;
|
|
|
|
|
|
|
|
/// List of undefined register reads in this block in forward order.
|
|
|
|
std::vector<std::pair<MachineInstr *, unsigned>> UndefReads;
|
|
|
|
|
|
|
|
/// Storage for register unit liveness.
|
|
|
|
LivePhysRegs LiveRegSet;
|
|
|
|
|
|
|
|
ReachingDefAnalysis *RDA;
|
|
|
|
|
|
|
|
public:
|
|
|
|
static char ID; // Pass identification, replacement for typeid
|
|
|
|
|
|
|
|
BreakFalseDeps() : MachineFunctionPass(ID) {
|
|
|
|
initializeBreakFalseDepsPass(*PassRegistry::getPassRegistry());
|
|
|
|
}
|
|
|
|
|
|
|
|
void getAnalysisUsage(AnalysisUsage &AU) const override {
|
|
|
|
AU.setPreservesAll();
|
|
|
|
AU.addRequired<ReachingDefAnalysis>();
|
|
|
|
MachineFunctionPass::getAnalysisUsage(AU);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool runOnMachineFunction(MachineFunction &MF) override;
|
|
|
|
|
|
|
|
MachineFunctionProperties getRequiredProperties() const override {
|
|
|
|
return MachineFunctionProperties().set(
|
|
|
|
MachineFunctionProperties::Property::NoVRegs);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
/// Process he given basic block.
|
|
|
|
void processBasicBlock(MachineBasicBlock *MBB);
|
|
|
|
|
|
|
|
/// Update def-ages for registers defined by MI.
|
|
|
|
/// Also break dependencies on partial defs and undef uses.
|
|
|
|
void processDefs(MachineInstr *MI);
|
|
|
|
|
2018-05-01 23:54:18 +08:00
|
|
|
/// Helps avoid false dependencies on undef registers by updating the
|
2018-01-22 18:06:50 +08:00
|
|
|
/// machine instructions' undef operand to use a register that the instruction
|
|
|
|
/// is truly dependent on, or use a register with clearance higher than Pref.
|
|
|
|
/// Returns true if it was able to find a true dependency, thus not requiring
|
|
|
|
/// a dependency breaking instruction regardless of clearance.
|
|
|
|
bool pickBestRegisterForUndef(MachineInstr *MI, unsigned OpIdx,
|
|
|
|
unsigned Pref);
|
|
|
|
|
2018-05-01 23:54:18 +08:00
|
|
|
/// Return true to if it makes sense to break dependence on a partial
|
2018-01-22 18:06:50 +08:00
|
|
|
/// def or undef use.
|
|
|
|
bool shouldBreakDependence(MachineInstr *, unsigned OpIdx, unsigned Pref);
|
|
|
|
|
2018-05-01 23:54:18 +08:00
|
|
|
/// Break false dependencies on undefined register reads.
|
2018-01-22 18:06:50 +08:00
|
|
|
/// Walk the block backward computing precise liveness. This is expensive, so
|
|
|
|
/// we only do it on demand. Note that the occurrence of undefined register
|
|
|
|
/// reads that should be broken is very rare, but when they occur we may have
|
|
|
|
/// many in a single block.
|
|
|
|
void processUndefReads(MachineBasicBlock *);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace llvm
|
|
|
|
|
|
|
|
#define DEBUG_TYPE "break-false-deps"
|
|
|
|
|
|
|
|
char BreakFalseDeps::ID = 0;
|
|
|
|
INITIALIZE_PASS_BEGIN(BreakFalseDeps, DEBUG_TYPE, "BreakFalseDeps", false, false)
|
|
|
|
INITIALIZE_PASS_DEPENDENCY(ReachingDefAnalysis)
|
|
|
|
INITIALIZE_PASS_END(BreakFalseDeps, DEBUG_TYPE, "BreakFalseDeps", false, false)
|
|
|
|
|
|
|
|
FunctionPass *llvm::createBreakFalseDeps() { return new BreakFalseDeps(); }
|
|
|
|
|
|
|
|
bool BreakFalseDeps::pickBestRegisterForUndef(MachineInstr *MI, unsigned OpIdx,
|
|
|
|
unsigned Pref) {
|
2020-05-10 06:33:08 +08:00
|
|
|
|
|
|
|
// We can't change tied operands.
|
|
|
|
if (MI->isRegTiedToDefOperand(OpIdx))
|
|
|
|
return false;
|
|
|
|
|
2018-01-22 18:06:50 +08:00
|
|
|
MachineOperand &MO = MI->getOperand(OpIdx);
|
|
|
|
assert(MO.isUndef() && "Expected undef machine operand");
|
|
|
|
|
2020-05-10 06:33:08 +08:00
|
|
|
// We can't change registers that aren't renamable.
|
|
|
|
if (!MO.isRenamable())
|
|
|
|
return false;
|
|
|
|
|
Apply llvm-prefer-register-over-unsigned from clang-tidy to LLVM
Summary:
This clang-tidy check is looking for unsigned integer variables whose initializer
starts with an implicit cast from llvm::Register and changes the type of the
variable to llvm::Register (dropping the llvm:: where possible).
Partial reverts in:
X86FrameLowering.cpp - Some functions return unsigned and arguably should be MCRegister
X86FixupLEAs.cpp - Some functions return unsigned and arguably should be MCRegister
X86FrameLowering.cpp - Some functions return unsigned and arguably should be MCRegister
HexagonBitSimplify.cpp - Function takes BitTracker::RegisterRef which appears to be unsigned&
MachineVerifier.cpp - Ambiguous operator==() given MCRegister and const Register
PPCFastISel.cpp - No Register::operator-=()
PeepholeOptimizer.cpp - TargetInstrInfo::optimizeLoadInstr() takes an unsigned&
MachineTraceMetrics.cpp - MachineTraceMetrics lacks a suitable constructor
Manual fixups in:
ARMFastISel.cpp - ARMEmitLoad() now takes a Register& instead of unsigned&
HexagonSplitDouble.cpp - Ternary operator was ambiguous between unsigned/Register
HexagonConstExtenders.cpp - Has a local class named Register, used llvm::Register instead of Register.
PPCFastISel.cpp - PPCEmitLoad() now takes a Register& instead of unsigned&
Depends on D65919
Reviewers: arsenm, bogner, craig.topper, RKSimon
Reviewed By: arsenm
Subscribers: RKSimon, craig.topper, lenary, aemerson, wuzish, jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100, jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65962
llvm-svn: 369041
2019-08-16 03:22:08 +08:00
|
|
|
Register OriginalReg = MO.getReg();
|
2018-01-22 18:06:50 +08:00
|
|
|
|
|
|
|
// Update only undef operands that have reg units that are mapped to one root.
|
|
|
|
for (MCRegUnitIterator Unit(OriginalReg, TRI); Unit.isValid(); ++Unit) {
|
|
|
|
unsigned NumRoots = 0;
|
|
|
|
for (MCRegUnitRootIterator Root(*Unit, TRI); Root.isValid(); ++Root) {
|
|
|
|
NumRoots++;
|
|
|
|
if (NumRoots > 1)
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Get the undef operand's register class
|
|
|
|
const TargetRegisterClass *OpRC =
|
|
|
|
TII->getRegClass(MI->getDesc(), OpIdx, TRI, *MF);
|
|
|
|
|
|
|
|
// If the instruction has a true dependency, we can hide the false depdency
|
|
|
|
// behind it.
|
|
|
|
for (MachineOperand &CurrMO : MI->operands()) {
|
|
|
|
if (!CurrMO.isReg() || CurrMO.isDef() || CurrMO.isUndef() ||
|
|
|
|
!OpRC->contains(CurrMO.getReg()))
|
|
|
|
continue;
|
|
|
|
// We found a true dependency - replace the undef register with the true
|
|
|
|
// dependency.
|
|
|
|
MO.setReg(CurrMO.getReg());
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Go over all registers in the register class and find the register with
|
|
|
|
// max clearance or clearance higher than Pref.
|
|
|
|
unsigned MaxClearance = 0;
|
|
|
|
unsigned MaxClearanceReg = OriginalReg;
|
|
|
|
ArrayRef<MCPhysReg> Order = RegClassInfo.getOrder(OpRC);
|
|
|
|
for (MCPhysReg Reg : Order) {
|
|
|
|
unsigned Clearance = RDA->getClearance(MI, Reg);
|
|
|
|
if (Clearance <= MaxClearance)
|
|
|
|
continue;
|
|
|
|
MaxClearance = Clearance;
|
|
|
|
MaxClearanceReg = Reg;
|
|
|
|
|
|
|
|
if (MaxClearance > Pref)
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Update the operand if we found a register with better clearance.
|
|
|
|
if (MaxClearanceReg != OriginalReg)
|
|
|
|
MO.setReg(MaxClearanceReg);
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool BreakFalseDeps::shouldBreakDependence(MachineInstr *MI, unsigned OpIdx,
|
2018-09-15 06:26:09 +08:00
|
|
|
unsigned Pref) {
|
Apply llvm-prefer-register-over-unsigned from clang-tidy to LLVM
Summary:
This clang-tidy check is looking for unsigned integer variables whose initializer
starts with an implicit cast from llvm::Register and changes the type of the
variable to llvm::Register (dropping the llvm:: where possible).
Partial reverts in:
X86FrameLowering.cpp - Some functions return unsigned and arguably should be MCRegister
X86FixupLEAs.cpp - Some functions return unsigned and arguably should be MCRegister
X86FrameLowering.cpp - Some functions return unsigned and arguably should be MCRegister
HexagonBitSimplify.cpp - Function takes BitTracker::RegisterRef which appears to be unsigned&
MachineVerifier.cpp - Ambiguous operator==() given MCRegister and const Register
PPCFastISel.cpp - No Register::operator-=()
PeepholeOptimizer.cpp - TargetInstrInfo::optimizeLoadInstr() takes an unsigned&
MachineTraceMetrics.cpp - MachineTraceMetrics lacks a suitable constructor
Manual fixups in:
ARMFastISel.cpp - ARMEmitLoad() now takes a Register& instead of unsigned&
HexagonSplitDouble.cpp - Ternary operator was ambiguous between unsigned/Register
HexagonConstExtenders.cpp - Has a local class named Register, used llvm::Register instead of Register.
PPCFastISel.cpp - PPCEmitLoad() now takes a Register& instead of unsigned&
Depends on D65919
Reviewers: arsenm, bogner, craig.topper, RKSimon
Reviewed By: arsenm
Subscribers: RKSimon, craig.topper, lenary, aemerson, wuzish, jholewinski, MatzeB, qcolombet, dschuff, jyknight, dylanmckay, sdardis, nemanjai, jvesely, wdng, nhaehnle, sbc100, jgravelle-google, kristof.beyls, hiraditya, aheejin, kbarton, fedor.sergeev, javed.absar, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, tpr, PkmX, jocewei, jsji, Petar.Avramovic, asbirlea, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65962
llvm-svn: 369041
2019-08-16 03:22:08 +08:00
|
|
|
Register reg = MI->getOperand(OpIdx).getReg();
|
2018-01-22 18:06:50 +08:00
|
|
|
unsigned Clearance = RDA->getClearance(MI, reg);
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(dbgs() << "Clearance: " << Clearance << ", want " << Pref);
|
2018-01-22 18:06:50 +08:00
|
|
|
|
|
|
|
if (Pref > Clearance) {
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(dbgs() << ": Break dependency.\n");
|
2018-01-22 18:06:50 +08:00
|
|
|
return true;
|
|
|
|
}
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(dbgs() << ": OK .\n");
|
2018-01-22 18:06:50 +08:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void BreakFalseDeps::processDefs(MachineInstr *MI) {
|
2018-05-09 10:42:00 +08:00
|
|
|
assert(!MI->isDebugInstr() && "Won't process debug values");
|
2018-01-22 18:06:50 +08:00
|
|
|
|
|
|
|
// Break dependence on undef uses. Do this before updating LiveRegs below.
|
2019-09-24 01:01:01 +08:00
|
|
|
// This can remove a false dependence with no additional instructions.
|
2018-01-22 18:06:50 +08:00
|
|
|
unsigned OpNum;
|
|
|
|
unsigned Pref = TII->getUndefRegClearance(*MI, OpNum, TRI);
|
|
|
|
if (Pref) {
|
|
|
|
bool HadTrueDependency = pickBestRegisterForUndef(MI, OpNum, Pref);
|
|
|
|
// We don't need to bother trying to break a dependency if this
|
|
|
|
// instruction has a true dependency on that register through another
|
|
|
|
// operand - we'll have to wait for it to be available regardless.
|
|
|
|
if (!HadTrueDependency && shouldBreakDependence(MI, OpNum, Pref))
|
|
|
|
UndefReads.push_back(std::make_pair(MI, OpNum));
|
|
|
|
}
|
|
|
|
|
2019-09-24 01:01:01 +08:00
|
|
|
// The code below allows the target to create a new instruction to break the
|
|
|
|
// dependence. That opposes the goal of minimizing size, so bail out now.
|
|
|
|
if (MF->getFunction().hasMinSize())
|
|
|
|
return;
|
|
|
|
|
2018-01-22 18:06:50 +08:00
|
|
|
const MCInstrDesc &MCID = MI->getDesc();
|
|
|
|
for (unsigned i = 0,
|
|
|
|
e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs();
|
|
|
|
i != e; ++i) {
|
|
|
|
MachineOperand &MO = MI->getOperand(i);
|
|
|
|
if (!MO.isReg() || !MO.getReg())
|
|
|
|
continue;
|
|
|
|
if (MO.isUse())
|
|
|
|
continue;
|
|
|
|
// Check clearance before partial register updates.
|
|
|
|
unsigned Pref = TII->getPartialRegUpdateClearance(*MI, i, TRI);
|
|
|
|
if (Pref && shouldBreakDependence(MI, i, Pref))
|
|
|
|
TII->breakPartialRegDependency(*MI, i, TRI);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void BreakFalseDeps::processUndefReads(MachineBasicBlock *MBB) {
|
|
|
|
if (UndefReads.empty())
|
|
|
|
return;
|
|
|
|
|
2019-09-24 01:01:01 +08:00
|
|
|
// The code below allows the target to create a new instruction to break the
|
|
|
|
// dependence. That opposes the goal of minimizing size, so bail out now.
|
|
|
|
if (MF->getFunction().hasMinSize())
|
|
|
|
return;
|
|
|
|
|
2018-01-22 18:06:50 +08:00
|
|
|
// Collect this block's live out register units.
|
|
|
|
LiveRegSet.init(*TRI);
|
|
|
|
// We do not need to care about pristine registers as they are just preserved
|
|
|
|
// but not actually used in the function.
|
|
|
|
LiveRegSet.addLiveOutsNoPristines(*MBB);
|
|
|
|
|
|
|
|
MachineInstr *UndefMI = UndefReads.back().first;
|
|
|
|
unsigned OpIdx = UndefReads.back().second;
|
|
|
|
|
|
|
|
for (MachineInstr &I : make_range(MBB->rbegin(), MBB->rend())) {
|
|
|
|
// Update liveness, including the current instruction's defs.
|
|
|
|
LiveRegSet.stepBackward(I);
|
|
|
|
|
|
|
|
if (UndefMI == &I) {
|
|
|
|
if (!LiveRegSet.contains(UndefMI->getOperand(OpIdx).getReg()))
|
|
|
|
TII->breakPartialRegDependency(*UndefMI, OpIdx, TRI);
|
|
|
|
|
|
|
|
UndefReads.pop_back();
|
|
|
|
if (UndefReads.empty())
|
|
|
|
return;
|
|
|
|
|
|
|
|
UndefMI = UndefReads.back().first;
|
|
|
|
OpIdx = UndefReads.back().second;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void BreakFalseDeps::processBasicBlock(MachineBasicBlock *MBB) {
|
|
|
|
UndefReads.clear();
|
|
|
|
// If this block is not done, it makes little sense to make any decisions
|
|
|
|
// based on clearance information. We need to make a second pass anyway,
|
|
|
|
// and by then we'll have better information, so we can avoid doing the work
|
|
|
|
// to try and break dependencies now.
|
|
|
|
for (MachineInstr &MI : *MBB) {
|
2018-05-09 10:42:00 +08:00
|
|
|
if (!MI.isDebugInstr())
|
2018-01-22 18:06:50 +08:00
|
|
|
processDefs(&MI);
|
|
|
|
}
|
|
|
|
processUndefReads(MBB);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool BreakFalseDeps::runOnMachineFunction(MachineFunction &mf) {
|
|
|
|
if (skipFunction(mf.getFunction()))
|
|
|
|
return false;
|
|
|
|
MF = &mf;
|
|
|
|
TII = MF->getSubtarget().getInstrInfo();
|
|
|
|
TRI = MF->getSubtarget().getRegisterInfo();
|
|
|
|
RDA = &getAnalysis<ReachingDefAnalysis>();
|
|
|
|
|
|
|
|
RegClassInfo.runOnMachineFunction(mf);
|
|
|
|
|
2018-05-14 20:53:11 +08:00
|
|
|
LLVM_DEBUG(dbgs() << "********** BREAK FALSE DEPENDENCIES **********\n");
|
2018-01-22 18:06:50 +08:00
|
|
|
|
|
|
|
// Traverse the basic blocks.
|
|
|
|
for (MachineBasicBlock &MBB : mf) {
|
|
|
|
processBasicBlock(&MBB);
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|