LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass > Class Template Reference

#include <SymbolTableListTraits.h>

Inheritance diagram for llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >:
Inheritance graph
[legend]
Collaboration diagram for llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SymbolTableListTraits ()
ItemParentClass * getListOwner ()
void addNodeToList (ValueSubClass *V)
void removeNodeFromList (ValueSubClass *V)
void transferNodesFromList (ilist_traits< ValueSubClass > &L2, ilist_iterator< ValueSubClass > first, ilist_iterator< ValueSubClass > last)
template<typename TPtr >
void setSymTabObject (TPtr *, TPtr)

Static Public Member Functions

static iplist< ValueSubClass > & getList (ItemParentClass *Par)
static ValueSymbolTablegetSymTab (ItemParentClass *Par)
static ValueSymbolTabletoPtr (ValueSymbolTable *P)
static ValueSymbolTabletoPtr (ValueSymbolTable &R)

Detailed Description

template<typename ValueSubClass, typename ItemParentClass>
class llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >

Definition at line 41 of file SymbolTableListTraits.h.


Constructor & Destructor Documentation

template<typename ValueSubClass, typename ItemParentClass>
llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::SymbolTableListTraits ( ) [inline]

Definition at line 44 of file SymbolTableListTraits.h.


Member Function Documentation

template<typename ValueSubClass, typename ItemParentClass >
void llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::addNodeToList ( ValueSubClass *  V)

Reimplemented from llvm::ilist_node_traits< ValueSubClass >.

Definition at line 67 of file SymbolTableListTraitsImpl.h.

References getSymTab(), and llvm::AArch64DB::ST.

template<typename ValueSubClass, typename ItemParentClass>
static iplist<ValueSubClass>& llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::getList ( ItemParentClass *  Par) [inline, static]

Definition at line 56 of file SymbolTableListTraits.h.

template<typename ValueSubClass, typename ItemParentClass>
ItemParentClass* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::getListOwner ( ) [inline]

getListOwner - Return the object that owns this list. If this is a list of instructions, it returns the BasicBlock that owns them.

Definition at line 48 of file SymbolTableListTraits.h.

template<typename ValueSubClass, typename ItemParentClass>
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::getSymTab ( ItemParentClass *  Par) [inline, static]
template<typename ValueSubClass, typename ItemParentClass >
void llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::removeNodeFromList ( ValueSubClass *  V)

Reimplemented from llvm::ilist_node_traits< ValueSubClass >.

Definition at line 78 of file SymbolTableListTraitsImpl.h.

References getSymTab(), and llvm::AArch64DB::ST.

template<typename ValueSubClass , typename ItemParentClass >
template<typename TPtr >
void llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::setSymTabObject ( TPtr *  Dest,
TPtr  Src 
)

setSymTabObject - This is called when (f.e.) the parent of a basic block changes. This requires us to remove all the instruction symtab entries from the current function and reinsert them into the new function.

Definition at line 30 of file SymbolTableListTraitsImpl.h.

References llvm::iplist< NodeTy, Traits >::begin(), llvm::iplist< NodeTy, Traits >::empty(), llvm::iplist< NodeTy, Traits >::end(), getSymTab(), and I.

template<typename ValueSubClass, typename ItemParentClass>
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::toPtr ( ValueSymbolTable P) [inline, static]
template<typename ValueSubClass, typename ItemParentClass>
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::toPtr ( ValueSymbolTable R) [inline, static]

Definition at line 73 of file SymbolTableListTraits.h.

template<typename ValueSubClass, typename ItemParentClass >
void llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::transferNodesFromList ( ilist_traits< ValueSubClass > &  L2,
ilist_iterator< ValueSubClass >  first,
ilist_iterator< ValueSubClass >  last 
)

Definition at line 87 of file SymbolTableListTraitsImpl.h.

References getSymTab().


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