LLVM  8.0.1
Static Public Member Functions | List of all members
llvm::OptionalOperandTraits< SubClass, ARITY > Struct Template Reference

OptionalOperandTraits - when the number of operands may change at runtime. More...

#include "llvm/IR/OperandTraits.h"

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

Static Public Member Functions

static unsigned operands (const User *U)
 
- Static Public Member Functions inherited from llvm::FixedNumOperandTraits< SubClass, ARITY >
static Useop_begin (SubClass *U)
 
static Useop_end (SubClass *U)
 
static unsigned operands (const User *)
 

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

Member Function Documentation

◆ operands()

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

Definition at line 55 of file OperandTraits.h.


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