mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Rename SuccessorNumber to GetSuccessorNumber.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -102,10 +102,11 @@ void FindFunctionBackedges(const Function &F,
|
||||
//
|
||||
void RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum);
|
||||
|
||||
/// SuccessorNumber - Search for the specified successor of basic block BB and
|
||||
/// return its position in the terminator instruction's list of successors.
|
||||
/// It is an error to call this with a block that is not a successor.
|
||||
unsigned SuccessorNumber(BasicBlock *BB, BasicBlock *Succ);
|
||||
/// GetSuccessorNumber - Search for the specified successor of basic block BB
|
||||
/// and return its position in the terminator instruction's list of
|
||||
/// successors. It is an error to call this with a block that is not a
|
||||
/// successor.
|
||||
unsigned GetSuccessorNumber(BasicBlock *BB, BasicBlock *Succ);
|
||||
|
||||
/// isCriticalEdge - Return true if the specified edge is a critical edge.
|
||||
/// Critical edges are edges from a block with multiple successors to a block
|
||||
|
Reference in New Issue
Block a user