[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h

Misha Brukman brukman at cs.uiuc.edu
Fri Apr 23 18:55:01 PDT 2004


Changes in directory llvm/include/llvm/Transforms/Utils:

FunctionUtils.h updated: 1.5 -> 1.6

---
Log message:

Aggregating function arguments is now an option. Default is `no', as before.


---
Diffs of the changes:  (+5 -3)

Index: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
diff -u llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.5 llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.6
--- llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.5	Wed Mar 17 21:47:46 2004
+++ llvm/include/llvm/Transforms/Utils/FunctionUtils.h	Fri Apr 23 18:54:34 2004
@@ -25,15 +25,17 @@
   /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
   ///
   Function* ExtractCodeRegion(DominatorSet &DS,
-                              const std::vector<BasicBlock*> &code);
+                              const std::vector<BasicBlock*> &code,
+                              bool AggregateArgs = false);
 
   /// ExtractLoop - rip out a natural loop into a new function
   ///
-  Function* ExtractLoop(DominatorSet &DS, Loop *L);
+  Function* ExtractLoop(DominatorSet &DS, Loop *L,
+                        bool AggregateArgs = false);
 
   /// ExtractBasicBlock - rip out a basic block into a new function
   ///
-  Function* ExtractBasicBlock(BasicBlock *BB);
+  Function* ExtractBasicBlock(BasicBlock *BB, bool AggregateArgs = false);
 }
 
 #endif





More information about the llvm-commits mailing list