mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Appease the colonials.
llvm-svn: 108845
This commit is contained in:
parent
30f1b06af3
commit
1101d2ae50
@ -42,8 +42,8 @@ void SplitAnalysis::clear() {
|
||||
usingLoops_.clear();
|
||||
}
|
||||
|
||||
/// analyseUses - Count instructions, basic blocks, and loops using curli.
|
||||
void SplitAnalysis::analyseUses() {
|
||||
/// analyzeUses - Count instructions, basic blocks, and loops using curli.
|
||||
void SplitAnalysis::analyzeUses() {
|
||||
const MachineRegisterInfo &MRI = mf_.getRegInfo();
|
||||
for (MachineRegisterInfo::reg_iterator I = MRI.reg_begin(curli_->reg);
|
||||
MachineInstr *MI = I.skipInstruction();) {
|
||||
@ -95,7 +95,7 @@ SplitAnalysis::analyzeLoopPeripheralUse(const MachineLoop *Loop) {
|
||||
void SplitAnalysis::analyze(const LiveInterval *li) {
|
||||
clear();
|
||||
curli_ = li;
|
||||
analyseUses();
|
||||
analyzeUses();
|
||||
}
|
||||
|
||||
const MachineLoop *SplitAnalysis::getBestSplitLoop() {
|
||||
|
@ -47,7 +47,7 @@ class SplitAnalysis {
|
||||
LoopPtrSet usingLoops_;
|
||||
|
||||
// Sumarize statistics by counting instructions using curli_.
|
||||
void analyseUses();
|
||||
void analyzeUses();
|
||||
|
||||
public:
|
||||
SplitAnalysis(const MachineFunction *mf, const LiveIntervals *lis,
|
||||
|
Loading…
Reference in New Issue
Block a user