LLVM API Documentation
#include <MachineLoopInfo.h>
Public Member Functions | |
MachineLoop () | |
MachineBasicBlock * | getTopBlock () |
MachineBasicBlock * | getBottomBlock () |
void | dump () const |
Friends | |
class | LoopInfoBase< MachineBasicBlock, MachineLoop > |
Definition at line 45 of file MachineLoopInfo.h.
void MachineLoop::dump | ( | ) | const |
Definition at line 78 of file MachineLoopInfo.cpp.
References llvm::dbgs(), and llvm::LoopBase< MachineBasicBlock, MachineLoop >::print().
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().
friend class LoopInfoBase< MachineBasicBlock, MachineLoop > [friend] |
Definition at line 62 of file MachineLoopInfo.h.