LLVM API Documentation

Static Public Member Functions
llvm::OptionalOperandTraits< SubClass, ARITY > Struct Template Reference

#include <OperandTraits.h>

Inheritance diagram for llvm::OptionalOperandTraits< SubClass, ARITY >:
Inheritance graph
[legend]
Collaboration diagram for llvm::OptionalOperandTraits< SubClass, ARITY >:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static unsigned operands (const User *U)

Detailed Description

template<typename SubClass, unsigned ARITY = 1>
struct llvm::OptionalOperandTraits< SubClass, ARITY >

OptionalOperandTraits - when the number of operands may change at runtime. Naturally it may only decrease, because the allocations may not change.

Definition at line 51 of file OperandTraits.h.


Member Function Documentation

template<typename SubClass, unsigned ARITY = 1>
static unsigned llvm::OptionalOperandTraits< SubClass, ARITY >::operands ( const User U) [inline, static]

Reimplemented from llvm::FixedNumOperandTraits< SubClass, ARITY >.

Definition at line 52 of file OperandTraits.h.


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