LLVM
8.0.1
|
Representative of a block. More...
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
Public Types | |
using | IndexType = uint32_t |
Public Member Functions | |
BlockNode ()=default | |
BlockNode (IndexType Index) | |
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 |
bool | isValid () const |
Static Public Member Functions | |
static size_t | getMaxIndex () |
Public Attributes | |
IndexType | Index = std::numeric_limits<uint32_t>::max() |
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 187 of file BlockFrequencyInfoImpl.h.
Definition at line 188 of file BlockFrequencyInfoImpl.h.
|
default |
|
inline |
Definition at line 193 of file BlockFrequencyInfoImpl.h.
|
inlinestatic |
Definition at line 204 of file BlockFrequencyInfoImpl.h.
References llvm::max().
|
inline |
Definition at line 202 of file BlockFrequencyInfoImpl.h.
Definition at line 196 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 199 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 197 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 195 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 200 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 198 of file BlockFrequencyInfoImpl.h.
References Index.
Definition at line 190 of file BlockFrequencyInfoImpl.h.
Referenced by llvm::bfi_detail::IrreducibleGraph::addEdge(), llvm::BlockFrequencyInfoImplBase::adjustLoopHeaderMass(), llvm::BlockFrequencyInfoImplBase::distributeIrrLoopHeaderMass(), llvm::BlockFrequencyInfoImplBase::distributeMass(), llvm::BlockFrequencyInfoImplBase::getLoopPackage(), operator!=(), llvm::bfi_detail::BlockEdgesAdder< BT >::operator()(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and llvm::BlockFrequencyInfoImplBase::packageLoop().