llvm::OptionalOperandTraits

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

Synopsis

Declared in <llvm/IR/OperandTraits.h>

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

Base Classes

NameDescription
FixedNumOperandTraits<SubClass, ARITY>Traits for a compile-time-fixed prefix Use array.

Static Member Functions

NameDescription
op_begin Return a pointer to the first operand Use for U.
op_end Return a pointer past the last operand Use for U.
operands Return the current number of operands of U.

Derived Classes

NameDescription
OperandTraits<GlobalVariable> Operand layout traits for GlobalVariable.