Pull LLVMContext out of PromoteMemToReg.
[oota-llvm.git] / include / llvm / Transforms / Utils / FunctionUtils.h
index 9c2f2098c153c44f017a1bfca607a8f19eb42895..785b08f82917da54bacf41c83a1d5eaa7fd77cfc 100644 (file)
@@ -1,10 +1,10 @@
 //===-- Transform/Utils/FunctionUtils.h - Function Utils --------*- C++ -*-===//
-// 
+//
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by the LLVM research group and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
-// 
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
 //===----------------------------------------------------------------------===//
 //
 // This family of transformations manipulate LLVM functions.
 
 namespace llvm {
   class BasicBlock;
-  class DominatorSet;
+  class DominatorTree;
   class Function;
   class Loop;
-  
+
   /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
   ///
-  Function* ExtractCodeRegion(DominatorSet &DS,
+  Function* ExtractCodeRegion(DominatorTree& DT,
                               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(DominatorTree& DT, Loop *L,
                         bool AggregateArgs = false);
 
   /// ExtractBasicBlock - rip out a basic block into a new function