[PM] Sink the specific analyses preserved by SplitBlock into its
[oota-llvm.git] / include / llvm / Transforms / Utils / BasicBlockUtils.h
index fab7580860a0816d7e387c721e902e14b27acfbf..eb0edb75fd5fe157d1578d49b202f05a1f15d609 100644 (file)
@@ -153,7 +153,8 @@ BasicBlock *SplitEdge(BasicBlock *From, BasicBlock *To, Pass *P);
 /// to a new block.  The two blocks are joined by an unconditional branch and
 /// the loop info is updated.
 ///
-BasicBlock *SplitBlock(BasicBlock *Old, Instruction *SplitPt, Pass *P);
+BasicBlock *SplitBlock(BasicBlock *Old, Instruction *SplitPt,
+                       DominatorTree *DT = nullptr, LoopInfo *LI = nullptr);
 
 /// SplitBlockPredecessors - This method transforms BB by introducing a new
 /// basic block into the function, and moving some of the predecessors of BB to