Enhance BBVectorize to more-properly handle pointer values and vectorize GEPs.
[oota-llvm.git] / include / llvm / Transforms / Utils / PromoteMemToReg.h
index 3dba38ee264eb7473ae50e5d8831f5b1b6d15497..98d51a29ad714ecf382af5e79382161ad346deae 100644 (file)
@@ -23,7 +23,6 @@ class AllocaInst;
 class DominatorTree;
 class DominanceFrontier;
 class AliasSetTracker;
-struct LLVMContext;
 
 /// isAllocaPromotable - Return true if this alloca is legal for promotion.
 /// This is true if there are only loads and stores to the alloca...
@@ -39,9 +38,7 @@ bool isAllocaPromotable(const AllocaInst *AI);
 /// made to the IR.
 ///
 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
-                     DominatorTree &DT, DominanceFrontier &DF,
-                     LLVMContext &Context,
-                     AliasSetTracker *AST = 0);
+                     DominatorTree &DT, AliasSetTracker *AST = 0);
 
 } // End llvm namespace