mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
new method
llvm-svn: 23314
This commit is contained in:
parent
780ffd9c1f
commit
f3471861a6
@ -121,6 +121,12 @@ public:
|
||||
///
|
||||
BasicBlock *getLoopPreheader() const;
|
||||
|
||||
/// getLoopLatch - If there is a latch block for this loop, return it. A
|
||||
/// latch block is the canonical backedge for a loop. A loop header in normal
|
||||
/// form has two edges into it: one from a preheader and one from a latch
|
||||
/// block.
|
||||
BasicBlock *getLoopLatch() const;
|
||||
|
||||
/// getCanonicalInductionVariable - Check to see if the loop has a canonical
|
||||
/// induction variable: an integer recurrence that starts at 0 and increments
|
||||
/// by one each time through the loop. If so, return the phi node that
|
||||
|
Loading…
Reference in New Issue
Block a user