@@ -117,12 +117,12 @@ bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum,
117
117
return false ;
118
118
}
119
119
120
- // / CreatePHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
120
+ // / createPHIsForSplitLoopExit - When a loop exit edge is split, LCSSA form
121
121
// / may require new PHIs in the new exit block. This function inserts the
122
122
// / new PHIs, as needed. Preds is a list of preds inside the loop, SplitBB
123
123
// / is the new loop exit block, and DestBB is the old loop exit, now the
124
124
// / successor of SplitBB.
125
- static void CreatePHIsForSplitLoopExit (SmallVectorImpl<BasicBlock *> &Preds,
125
+ static void createPHIsForSplitLoopExit (SmallVectorImpl<BasicBlock *> &Preds,
126
126
BasicBlock *SplitBB,
127
127
BasicBlock *DestBB) {
128
128
// SplitBB shouldn't have anything non-trivial in it yet.
@@ -344,7 +344,7 @@ BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
344
344
if (P->mustPreserveAnalysisID (LCSSAID)) {
345
345
SmallVector<BasicBlock *, 1 > OrigPred;
346
346
OrigPred.push_back (TIBB);
347
- CreatePHIsForSplitLoopExit (OrigPred, NewBB, DestBB);
347
+ createPHIsForSplitLoopExit (OrigPred, NewBB, DestBB);
348
348
}
349
349
350
350
// For each unique exit block...
0 commit comments