LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Protected Member Functions | Friends | List of all members
llvm::ilist_node< NodeTy > Class Template Reference

#include <ilist_node.h>

Inheritance diagram for llvm::ilist_node< NodeTy >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ilist_node< NodeTy >:
Collaboration graph
[legend]

Public Member Functions

Adjacent Node Accessors
NodeTy * getPrevNode ()
 Get the previous node, or 0 for the list head. More...
 
const NodeTy * getPrevNode () const
 Get the previous node, or 0 for the list head. More...
 
NodeTy * getNextNode ()
 Get the next node, or 0 for the list tail. More...
 
const NodeTy * getNextNode () const
 Get the next node, or 0 for the list tail. More...
 

Protected Member Functions

 ilist_node ()
 

Friends

struct ilist_nextprev_traits< NodeTy >
 
struct ilist_traits< NodeTy >
 

Detailed Description

template<typename NodeTy>
class llvm::ilist_node< NodeTy >

ilist_node - Base class that provides next/prev services for nodes that use ilist_nextprev_traits or ilist_default_traits.

Definition at line 43 of file ilist_node.h.

Constructor & Destructor Documentation

template<typename NodeTy>
llvm::ilist_node< NodeTy >::ilist_node ( )
inlineprotected

Definition at line 51 of file ilist_node.h.

Member Function Documentation

template<typename NodeTy>
NodeTy* llvm::ilist_node< NodeTy >::getNextNode ( )
inline

Get the next node, or 0 for the list tail.

Definition at line 80 of file ilist_node.h.

Referenced by llvm::SCEVExpander::replaceCongruentIVs(), and llvm::SplitBlockAndInsertIfThen().

template<typename NodeTy>
const NodeTy* llvm::ilist_node< NodeTy >::getNextNode ( ) const
inline

Get the next node, or 0 for the list tail.

Definition at line 91 of file ilist_node.h.

template<typename NodeTy>
NodeTy* llvm::ilist_node< NodeTy >::getPrevNode ( )
inline

Get the previous node, or 0 for the list head.

Definition at line 58 of file ilist_node.h.

Referenced by llvm::MCAsmLayout::invalidateFragmentsFrom(), and llvm::MCAsmLayout::layoutFragment().

template<typename NodeTy>
const NodeTy* llvm::ilist_node< NodeTy >::getPrevNode ( ) const
inline

Get the previous node, or 0 for the list head.

Definition at line 69 of file ilist_node.h.

Friends And Related Function Documentation

template<typename NodeTy>
friend struct ilist_nextprev_traits< NodeTy >
friend

Definition at line 44 of file ilist_node.h.

template<typename NodeTy>
friend struct ilist_traits< NodeTy >
friend

Definition at line 45 of file ilist_node.h.


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