LLVM API Documentation

llvm::FixedNumOperandTraits< ARITY > Struct Template Reference

#include <OperandTraits.h>

Inheritance diagram for llvm::FixedNumOperandTraits< ARITY >:
[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 *)
static void * allocate (unsigned)

Classes

struct  Layout
struct  prefix


Detailed Description

template<unsigned ARITY>
struct llvm::FixedNumOperandTraits< ARITY >

FixedNumOperandTraits - determine the allocation regime of the Use array when it is a prefix to the User object, and the number of Use objects is known at compile time.

Definition at line 31 of file OperandTraits.h.


Member Function Documentation

template<unsigned ARITY>
static Use* llvm::FixedNumOperandTraits< ARITY >::op_begin ( User *  U  )  [inline, static]

Definition at line 32 of file OperandTraits.h.

template<unsigned ARITY>
static Use* llvm::FixedNumOperandTraits< ARITY >::op_end ( User *  U  )  [inline, static]

Definition at line 35 of file OperandTraits.h.

template<unsigned ARITY>
static unsigned llvm::FixedNumOperandTraits< ARITY >::operands ( const User *   )  [inline, static]

Reimplemented in llvm::OptionalOperandTraits< ARITY >, and llvm::OptionalOperandTraits< >.

Definition at line 38 of file OperandTraits.h.

template<unsigned ARITY>
static void* llvm::FixedNumOperandTraits< ARITY >::allocate ( unsigned   )  [inline, static]


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