From: Misha Brukman Date: Fri, 23 Apr 2004 23:54:34 +0000 (+0000) Subject: Aggregating function arguments is now an option. Default is `no', as before. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de41aab1f7b06619d0b50c409ec9e7def6018282;p=oota-llvm.git Aggregating function arguments is now an option. Default is `no', as before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13142 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index 22b64959155..9c2f2098c15 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -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 &code); + const std::vector &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