mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
[PM] Sink the specific analyses preserved by SplitBlock into its
interface, removing Pass from its interface. This also makes those analyses optional so that passes which don't even preserve these (or use them) can skip the logic entirely. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user