projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NULL terminate name in pubtypes sections.
[oota-llvm.git]
/
lib
/
CodeGen
/
StrongPHIElimination.cpp
diff --git
a/lib/CodeGen/StrongPHIElimination.cpp
b/lib/CodeGen/StrongPHIElimination.cpp
index 3c139068e6836b84234f7efcf188c63b90bb1b3d..bd7cb7520c985d341630a23e0c08760959a3e894 100644
(file)
--- a/
lib/CodeGen/StrongPHIElimination.cpp
+++ b/
lib/CodeGen/StrongPHIElimination.cpp
@@
-555,7
+555,7
@@
void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
// Add the renaming set for this PHI node to our overall renaming information
for (std::map<unsigned, MachineBasicBlock*>::iterator QI = PHIUnion.begin(),
QE = PHIUnion.end(); QI != QE; ++QI) {
// Add the renaming set for this PHI node to our overall renaming information
for (std::map<unsigned, MachineBasicBlock*>::iterator QI = PHIUnion.begin(),
QE = PHIUnion.end(); QI != QE; ++QI) {
- DEBUG(
err
s() << "Adding Renaming: " << QI->first << " -> "
+ DEBUG(
dbg
s() << "Adding Renaming: " << QI->first << " -> "
<< P->getOperand(0).getReg() << "\n");
}
<< P->getOperand(0).getReg() << "\n");
}
@@
-698,7
+698,7
@@
void StrongPHIElimination::ScheduleCopies(MachineBasicBlock* MBB,
TII->copyRegToReg(*PI->getParent(), PI, t,
curr.second, RC, RC);
TII->copyRegToReg(*PI->getParent(), PI, t,
curr.second, RC, RC);
- DEBUG(
err
s() << "Inserted copy from " << curr.second << " to " << t
+ DEBUG(
dbg
s() << "Inserted copy from " << curr.second << " to " << t
<< "\n");
// Push temporary on Stacks
<< "\n");
// Push temporary on Stacks
@@
-715,7
+715,7
@@
void StrongPHIElimination::ScheduleCopies(MachineBasicBlock* MBB,
TII->copyRegToReg(*MBB, MBB->getFirstTerminator(), curr.second,
map[curr.first], RC, RC);
map[curr.first] = curr.second;
TII->copyRegToReg(*MBB, MBB->getFirstTerminator(), curr.second,
map[curr.first], RC, RC);
map[curr.first] = curr.second;
- DEBUG(
err
s() << "Inserted copy from " << curr.first << " to "
+ DEBUG(
dbg
s() << "Inserted copy from " << curr.first << " to "
<< curr.second << "\n");
// Push this copy onto InsertedPHICopies so we can
<< curr.second << "\n");
// Push this copy onto InsertedPHICopies so we can
@@
-928,7
+928,7
@@
bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
unsigned reg = OI->first;
++OI;
I->second.erase(reg);
unsigned reg = OI->first;
++OI;
I->second.erase(reg);
- DEBUG(
err
s() << "Removing Renaming: " << reg << " -> " << I->first
+ DEBUG(
dbg
s() << "Removing Renaming: " << reg << " -> " << I->first
<< "\n");
}
}
<< "\n");
}
}
@@
-946,7
+946,7
@@
bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
while (I->second.size()) {
std::map<unsigned, MachineBasicBlock*>::iterator SI = I->second.begin();
while (I->second.size()) {
std::map<unsigned, MachineBasicBlock*>::iterator SI = I->second.begin();
- DEBUG(
err
s() << "Renaming: " << SI->first << " -> " << I->first << "\n");
+ DEBUG(
dbg
s() << "Renaming: " << SI->first << " -> " << I->first << "\n");
if (SI->first != I->first) {
if (mergeLiveIntervals(I->first, SI->first)) {
if (SI->first != I->first) {
if (mergeLiveIntervals(I->first, SI->first)) {
@@
-978,7
+978,7
@@
bool StrongPHIElimination::runOnMachineFunction(MachineFunction &Fn) {
R.valno->setCopy(--SI->second->getFirstTerminator());
R.valno->def = instrIdx.getDefIndex();
R.valno->setCopy(--SI->second->getFirstTerminator());
R.valno->def = instrIdx.getDefIndex();
- DEBUG(
err
s() << "Renaming failed: " << SI->first << " -> "
+ DEBUG(
dbg
s() << "Renaming failed: " << SI->first << " -> "
<< I->first << "\n");
}
}
<< I->first << "\n");
}
}