OptionalOperandTraits - when the number of operands may change at runtime. Naturally it may only decrease, because the allocations may not change.
Declared in <llvm/IR/OperandTraits.h>
template<
typename SubClass,
unsigned int ARITY = 1>
struct OptionalOperandTraits
: FixedNumOperandTraits<SubClass, ARITY>
| Name | Description |
|---|---|
FixedNumOperandTraits<SubClass, ARITY> | Traits for a compile-time-fixed prefix Use array. |
| Name | Description |
|---|---|
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. |
| Name | Description |
|---|---|
OperandTraits<GlobalVariable> | Operand layout traits for GlobalVariable. |