mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Missed member rename for naming convention.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd38917d4d
commit
0eeca44046
@ -549,7 +549,7 @@ SplitEditor::SplitEditor(SplitAnalysis &sa,
|
||||
VirtRegMap &vrm,
|
||||
MachineDominatorTree &mdt,
|
||||
LiveRangeEdit &edit)
|
||||
: sa_(sa), LIS(lis), VRM(vrm),
|
||||
: SA(sa), LIS(lis), VRM(vrm),
|
||||
MRI(vrm.getMachineFunction().getRegInfo()),
|
||||
MDT(mdt),
|
||||
TII(*vrm.getMachineFunction().getTarget().getInstrInfo()),
|
||||
@ -898,7 +898,7 @@ void SplitEditor::finish() {
|
||||
}
|
||||
|
||||
// Calculate spill weight and allocation hints for new intervals.
|
||||
VirtRegAuxInfo vrai(VRM.getMachineFunction(), LIS, sa_.Loops);
|
||||
VirtRegAuxInfo vrai(VRM.getMachineFunction(), LIS, SA.Loops);
|
||||
for (LiveRangeEdit::iterator I = Edit.begin(), E = Edit.end(); I != E; ++I){
|
||||
LiveInterval &li = **I;
|
||||
vrai.CalculateRegClass(li.reg);
|
||||
@ -939,8 +939,8 @@ bool SplitAnalysis::getMultiUseBlocks(BlockPtrSet &Blocks) {
|
||||
void SplitEditor::splitSingleBlocks(const SplitAnalysis::BlockPtrSet &Blocks) {
|
||||
DEBUG(dbgs() << " splitSingleBlocks for " << Blocks.size() << " blocks.\n");
|
||||
|
||||
for (unsigned i = 0, e = sa_.LiveBlocks.size(); i != e; ++i) {
|
||||
const SplitAnalysis::BlockInfo &BI = sa_.LiveBlocks[i];
|
||||
for (unsigned i = 0, e = SA.LiveBlocks.size(); i != e; ++i) {
|
||||
const SplitAnalysis::BlockInfo &BI = SA.LiveBlocks[i];
|
||||
if (!BI.Uses || !Blocks.count(BI.MBB))
|
||||
continue;
|
||||
|
||||
@ -982,9 +982,9 @@ const MachineBasicBlock *SplitAnalysis::getBlockForInsideSplit() {
|
||||
/// splitInsideBlock - Split CurLI into multiple intervals inside MBB.
|
||||
void SplitEditor::splitInsideBlock(const MachineBasicBlock *MBB) {
|
||||
SmallVector<SlotIndex, 32> Uses;
|
||||
Uses.reserve(sa_.UsingInstrs.size());
|
||||
for (SplitAnalysis::InstrPtrSet::const_iterator I = sa_.UsingInstrs.begin(),
|
||||
E = sa_.UsingInstrs.end(); I != E; ++I)
|
||||
Uses.reserve(SA.UsingInstrs.size());
|
||||
for (SplitAnalysis::InstrPtrSet::const_iterator I = SA.UsingInstrs.begin(),
|
||||
E = SA.UsingInstrs.end(); I != E; ++I)
|
||||
if ((*I)->getParent() == MBB)
|
||||
Uses.push_back(LIS.getInstructionIndex(*I));
|
||||
DEBUG(dbgs() << " splitInsideBlock BB#" << MBB->getNumber() << " for "
|
||||
|
@ -260,7 +260,7 @@ public:
|
||||
/// - Rewrite instructions with finish().
|
||||
///
|
||||
class SplitEditor {
|
||||
SplitAnalysis &sa_;
|
||||
SplitAnalysis &SA;
|
||||
LiveIntervals &LIS;
|
||||
VirtRegMap &VRM;
|
||||
MachineRegisterInfo &MRI;
|
||||
@ -315,7 +315,7 @@ public:
|
||||
MachineDominatorTree&, LiveRangeEdit&);
|
||||
|
||||
/// getAnalysis - Get the corresponding analysis.
|
||||
SplitAnalysis &getAnalysis() { return sa_; }
|
||||
SplitAnalysis &getAnalysis() { return SA; }
|
||||
|
||||
/// Create a new virtual register and live interval.
|
||||
void openIntv();
|
||||
|
Loading…
x
Reference in New Issue
Block a user