mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
[PM] Lift the analyses into the interface for
SplitLandingPadPredecessors and remove the Pass argument from its interface. Another step to the utilities being usable with both old and new pass managers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -188,9 +188,14 @@ BasicBlock *SplitBlockPredecessors(BasicBlock *BB, ArrayRef<BasicBlock *> Preds,
|
||||
/// case where one of the edges being split is an exit of a loop with other
|
||||
/// exits).
|
||||
///
|
||||
void SplitLandingPadPredecessors(BasicBlock *OrigBB,ArrayRef<BasicBlock*> Preds,
|
||||
void SplitLandingPadPredecessors(BasicBlock *OrigBB,
|
||||
ArrayRef<BasicBlock *> Preds,
|
||||
const char *Suffix, const char *Suffix2,
|
||||
Pass *P, SmallVectorImpl<BasicBlock*> &NewBBs);
|
||||
SmallVectorImpl<BasicBlock *> &NewBBs,
|
||||
AliasAnalysis *AA = nullptr,
|
||||
DominatorTree *DT = nullptr,
|
||||
LoopInfo *LI = nullptr,
|
||||
bool PreserveLCSSA = false);
|
||||
|
||||
/// FoldReturnIntoUncondBranch - This method duplicates the specified return
|
||||
/// instruction into a predecessor which ends in an unconditional branch. If
|
||||
|
Reference in New Issue
Block a user