Just some code beautification changes I had sitting around in my tree.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5859 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp b/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
index a5db12f..8bc78ad 100644
--- a/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
+++ b/lib/CodeGen/ModuloScheduling/ModuloSchedGraph.cpp
@@ -19,14 +19,12 @@
 #include <algorithm>
 #include <ostream>
 #include <vector>
-
 // FIXME: Should be using #include <cmath>
 #include <math.h>
 //#include <swig.h>
 
 #define UNIDELAY 1
 
-
 //*********************** Internal Data Structures *************************/
 
 // The following two types need to be classes, not typedefs, so we can use
@@ -52,7 +50,6 @@
 
 // class Modulo SchedGraphNode
 
-/*ctor*/
 ModuloSchedGraphNode::ModuloSchedGraphNode(unsigned int _nodeId,
                                            const BasicBlock * _bb,
                                            const Instruction * _inst,
@@ -113,8 +110,8 @@
   for (unsigned int i = 0; i < defVec.size(); i++) {
     for (Value::use_const_iterator I = defVec[i]->getInst()->use_begin();
          I != defVec[i]->getInst()->use_end(); I++) {
-      //for each use of a def, add a flow edge from the def instruction to the ref instruction
-
+      //for each use of a def, add a flow edge from the def instruction to the
+      //ref instruction
 
       const Instruction *value = defVec[i]->getInst();
       Instruction *inst = (Instruction *) (*I);
@@ -969,7 +966,6 @@
 
 int ModuloSchedGraph::computeRecII(const BasicBlock *bb)
 {
-
   int RecII = 0;
 
   //os<<"begining computerRecII()"<<"\n";
@@ -1269,7 +1265,6 @@
   DEBUG(std::cerr << "dumping basic block:");
   DEBUG(std::cerr << (bb->hasName()? bb->getName() : "block")
         << " (" << bb << ")" << "\n");
-
 }
 
 void ModuloSchedGraph::dump(const BasicBlock * bb, std::ostream & os)
@@ -1319,16 +1314,15 @@
   }
 }
 
-void ModuloSchedGraphSet::buildGraphsForMethod(const Function * F,
-                                               const TargetMachine &
-                                               target)
+void ModuloSchedGraphSet::buildGraphsForMethod(const Function *F,
+                                               const TargetMachine &target)
 {
   for (Function::const_iterator BI = F->begin(); BI != F->end(); ++BI)
     addGraph(new ModuloSchedGraph(BI, target));
 }
 
-std::ostream & operator<<(std::ostream & os,
-                          const ModuloSchedGraphNode & node)
+std::ostream& operator<<(std::ostream &os,
+                         const ModuloSchedGraphNode &node)
 {
   os << std::string(8, ' ')
       << "Node " << node.nodeId << " : "
@@ -1348,6 +1342,5 @@
       os << std::string(16, ' ') << *node.outEdges[i];
   }
 
-
   return os;
 }