LLVM API Documentation

Static Public Member Functions
llvm::HungoffOperandTraits< MINARITY > Struct Template Reference

#include <OperandTraits.h>

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

List of all members.

Static Public Member Functions

static Useop_begin (User *U)
static Useop_end (User *U)
static unsigned operands (const User *U)

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

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

Definition at line 97 of file OperandTraits.h.

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

Definition at line 100 of file OperandTraits.h.


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