Aggregating function arguments is now an option. Default is `no', as before.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 23 Apr 2004 23:54:34 +0000 (23:54 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 23 Apr 2004 23:54:34 +0000 (23:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13142 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/FunctionUtils.h

index 22b649591556810f4eabae35bf9171cf79199fbe..9c2f2098c153c44f017a1bfca607a8f19eb42895 100644 (file)
@@ -25,15 +25,17 @@ namespace llvm {
   /// 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