struct VariadicOperandTraits

Declaration

template <typename SubClass, unsigned int MINARITY = 0>
struct VariadicOperandTraits { /* full declaration omitted */ };

Description

VariadicOperandTraits - determine 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.

Declared at: llvm/include/llvm/IR/OperandTraits.h:68

Templates

SubClass
unsigned int MINARITY = 0

Method Overview

  • public static llvm::Use * op_begin(SubClass * U)
  • public static llvm::Use * op_end(SubClass * U)
  • public static unsigned int operands(const llvm::User * U)

Methods

static llvm::Use* op_begin(SubClass* U)

Declared at: llvm/include/llvm/IR/OperandTraits.h:69

Parameters

SubClass* U

static llvm::Use* op_end(SubClass* U)

Declared at: llvm/include/llvm/IR/OperandTraits.h:75

Parameters

SubClass* U

static unsigned int operands(const llvm::User* U)

Declared at: llvm/include/llvm/IR/OperandTraits.h:78

Parameters

const llvm::User* U