forked from OSchip/llvm-project
parent
3147fd226a
commit
b3ce9fc449
|
@ -235,7 +235,9 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
|||
Graph->markIncompleteNodes();
|
||||
Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false);
|
||||
|
||||
DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << "\n");
|
||||
DEBUG(std::cerr << " [BU] Done inlining: " << F.getName() << " ["
|
||||
<< Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size()
|
||||
<< "]\n");
|
||||
|
||||
return *Graph;
|
||||
}
|
||||
|
|
|
@ -218,8 +218,9 @@ DSGraph &TDDataStructures::calculateGraph(Function &F) {
|
|||
/*&& FIXME: NEED TO CHECK IF ALL CALLERS FOUND!*/);
|
||||
Graph->removeDeadNodes(/*KeepAllGlobals*/ false, /*KeepCalls*/ false);
|
||||
|
||||
DEBUG(std::cerr << " [TD] Done inlining callers for: "
|
||||
<< F.getName() << "\n");
|
||||
DEBUG(std::cerr << " [TD] Done inlining callers for: " << F.getName() << " ["
|
||||
<< Graph->getGraphSize() << "+" << Graph->getFunctionCalls().size()
|
||||
<< "]\n");
|
||||
|
||||
return *Graph;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue