LLVM API Documentation
#include <BasicBlock.h>
Public Member Functions | |
Instruction * | createSentinel () const |
Return a node that marks the end of a list. | |
Instruction * | provideInitialHead () const |
Instruction * | ensureHead (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 |
Definition at line 32 of file BasicBlock.h.
Instruction* llvm::ilist_traits< Instruction >::createSentinel | ( | ) | const [inline] |
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.
Instruction* llvm::ilist_traits< Instruction >::ensureHead | ( | Instruction * | ) | const [inline] |
Definition at line 52 of file BasicBlock.h.
References llvm::ilist_sentinel_traits< NodeTy >::createSentinel().
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.
Instruction* llvm::ilist_traits< Instruction >::provideInitialHead | ( | ) | const [inline] |
Definition at line 51 of file BasicBlock.h.
References llvm::ilist_sentinel_traits< NodeTy >::createSentinel().