llvm::VariadicOperandTraits

Traits for a prefix Use array sized at allocation time.

Synopsis

Declared in <llvm/IR/OperandTraits.h>

template<typename SubClass>
struct VariadicOperandTraits;

Description

Determines the allocation regime of the Use array when it is a prefix to the User object, and the number of Use objects is only known at allocation time.

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 number of operands of U.

Derived Classes

NameDescription
OperandTraits<CallBase> Operand layout traits for CallBase.
OperandTraits<CleanupReturnInst> Operand layout traits for CleanupReturnInst.
OperandTraits<ConstantAggregate> Operand layout traits for ConstantAggregate.
OperandTraits<ConstantExpr> Operand layout traits for ConstantExpr.
OperandTraits<FuncletPadInst> Operand layout traits for FuncletPadInst.
OperandTraits<GEPOperator> Operand layout traits for GEPOperator.
OperandTraits<GetElementPtrInst> Operand layout traits for GetElementPtrInst.
OperandTraits<ReturnInst> Operand layout traits for ReturnInst.