LLVM API Documentation
Representative of a block. More...
#include <BlockFrequencyInfoImpl.h>
Public Types | |
typedef uint32_t | IndexType |
Public Member Functions | |
bool | operator== (const BlockNode &X) const |
bool | operator!= (const BlockNode &X) const |
bool | operator<= (const BlockNode &X) const |
bool | operator>= (const BlockNode &X) const |
bool | operator< (const BlockNode &X) const |
bool | operator> (const BlockNode &X) const |
BlockNode () | |
BlockNode (IndexType Index) | |
bool | isValid () const |
Static Public Member Functions | |
static size_t | getMaxIndex () |
Public Attributes | |
IndexType | Index |
Representative of a block.
This is a simple wrapper around an index into the reverse-post-order traversal of the blocks.
Unlike a block pointer, its order has meaning (location in the topological sort) and it's class is the same regardless of block type.
Definition at line 168 of file BlockFrequencyInfoImpl.h.
typedef uint32_t llvm::BlockFrequencyInfoImplBase::BlockNode::IndexType |
Definition at line 169 of file BlockFrequencyInfoImpl.h.
Definition at line 179 of file BlockFrequencyInfoImpl.h.
llvm::BlockFrequencyInfoImplBase::BlockNode::BlockNode | ( | IndexType | Index | ) | [inline] |
Definition at line 180 of file BlockFrequencyInfoImpl.h.
static size_t llvm::BlockFrequencyInfoImplBase::BlockNode::getMaxIndex | ( | ) | [inline, static] |
Definition at line 183 of file BlockFrequencyInfoImpl.h.
Referenced by isValid().
bool llvm::BlockFrequencyInfoImplBase::BlockNode::isValid | ( | ) | const [inline] |
Definition at line 182 of file BlockFrequencyInfoImpl.h.
References getMaxIndex(), and Index.
Referenced by llvm::BlockFrequencyInfoImplBase::distributeMass(), llvm::BlockFrequencyInfoImplBase::getBlockFreq(), and llvm::BlockFrequencyInfoImplBase::getFloatingBlockFreq().
Definition at line 173 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 176 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 174 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 172 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 177 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 175 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 170 of file BlockFrequencyInfoImpl.h.
Referenced by llvm::bfi_detail::IrreducibleGraph::addEdge(), llvm::bfi_detail::IrreducibleGraph::addEdges(), llvm::bfi_detail::IrreducibleGraph::addNode(), llvm::BlockFrequencyInfoImplBase::addToDist(), llvm::BlockFrequencyInfoImplBase::distributeMass(), llvm::BlockFrequencyInfoImplBase::getBlockFreq(), llvm::BlockFrequencyInfoImplBase::getFloatingBlockFreq(), llvm::BlockFrequencyInfoImplBase::getLoopPackage(), llvm::bfi_detail::IrreducibleGraph::initialize(), isValid(), operator!=(), llvm::bfi_detail::BlockEdgesAdder< BT >::operator()(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and llvm::BlockFrequencyInfoImplBase::packageLoop().