LLVM  4.0.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::BlockFrequencyInfoImplBase::BlockNode Struct Reference

Representative of a block. More...

#include <BlockFrequencyInfoImpl.h>

Collaboration diagram for llvm::BlockFrequencyInfoImplBase::BlockNode:
[legend]

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
 

Detailed Description

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 172 of file BlockFrequencyInfoImpl.h.

Member Typedef Documentation

Definition at line 173 of file BlockFrequencyInfoImpl.h.

Constructor & Destructor Documentation

llvm::BlockFrequencyInfoImplBase::BlockNode::BlockNode ( )
inline

Definition at line 183 of file BlockFrequencyInfoImpl.h.

llvm::BlockFrequencyInfoImplBase::BlockNode::BlockNode ( IndexType  Index)
inline

Definition at line 184 of file BlockFrequencyInfoImpl.h.

Member Function Documentation

static size_t llvm::BlockFrequencyInfoImplBase::BlockNode::getMaxIndex ( )
inlinestatic

Definition at line 187 of file BlockFrequencyInfoImpl.h.

Referenced by isValid().

bool llvm::BlockFrequencyInfoImplBase::BlockNode::isValid ( ) const
inline
bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator!= ( const BlockNode X) const
inline

Definition at line 177 of file BlockFrequencyInfoImpl.h.

References Index.

bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator< ( const BlockNode X) const
inline

Definition at line 180 of file BlockFrequencyInfoImpl.h.

References Index.

bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator<= ( const BlockNode X) const
inline

Definition at line 178 of file BlockFrequencyInfoImpl.h.

References Index.

bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator== ( const BlockNode X) const
inline

Definition at line 176 of file BlockFrequencyInfoImpl.h.

References Index.

bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator> ( const BlockNode X) const
inline

Definition at line 181 of file BlockFrequencyInfoImpl.h.

References Index.

bool llvm::BlockFrequencyInfoImplBase::BlockNode::operator>= ( const BlockNode X) const
inline

Definition at line 179 of file BlockFrequencyInfoImpl.h.

References Index.

Member Data Documentation

IndexType llvm::BlockFrequencyInfoImplBase::BlockNode::Index

The documentation for this struct was generated from the following file: