LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
llvm::ilist_traits< Instruction > Struct Template Reference

#include <BasicBlock.h>

Inheritance diagram for llvm::ilist_traits< Instruction >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ilist_traits< Instruction >:
Collaboration graph
[legend]

Public Member Functions

InstructioncreateSentinel () const
 Return a node that marks the end of a list. More...
 
InstructionprovideInitialHead () const
 
InstructionensureHead (Instruction *) const
 
- Public Member Functions inherited from llvm::SymbolTableListTraits< Instruction, BasicBlock >
 SymbolTableListTraits ()
 
BasicBlockgetListOwner ()
 
void addNodeToList (Instruction *V)
 
void removeNodeFromList (Instruction *V)
 
void transferNodesFromList (ilist_traits< Instruction > &L2, ilist_iterator< Instruction > first, ilist_iterator< Instruction > last)
 
void setSymTabObject (TPtr *, TPtr)
 
- Public Member Functions inherited from llvm::ilist_node_traits< NodeTy >
void addNodeToList (NodeTy *)
 
void removeNodeFromList (NodeTy *)
 
void transferNodesFromList (ilist_node_traits &, ilist_iterator< NodeTy >, ilist_iterator< NodeTy >)
 

Static Public Member Functions

static void destroySentinel (Instruction *)
 
static void noteHead (Instruction *, Instruction *)
 
- Static Public Member Functions inherited from llvm::SymbolTableListTraits< Instruction, BasicBlock >
static iplist< Instruction > & getList (BasicBlock *Par)
 
static ValueSymbolTablegetSymTab (BasicBlock *Par)
 
static ValueSymbolTabletoPtr (ValueSymbolTable *P)
 
static ValueSymbolTabletoPtr (ValueSymbolTable &R)
 
- Static Public Member Functions inherited from llvm::ilist_nextprev_traits< NodeTy >
static NodeTy * getPrev (NodeTy *N)
 
static NodeTy * getNext (NodeTy *N)
 
static const NodeTy * getPrev (const NodeTy *N)
 
static const NodeTy * getNext (const NodeTy *N)
 
static void setPrev (NodeTy *N, NodeTy *Prev)
 
static void setNext (NodeTy *N, NodeTy *Next)
 
- Static Public Member Functions inherited from llvm::ilist_sentinel_traits< NodeTy >
static NodeTy * createSentinel ()
 createSentinel - create the dynamic sentinel More...
 
static void destroySentinel (NodeTy *N)
 destroySentinel - deallocate the dynamic sentinel More...
 
static NodeTy * provideInitialHead ()
 
static NodeTy * ensureHead (NodeTy *&Head)
 
static void noteHead (NodeTy *NewHead, NodeTy *Sentinel)
 noteHead - stash the sentinel into its default location More...
 
- Static Public Member Functions inherited from llvm::ilist_node_traits< NodeTy >
static NodeTy * createNode (const NodeTy &V)
 
static void deleteNode (NodeTy *V)
 

Detailed Description

template<>
struct llvm::ilist_traits< Instruction >

Definition at line 31 of file BasicBlock.h.

Member Function Documentation

Instruction* llvm::ilist_traits< Instruction >::createSentinel ( ) const
inline

Return a node that marks the end of a list.

The sentinel is relative to this instance, so we use a non-static method.

Definition at line 38 of file BasicBlock.h.

static void llvm::ilist_traits< Instruction >::destroySentinel ( Instruction )
inlinestatic

Definition at line 48 of file BasicBlock.h.

Instruction* llvm::ilist_traits< Instruction >::ensureHead ( Instruction ) const
inline
static void llvm::ilist_traits< Instruction >::noteHead ( Instruction ,
Instruction  
)
inlinestatic

Definition at line 52 of file BasicBlock.h.

Instruction* llvm::ilist_traits< Instruction >::provideInitialHead ( ) const
inline

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