[llvm-commits] [poolalloc] r156366 - /poolalloc/trunk/lib/DSA/TopDownClosure.cpp

Will Dietz wdietz2 at illinois.edu
Mon May 7 21:16:54 PDT 2012


Author: wdietz2
Date: Mon May  7 23:16:54 2012
New Revision: 156366

URL: http://llvm.org/viewvc/llvm-project?rev=156366&view=rev
Log:
TD: Remove trailing whitespace, convert misc tabs to spaces for alignment.

Modified:
    poolalloc/trunk/lib/DSA/TopDownClosure.cpp

Modified: poolalloc/trunk/lib/DSA/TopDownClosure.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/DSA/TopDownClosure.cpp?rev=156366&r1=156365&r2=156366&view=diff
==============================================================================
--- poolalloc/trunk/lib/DSA/TopDownClosure.cpp (original)
+++ poolalloc/trunk/lib/DSA/TopDownClosure.cpp Mon May  7 23:16:54 2012
@@ -77,11 +77,11 @@
 // program.
 //
 bool TDDataStructures::runOnModule(Module &M) {
-  
+
   init(useEQBU ? &getAnalysis<EquivBUDataStructures>()
-       : &getAnalysis<BUDataStructures>(), 
+       : &getAnalysis<BUDataStructures>(),
        true, true, true, false);
-  
+
   for (Module::iterator F = M.begin(); F != M.end(); ++F) {
     if (!(F->isDeclaration())){
       DSGraph *G = getOrCreateGraph(F);
@@ -111,7 +111,7 @@
                                                  Visited);
   Visited.clear();
 
-  // Clear Aux of Globals Graph to be refilled in later by post-TD unresolved 
+  // Clear Aux of Globals Graph to be refilled in later by post-TD unresolved
   // functions
   GlobalsGraph->getAuxFunctionCalls().clear();
 
@@ -260,8 +260,8 @@
   cloneGlobalsInto(DSG, DSGraph::DontCloneCallNodes |
                         DSGraph::DontCloneAuxCallNodes);
 
-  DEBUG(errs() << "[TD] Inlining callers into '" 
-	<< DSG->getFunctionNames() << "'\n");
+  DEBUG(errs() << "[TD] Inlining callers into '"
+        << DSG->getFunctionNames() << "'\n");
 
   DSG->maskIncompleteMarkers();
   // Iteratively inline caller graphs into this graph.
@@ -278,16 +278,16 @@
     do {
       const DSCallSite &CS = *EdgesFromCaller.back().CS;
       const Function &CF = *EdgesFromCaller.back().CalledFunction;
-      DEBUG(errs() << "   [TD] Inlining graph into Fn '" 
-	    << CF.getName().str() << "' from ");
+      DEBUG(errs() << "   [TD] Inlining graph into Fn '"
+            << CF.getName().str() << "' from ");
       if (CallerGraph->getReturnNodes().empty()) {
         DEBUG(errs() << "SYNTHESIZED INDIRECT GRAPH");
       } else {
         DEBUG(errs() << "Fn '" << CS.getCallSite().getInstruction()->
-	      getParent()->getParent()->getName().str() << "'");
+              getParent()->getParent()->getName().str() << "'");
       }
-      DEBUG(errs() << ": " << CF.getFunctionType()->getNumParams() 
-	    << " args\n");
+      DEBUG(errs() << ": " << CF.getFunctionType()->getNumParams()
+            << " args\n");
 
       // Get the formal argument and return nodes for the called function and
       // merge them with the cloned subgraph.





More information about the llvm-commits mailing list