LLVM API Documentation

llvm::HungoffOperandTraits< MINARITY > Struct Template Reference

#include <OperandTraits.h>

Inheritance diagram for llvm::HungoffOperandTraits< MINARITY >:
[legend]

List of all members.

Static Public Member Functions

static Use * op_begin (User *U)
static Use * op_end (User *U)
static unsigned operands (const User *U)
static void * allocate (unsigned)


Detailed Description

template<unsigned MINARITY = 1>
struct llvm::HungoffOperandTraits< MINARITY >

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 102 of file OperandTraits.h.


Member Function Documentation

template<unsigned MINARITY = 1>
static Use* llvm::HungoffOperandTraits< MINARITY >::op_begin ( User *  U  )  [inline, static]

Definition at line 103 of file OperandTraits.h.

template<unsigned MINARITY = 1>
static Use* llvm::HungoffOperandTraits< MINARITY >::op_end ( User *  U  )  [inline, static]

Definition at line 106 of file OperandTraits.h.

template<unsigned MINARITY = 1>
static unsigned llvm::HungoffOperandTraits< MINARITY >::operands ( const User *  U  )  [inline, static]

Definition at line 109 of file OperandTraits.h.

template<unsigned MINARITY = 1>
static void* llvm::HungoffOperandTraits< MINARITY >::allocate ( unsigned   )  [inline, static]


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