Template metafunction to get the parent type for a symbol table list.

Synopsis

Declared in <llvm/IR/SymbolTableListTraits.h>

template<typename NodeTy>
struct SymbolTableListParentType;

Description

Implementations create a typedef called type so that we only need a single template parameter for the list and traits.

Specializations

Name

Description

SymbolTableListParentType<Argument>

Maps Argument nodes to their Function parent.

SymbolTableListParentType<BasicBlock>

Maps BasicBlock nodes to their Function parent.

SymbolTableListParentType<Function>

Maps Function nodes to their Module parent.

SymbolTableListParentType<GlobalAlias>

Maps GlobalAlias nodes to their Module parent.

SymbolTableListParentType<GlobalIFunc>

Maps GlobalIFunc nodes to their Module parent.

SymbolTableListParentType<GlobalVariable>

Maps GlobalVariable nodes to their Module parent.

SymbolTableListParentType<Instruction>

Maps Instruction nodes to their BasicBlock parent.

Created with MrDocs