LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::SymbolTableListTraits< ValueSubClass > Class Template Reference

#include "llvm/IR/GlobalAlias.h"

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

Public Member Functions

 SymbolTableListTraits ()=default
 
void addNodeToList (ValueSubClass *V)
 
void removeNodeFromList (ValueSubClass *V)
 
void transferNodesFromList (SymbolTableListTraits &L2, iterator first, iterator last)
 
template<typename TPtr >
void setSymTabObject (TPtr *, TPtr)
 setSymTabObject - This is called when (f.e.) the parent of a basic block changes. More...
 

Static Public Member Functions

static ValueSymbolTabletoPtr (ValueSymbolTable *P)
 
static ValueSymbolTabletoPtr (ValueSymbolTable &R)
 
- Static Public Member Functions inherited from llvm::ilist_alloc_traits< ValueSubClass >
static void deleteNode (ValueSubClass *V)
 

Detailed Description

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

Definition at line 26 of file GlobalAlias.h.

Constructor & Destructor Documentation

◆ SymbolTableListTraits()

template<typename ValueSubClass>
llvm::SymbolTableListTraits< ValueSubClass >::SymbolTableListTraits ( )
default

Member Function Documentation

◆ addNodeToList()

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

Definition at line 64 of file SymbolTableListTraitsImpl.h.

◆ removeNodeFromList()

template<typename ValueSubClass>
void llvm::SymbolTableListTraits< ValueSubClass >::removeNodeFromList ( ValueSubClass *  V)

Definition at line 74 of file SymbolTableListTraitsImpl.h.

◆ setSymTabObject()

template<typename ValueSubClass >
template<typename TPtr >
void llvm::SymbolTableListTraits< ValueSubClass >::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 29 of file SymbolTableListTraitsImpl.h.

Referenced by llvm::BasicBlock::~BasicBlock().

◆ toPtr() [1/2]

template<typename ValueSubClass>
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass >::toPtr ( ValueSymbolTable P)
inlinestatic

Definition at line 103 of file SymbolTableListTraits.h.

◆ toPtr() [2/2]

template<typename ValueSubClass>
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass >::toPtr ( ValueSymbolTable R)
inlinestatic

Definition at line 104 of file SymbolTableListTraits.h.

◆ transferNodesFromList()

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

Definition at line 83 of file SymbolTableListTraitsImpl.h.


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