LLVM API Documentation
#include <SymbolTableListTraits.h>
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 ValueSymbolTable * | getSymTab (ItemParentClass *Par) |
static ValueSymbolTable * | toPtr (ValueSymbolTable *P) |
static ValueSymbolTable * | toPtr (ValueSymbolTable &R) |
Definition at line 41 of file SymbolTableListTraits.h.
llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::SymbolTableListTraits | ( | ) | [inline] |
Definition at line 44 of file SymbolTableListTraits.h.
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.
static iplist<ValueSubClass>& llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::getList | ( | ItemParentClass * | Par | ) | [inline, static] |
Definition at line 56 of file SymbolTableListTraits.h.
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.
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::getSymTab | ( | ItemParentClass * | Par | ) | [inline, static] |
Reimplemented in llvm::ilist_traits< Argument >, and llvm::ilist_traits< BasicBlock >.
Definition at line 60 of file SymbolTableListTraits.h.
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.
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.
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::toPtr | ( | ValueSymbolTable * | P | ) | [inline, static] |
Definition at line 72 of file SymbolTableListTraits.h.
Referenced by llvm::SymbolTableListTraits< BasicBlock, Function >::getSymTab().
static ValueSymbolTable* llvm::SymbolTableListTraits< ValueSubClass, ItemParentClass >::toPtr | ( | ValueSymbolTable & | R | ) | [inline, static] |
Definition at line 73 of file SymbolTableListTraits.h.
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().