LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::ilist_traits< Instruction > Struct Template Reference

#include <BasicBlock.h>

Inheritance diagram for llvm::ilist_traits< Instruction >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ilist_traits< Instruction >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

InstructioncreateSentinel () const
 Return a node that marks the end of a list.
InstructionprovideInitialHead () const
InstructionensureHead (Instruction *) const

Static Public Member Functions

static void destroySentinel (Instruction *)
 destroySentinel - deallocate the dynamic sentinel
static void noteHead (Instruction *, Instruction *)
 noteHead - stash the sentinel into its default location

Detailed Description

template<>
struct llvm::ilist_traits< Instruction >

Definition at line 32 of file BasicBlock.h.


Member Function Documentation

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 39 of file BasicBlock.h.

static void llvm::ilist_traits< Instruction >::destroySentinel ( Instruction N) [inline, static]

destroySentinel - deallocate the dynamic sentinel

Reimplemented from llvm::ilist_sentinel_traits< Instruction >.

Definition at line 49 of file BasicBlock.h.

static void llvm::ilist_traits< Instruction >::noteHead ( Instruction NewHead,
Instruction Sentinel 
) [inline, static]

noteHead - stash the sentinel into its default location

Reimplemented from llvm::ilist_sentinel_traits< Instruction >.

Definition at line 53 of file BasicBlock.h.


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