mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
[block-freq] Update BlockFrequencyInfo/MachineBlockFrequencyInfo to use the new print methods.
llvm-svn: 197289
This commit is contained in:
parent
9b762a4c61
commit
e0d2feab9b
@ -86,7 +86,7 @@ struct DOTGraphTraits<BlockFrequencyInfo*> : public DefaultDOTGraphTraits {
|
||||
OS << Node->getName().str() << ":";
|
||||
switch (ViewBlockFreqPropagationDAG) {
|
||||
case GVDT_Fraction:
|
||||
Graph->getBlockFreq(Node).print(OS);
|
||||
Graph->printBlockFreq(OS, Node);
|
||||
break;
|
||||
case GVDT_Integer:
|
||||
OS << Graph->getBlockFreq(Node).getFrequency();
|
||||
|
@ -91,7 +91,7 @@ struct DOTGraphTraits<MachineBlockFrequencyInfo*> :
|
||||
OS << Node->getName().str() << ":";
|
||||
switch (ViewMachineBlockFreqPropagationDAG) {
|
||||
case GVDT_Fraction:
|
||||
Graph->getBlockFreq(Node).print(OS);
|
||||
Graph->printBlockFreq(OS, Node);
|
||||
break;
|
||||
case GVDT_Integer:
|
||||
OS << Graph->getBlockFreq(Node).getFrequency();
|
||||
|
Loading…
Reference in New Issue
Block a user