LLVM API Documentation
#include <OperandTraits.h>
Static Public Member Functions | |
static Use * | op_begin (User *U) |
static Use * | op_end (User *U) |
static unsigned | operands (const User *U) |
HungoffOperandTraits - determine the allocation regime of the Use array when it is not a prefix to the User object, but allocated at an unrelated heap address. Assumes that the User subclass that is determined by this traits class has an OperandList member of type User::op_iterator. [Note: this is now trivially satisfied, because User has that member for historic reasons.]
This is the traits class that is needed when the Use array must be resizable.
Definition at line 93 of file OperandTraits.h.
static Use* llvm::HungoffOperandTraits< MINARITY >::op_begin | ( | User * | U | ) | [inline, static] |
Definition at line 94 of file OperandTraits.h.
static Use* llvm::HungoffOperandTraits< MINARITY >::op_end | ( | User * | U | ) | [inline, static] |
Definition at line 97 of file OperandTraits.h.
static unsigned llvm::HungoffOperandTraits< MINARITY >::operands | ( | const User * | U | ) | [inline, static] |
Definition at line 100 of file OperandTraits.h.