LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes
llvm::BlockFrequencyInfoImplBase::BlockNode Struct Reference

Representative of a block. More...

#include <BlockFrequencyInfoImpl.h>

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

List of all members.

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


Member Typedef Documentation

Definition at line 169 of file BlockFrequencyInfoImpl.h.


Constructor & Destructor Documentation

Definition at line 179 of file BlockFrequencyInfoImpl.h.

Definition at line 180 of file BlockFrequencyInfoImpl.h.


Member Function Documentation

Definition at line 183 of file BlockFrequencyInfoImpl.h.

Referenced by isValid().

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

Definition at line 173 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 174 of file BlockFrequencyInfoImpl.h.

References Index.

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

Definition at line 172 of file BlockFrequencyInfoImpl.h.

References Index.

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

References Index.


Member Data Documentation


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