LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::ilist_traits< Instruction > Struct Template Reference

#include <Instruction.h>

Inheritance diagram for llvm::ilist_traits< Instruction >:
[legend]
Collaboration diagram for llvm::ilist_traits< Instruction >:
[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 ()
 getListOwner - Return the object that owns this list. More...
 
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)
 setSymTabObject - This is called when (f.e.) the parent of a basic block changes. More...
 
- 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 ()
 provideInitialHead - when constructing an ilist, provide a starting value for its Head More...
 
static NodeTy * ensureHead (NodeTy *&Head)
 ensureHead - make sure that Head is either already initialized or assigned a fresh sentinel More...
 
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 33 of file Instruction.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 518 of file Instruction.h.

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

Definition at line 41 of file Instruction.h.

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

Definition at line 45 of file Instruction.h.

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

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