LLVM API Documentation

Public Member Functions | Friends
llvm::MachineLoop Class Reference

#include <MachineLoopInfo.h>

Inheritance diagram for llvm::MachineLoop:
Inheritance graph
[legend]
Collaboration diagram for llvm::MachineLoop:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MachineLoop ()
MachineBasicBlockgetTopBlock ()
MachineBasicBlockgetBottomBlock ()
void dump () const

Friends

class LoopInfoBase< MachineBasicBlock, MachineLoop >

Detailed Description

Definition at line 45 of file MachineLoopInfo.h.


Constructor & Destructor Documentation


Member Function Documentation

void MachineLoop::dump ( ) const

getBottomBlock - Return the "bottom" block in the loop, which is the last block in the linear layout, ignoring any parts of the loop not contiguous with the part the contains the header.

Definition at line 63 of file MachineLoopInfo.cpp.

References llvm::LoopBase< MachineBasicBlock, MachineLoop >::contains(), llvm::MachineFunction::end(), llvm::LoopBase< MachineBasicBlock, MachineLoop >::getHeader(), and llvm::MachineBasicBlock::getParent().

getTopBlock - Return the "top" block in the loop, which is the first block in the linear layout, ignoring any parts of the loop not contiguous with the part the contains the header.

Definition at line 49 of file MachineLoopInfo.cpp.

References llvm::MachineFunction::begin(), llvm::LoopBase< MachineBasicBlock, MachineLoop >::contains(), llvm::LoopBase< MachineBasicBlock, MachineLoop >::getHeader(), and llvm::MachineBasicBlock::getParent().


Friends And Related Function Documentation

friend class LoopInfoBase< MachineBasicBlock, MachineLoop > [friend]

Definition at line 62 of file MachineLoopInfo.h.


The documentation for this class was generated from the following files: